grin/core
thaddeus 529ce44219
Override global one times. (#3737)
* Minor update for foreign api docs. Peers seems to be no longer needed as an arg in the grin_api::Foreign::new.

* This changes foreign_rpc and owner_rpc modules to public so the helper modules for the rpc clients can be accessible in external projects.

* Updated test seeds.

* Added functions that override the one time globals. This is needed for the grin-gui so it can change the global contexts when it needs to switch from testnet to mainnet.

* Refactor

* Fix panick at 'attempt to subtract with overflow' when grin-wallet sends in a start_index of 0 for new wallets.

* Fix overflow panic using saturating_sub(1).
2022-10-07 10:37:32 +01:00
..
fuzz Thiserror changeover (#3728) 2022-07-14 11:08:13 +01:00
src Override global one times. (#3737) 2022-10-07 10:37:32 +01:00
tests TUI Freeze Fix - Add manually maintained hash to difficulty iterator (#3684) 2022-01-07 14:23:58 +00:00
Cargo.toml Thiserror changeover (#3728) 2022-07-14 11:08:13 +01:00