grin/util/src
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
..
file.rs Update copyright year to 2021 (#3592) 2021-03-10 10:14:48 -05:00
hex.rs Update copyright year to 2021 (#3592) 2021-03-10 10:14:48 -05:00
lib.rs Override global one times. (#3737) 2022-10-07 10:37:32 +01:00
logger.rs Update copyright year to 2021 (#3592) 2021-03-10 10:14:48 -05:00
macros.rs Update copyright year to 2021 (#3592) 2021-03-10 10:14:48 -05:00
rate_counter.rs Update copyright year to 2021 (#3592) 2021-03-10 10:14:48 -05:00
secp_static.rs Update copyright year to 2021 (#3592) 2021-03-10 10:14:48 -05:00
types.rs Update copyright year to 2021 (#3592) 2021-03-10 10:14:48 -05:00
zip.rs Update zip dependency and fix deprecation warnings (#3617) 2021-04-13 22:20:21 +01:00