grin/servers
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
..
src Override global one times. (#3737) 2022-10-07 10:37:32 +01:00
Cargo.toml bump to 5.2.0-alpha.1 on master (#3652) 2021-08-19 09:06:52 +02:00