Commit Graph
324 Commits
Author SHA1 Message Date
ef3fadbd24 Implement fee inclusive transactions (#657)
* Add amount_includes_fee option in TX building

* Add --amount_includes_fee CLI option

* Implement send 'max' amount

Co-authored-by: cliik <cliik@example.com>
2022-07-26 10:15:53 +01:00
7b1eab62b1 Show QR code for listener address (#650)
Co-authored-by: cliik <cliik@example.com>
2022-07-12 10:48:45 +01:00
David TavarezandGitHub b45802aa6b Do not prompt for password to start owner API (#656)
* Do not prompt for password to start owner API

It makes no sense to ask for the password if one only wants to initialize the APIs. Asking for the password makes things unnecessarily difficult and insecure in case I, as a system administrator, want to have the APIs running as a system service.

* Update wallet_args.rs

* Update wallet_args.rs

opening wallet if password argument is present

* Update wallet_args.rs
2022-07-12 10:32:43 +01:00
95bb4c477e Show slatepack QR codes (#655)
* Show slatepack QR codes

* Make slatepack QR codes optional

Co-authored-by: cliik <cliik@example.com>
2022-07-12 10:32:26 +01:00
Quentin Le ScellerandGitHub 407f7df111 Fix macOS CI tests (#652)
* Remove LLVM removal for macOS build
2022-06-30 16:49:22 +02:00
yeastplume 3302d3d9cb update version numbering for next potential release 2022-03-22 14:29:03 +00:00
YeastplumeandGitHub fa39fca201 updates to ensure compilation against grin 5.0.2 (#644) 2022-03-21 10:45:53 +00:00
YeastplumeandGitHub cecb084753 add missing comment for config file value, used during migration (#642) 2022-02-18 10:36:16 +00:00
scilioandGitHub 2924a0ddb2 Add 'build_output' endpoint to owner api (#641)
* add 'build_output' endpoint to owner api

* merge fix
2022-02-18 10:06:04 +00:00
deevopeandGitHub c424a0ed10 TOR bridge + TOR Proxy + migration config_file_version (#617)
* tor bridge config and args

* migration `config_file_version=2`

* small fixes typo, comment etc..

* support: snowflake, meek_lite, obsf4 and tor proxy

* remove useless serde

* improve migrate function

* few fixes

* add bridge flags to pay and receive + few fixes

* some improvements
2022-02-03 15:33:41 +00:00
YeastplumeandGitHub f5dbed2014 fixes related to recent tokio changes (#640) 2022-01-17 09:33:08 +00:00
SheldonandGitHub 4c81e4a693 Fix socks5 proxy support (#629) 2021-12-31 10:19:34 +00:00
YeastplumeandGitHub 34d23eb17a PIBD Test Set Generation test (#628)
* add test to build chain with transaction data

* tweaks to test, add again
2021-12-14 15:47:01 +00:00
deevopeandGitHub d70423af57 View Wallet - fn rewind_hash & scan_rewind_hash (#632)
* fn rewind_hash & scan_rewind_hash

* update comments

* update doctest
2021-12-14 12:23:17 +00:00
YeastplumeandGitHub b425107368 pmmr indexing related fix for get_outputs_by_pmmr_index function (#633) 2021-12-14 11:51:20 +00:00
deevopeandGitHub 041b182fcc latest master and ser&des update fn arguments (#631) 2021-12-13 15:53:46 +00:00
YeastplumeandGitHub 1f35feed00 Update Cargo.lock from latest master, update age library to 0.7 (#625)
* Update cargo lock and introduce changes for update to age library

* update bech32 prefix
2021-11-13 12:19:32 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8547f4a162 Bump lodash from 4.17.19 to 4.17.21 in /doc/samples/v3_api_node (#611)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-28 10:04:48 -04:00
GeneFerneauandGitHub 1dd85690a1 Update lexical-core dependency (#621)
Fixes breaking builds on Rust stable 1.53.0+
2021-06-28 10:04:27 -04:00
GeneFerneauandGitHub ba9a4982df Fix documentation warning for Slate::msg_to_sign (#616) 2021-05-19 15:02:17 -04:00
GeneFerneauandGitHub 18361dabd3 Fix deprecated use of RPC trait object without dyn (#615)
Adds dyn keyword to OwnerRpc and ForeignRpc trait objects

Fixes deprecation warning
2021-05-19 14:39:05 -04:00
John TrompandGitHub b7f587f2b3 remove height argument from fee related functions as per fixpastfees RFC (#602)
* remove height argument from fee related functions as per fixpastfees RFC

* Cargo.lock updated from cargo update -p grin_core
2021-05-19 14:27:42 -04:00
Quentin Le ScellerandGitHub 83fd8ffc86 Replace custom hyper client with reqwest (#593)
* [DNM] Replace custom hyper client with reqwest

* Fix runtime error
2021-05-04 11:13:38 -04:00
trevynandGitHub bdc5bd748a Use remove_dir_all crate for more robust Windows CI (#604)
* Use `remove_dir_all` 0.7 in tests only
2021-04-08 09:45:52 -04:00
trevynandGitHub 5ccca2d231 Fix Windows CI cargo test silently passing (#603)
* Fix Windows CI

* move cargo clean to be consistent with node
2021-04-07 11:09:44 -04:00
trevynandGitHub 5189de5a0e Bubble init_send_tx error instead of unwrapping (#600)
Fixes #582
2021-04-07 10:24:16 -04:00
trevynandGitHub e9e67884d6 Sync to latest grin master and fix missing verifier_cache (#599)
* Sync to latest grin master and fix missing verifier_cache

* Copy CI fixes from grin master
2021-04-05 10:14:10 +01:00
goyleandGitHub f7c65c7b84 Change to proper spelling of Tor (#598)
* Change to proper spelling of Tor

* Change to proper spelling of Tor
2021-04-02 08:45:51 -04:00
trevynandGitHub a88a522f84 Clippy easy wins 1 (#596) 2021-03-17 10:51:53 -04:00
Quentin Le ScellerandGitHub 4e4880be8e Update copyright license year to 2021 (#587) 2021-03-05 13:30:51 -05:00
687118541d Fix owner API scan (#591)
Co-authored-by: jaspervdm <j@sper.dev>
2021-03-05 13:30:13 -05:00
Quentin Le ScellerandGitHub 594f4cc8ba Fix comment about deprecated method (#590) 2021-03-05 13:29:33 -05:00
563b456e47 Fix panic when calling certain API endpoints (#589)
* Detect if already in runtime context

* Add comment

Co-authored-by: jaspervdm <j@sper.dev>
2021-03-05 13:29:08 -05:00
712101bba2 replace .api_secret to .foreign_api_secret (#588)
Co-authored-by: deevope <69693985+deevope@users.noreply.github.com>
2021-03-05 13:28:47 -05:00
b3d4d038a5 Changed pub_nonce_sum and msg_to_sign to be public functions (#557)
* [Dev] changed pub_nonce_sume to be public

* [Dev] made msg_to_sign public to be able to create signatures outside of
slate.rs

Co-authored-by: Jakob <jakob.abfalter@brex.io>
2021-03-05 13:12:08 -05:00
Quentin Le ScellerandGitHub b4abb5921e [5.0.x] Fix doctest (#578) (#592)
* Temp fix for CI
2021-03-05 12:13:19 -05:00
John TrompandGitHub a4c82b99d2 fix yet another instance of fee fields at height 0 (#538) 2021-03-01 14:29:55 +00:00
David BurkettandGitHub 42a2ee0302 Downgrade to ubuntu-18.04 (#562) 2021-01-05 08:48:52 +00:00
jaspervdmandGitHub 782dd8c29b Fix error when estimating fees for selection strategies (#545) 2020-12-16 15:18:55 +01:00
jaspervdmandGitHub f4f4184283 Use global Tokio runtime (#543) 2020-12-15 21:09:19 +01:00
Antioch PeverellandGitHub 92c5918e42 post late locked tx and assert amount on both wallets (#542)
cleanup wallet account setup
2020-12-11 09:45:15 -05:00
jaspervdmandGitHub 78960015fc Bump master version to 5.1.0-alpha.1 (#536)
* Bump version to 5.0.0-beta.1

* Bump version to 5.1.0-alpha.1

* Switch to grin master
2020-12-01 14:48:07 +01:00
deevopeandGitHub c3481a3009 remove api_listen_interface from comment - unused (#537) 2020-12-01 14:09:37 +01:00
8334304c16 fixfees on grin-wallet (#526)
* change fee to fee_fields in various structs and fix tests for new fee calculation

* set up accept_fee_base param in grin-wallet.toml

* fix bug and adopt new tx_fee interface

* Fix doctests

* Remove left over debug statement

* revert field name feef to fee to remain slate compatible

* use into() for some literal fee_fields

* add height arguments to FeeFields methods where necessary

* Fix tests

* Rename fee_fields -> fee on Context

* Rename fee_fields -> fee on TxLogEntry

* Update to grin master

* replace fee(0) by fee(2*YEAR_HEIGHT) to get fee masking

* Fix compilation error and revert Cargo lock

* fix wrong height passed into next_difficulty

Co-authored-by: Jasper van der Maarel <j@sper.dev>
2020-11-26 20:46:03 +01:00
jaspervdmandGitHub 429db61bb7 Deprecate HTTP(S) (#532)
* Deprecate HTTP(S)

* Remove http support altogether
2020-11-26 16:21:20 +01:00
Antioch PeverellandGitHub de6a6ad19f call refreshenv as part of windows test script (#534) 2020-11-25 15:04:49 +00:00
Antioch PeverellandGitHub 01981ad1c1 default to smallest strategy for paying invoices (#531) 2020-11-19 12:38:43 +00:00
jaspervdmandGitHub a83f92dfd3 Late locking (experimental) (#530)
* Late locking (experimental)

* Error on fee change

* Improve comments

* Fix typo in comment

* Add late locking flag to CLI command
2020-11-19 12:54:49 +01:00
Quentin Le ScellerandGitHub c0e68ec3ea Rename Floonet to Testnet (#521)
* Replace floonet by testnet

* Update Cargo.lock
2020-10-08 10:00:01 -04:00
Antioch PeverellandGitHub 7f5c010fed fix our lmdb iter usage to work with changes in grin (#522) 2020-10-07 20:08:30 -04:00