Commit Graph
15 Commits
Author SHA1 Message Date
ardocratandGitHub 930a44d456 http: provide proxy on node client creation (#738) 2025-06-18 16:01:06 +01:00
YeastplumeandGitHub 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
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
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
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
jaspervdmandGitHub f4f4184283 Use global Tokio runtime (#543) 2020-12-15 21:09:19 +01:00
YeastplumeandGitHub 3edd410e19 change hyper-socks2-mw to versioned crate (#425) 2020-06-03 14:31:19 +01:00
jaspervdmandGitHub b56afda5f9 Fix compilation issues (#344) 2020-02-24 22:39:32 +01:00
Jasper van der Maarel 8ca3f9994b Update hyper/tokio/futures dependencies 2020-02-24 16:20:14 +01:00
YeastplumeandGitHub b2c973fd0b Cargo update (#337) 2020-02-18 10:23:33 +00:00
jaspervdmandGitHub 4774704aeb Shutdown runtime after task is completed (#331)
* Use current thread for tokio runtime

* Use single thread runtime with shutdown
2020-02-14 09:57:39 +00:00
YeastplumeandGitHub 4bb0398e21 Convert node client to use V2 Node API (#329)
* add beginnings of jsonrpc node client, get_chain_tip implementation

* version info and outputs from node

* return async split up of get_output requests

* add and test get kernel functionality

* height range to pmmr indices

* test fixes

* outputs by pmmr index
2020-02-14 09:16:43 +00:00
Quentin Le ScellerandGitHub 1116bc5545 Less cloning and additional pattern simplifications (#326)
* API cleanup

* Config cleanup

* Impl cleanup

* Libwallet cleanup

* Additionnal simplification
2020-02-07 09:39:56 +00:00
YeastplumeandGitHub b4eeb50c66 Optional Tor Send/Listen Functionality (#226)
* udpate for beta release

* initial tor explorations

* rustfmt

* basic tor tx send working

* rustfmt

* add tor proxy info to config file

* rustfmt

* add utilities to output tor hidden service configuration files

* output tor config as part of listener startup

* rustfmt

* fully automate config and startup of tor process

* rustfmt

* remove unnecessary process kill commands from listener

* rustfmt

* assume defaults for tor sending config if section doesn't exist in grin-wallet.toml

* rustfmt

* ignore tor dev test

* update default paths output by config, compilation + confirmed working on windows

* rustfmt

* fix on osx/unix

* add timeout to tor connector, remove unwrap in client

* allow specifiying tor address without 'http://[].onion' on the command line

* fix api test

* rustfmt

* update address derivation path as per spec

* rustfmt

* move tor init to separate function

* rustfmt

* re-ignore tor dev test

* listen on tor by default if tor available

* rustfmt

* test fix

* remove explicit send via tor flag, and assume tor if address fits

* rustfmt
2019-10-14 20:24:09 +01:00