Commit Graph

334 Commits

Author SHA1 Message Date
Yeastplume 1188f3287d add doctest exercising advanced query JSON API 2022-11-29 09:30:45 +00:00
Yeastplume 13b1fc8e01 addition of tx statuses to sort fields, fixes to total amount queries, inclusion of bigint, addition of unit tests to exercise filtering 2022-11-28 15:10:29 +00:00
Yeastplume d29b64248a rename filter test 2022-11-28 09:10:37 +00:00
Yeastplume 806aa985d7 added transaction filtering implementation, addition of internal libwallet test to be filled out 2022-11-23 15:36:42 +00:00
Yeastplume cd3203be23 update transaction
api calls throughout
2022-11-22 13:25:44 +00:00
Yeastplume 746c1831c5 add query pagination options struct 2022-11-22 12:04:17 +00:00
Yeastplume 8384a3ebb0 Remove grin lib re-exports from util crate (#661)
* updated util and libwallet with thiserror

* update impl crate to thiserror

* api crate converted to thiserror

* update of controller crate to thiserror

* update final bin + tests to thiserror

* update unused import

* remove failure derive

* reset import of grin to master

* update cargo lock

* update from master

* remove grin libs re-export from util crate :(

* temp local

* point code at bleeding edge grin master branch
2022-08-08 12:08:25 +01:00
Yeastplume 64cab53b1b Replace failure with thiserror (#654)
* updated util and libwallet with thiserror

* update impl crate to thiserror

* api crate converted to thiserror

* update of controller crate to thiserror

* update final bin + tests to thiserror

* update unused import

* remove failure derive

* reset import of grin to master

* update cargo lock

* update from master
2022-07-28 10:21:45 +01:00
Rodion Stetsurin 67f0e2b0e0 Remove method from grin-wallet.yml and keybase.rs from adapters (#658)
* Remove method from grin-wallet.yml and keybase.rs from adapters

* Remove keybase_notify_ttl from config

* Remove keybase_notify_ttl from config

* Fix tests

Co-authored-by: rstetsurin <rstetsurin@coinloan.io>
2022-07-26 10:19:46 +01:00
cliik a3687c69a8 Add option to limit number of TXs shown (#660)
Co-authored-by: cliik <cliik@example.com>
2022-07-26 10:16:47 +01:00
cliik 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
cliik 7b1eab62b1 Show QR code for listener address (#650)
Co-authored-by: cliik <cliik@example.com>
2022-07-12 10:48:45 +01:00
David Tavarez 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
cliik 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 Sceller 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
Yeastplume fa39fca201 updates to ensure compilation against grin 5.0.2 (#644) 2022-03-21 10:45:53 +00:00
Yeastplume cecb084753 add missing comment for config file value, used during migration (#642) 2022-02-18 10:36:16 +00:00
scilio 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
deevope 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
Yeastplume f5dbed2014 fixes related to recent tokio changes (#640) 2022-01-17 09:33:08 +00:00
Sheldon 4c81e4a693 Fix socks5 proxy support (#629) 2021-12-31 10:19:34 +00:00
Yeastplume 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
deevope 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
Yeastplume b425107368 pmmr indexing related fix for get_outputs_by_pmmr_index function (#633) 2021-12-14 11:51:20 +00:00
deevope 041b182fcc latest master and ser&des update fn arguments (#631) 2021-12-13 15:53:46 +00:00
Yeastplume 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] 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
GeneFerneau 1dd85690a1 Update lexical-core dependency (#621)
Fixes breaking builds on Rust stable 1.53.0+
2021-06-28 10:04:27 -04:00
GeneFerneau ba9a4982df Fix documentation warning for Slate::msg_to_sign (#616) 2021-05-19 15:02:17 -04:00
GeneFerneau 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 Tromp 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 Sceller 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
trevyn 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
trevyn 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
trevyn 5189de5a0e Bubble init_send_tx error instead of unwrapping (#600)
Fixes #582
2021-04-07 10:24:16 -04:00
trevyn 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
goyle 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
trevyn a88a522f84 Clippy easy wins 1 (#596) 2021-03-17 10:51:53 -04:00
Quentin Le Sceller 4e4880be8e Update copyright license year to 2021 (#587) 2021-03-05 13:30:51 -05:00
Quentin Le Sceller 687118541d Fix owner API scan (#591)
Co-authored-by: jaspervdm <j@sper.dev>
2021-03-05 13:30:13 -05:00
Quentin Le Sceller 594f4cc8ba Fix comment about deprecated method (#590) 2021-03-05 13:29:33 -05:00
Quentin Le Sceller 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
Quentin Le Sceller 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
Jakob Abfalter 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 Sceller b4abb5921e [5.0.x] Fix doctest (#578) (#592)
* Temp fix for CI
2021-03-05 12:13:19 -05:00
John Tromp a4c82b99d2 fix yet another instance of fee fields at height 0 (#538) 2021-03-01 14:29:55 +00:00
David Burkett 42a2ee0302 Downgrade to ubuntu-18.04 (#562) 2021-01-05 08:48:52 +00:00
jaspervdm 782dd8c29b Fix error when estimating fees for selection strategies (#545) 2020-12-16 15:18:55 +01:00
jaspervdm f4f4184283 Use global Tokio runtime (#543) 2020-12-15 21:09:19 +01:00