Zebra/zebra-state/src
teor dcf30679bf
fix(rpc): Calculate getblocktemplate RPC testnet min and max times correctly (#5925)
* Clean up some getblocktemplate difficulty code and tests

* Fix minimum difficulty adjustment

* Use clamp rather than max/min

Co-authored-by: Arya <aryasolhi@gmail.com>

* Remove unused imports

* Document the Zebra-specific standard rule that allows testnet miners time to mine a block

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Arya <aryasolhi@gmail.com>
2023-01-17 07:08:43 +00:00
..
service fix(rpc): Calculate getblocktemplate RPC testnet min and max times correctly (#5925) 2023-01-17 07:08:43 +00:00
tests change(state): Write non-finalized blocks to the state in a separate thread, to avoid network and RPC hangs (#5257) 2022-10-11 19:25:45 +00:00
arbitrary.rs change(mempool) reject transactions with spent outpoints or nullifiers (#5434) 2022-10-24 19:48:45 +00:00
config.rs feat(state): delete old database directories (#4586) 2022-06-21 00:59:51 +00:00
constants.rs fix(testnet): look back up to 10,000 blocks on testnet for a legacy chain (#5133) 2022-09-20 11:31:24 +00:00
error.rs change(mempool): Contextually validates mempool transactions in best chain (#5716) 2022-11-30 04:40:15 +00:00
lib.rs feat(rpc): populate some getblocktemplate RPC block header fields using the state best chain tip (#5659) 2022-11-28 09:06:32 +00:00
request.rs change(rpc): Add proposal capability to getblocktemplate (#5870) 2023-01-11 23:39:51 +00:00
response.rs fix(rpc): Calculate getblocktemplate RPC testnet min and max times correctly (#5925) 2023-01-17 07:08:43 +00:00
service.rs change(rpc): Add proposal capability to getblocktemplate (#5870) 2023-01-11 23:39:51 +00:00
tests.rs 1. change(state): Run most StateService read requests without shared mutable chain state (#5132) 2022-09-14 00:35:37 +00:00