kaspanet / rusty-kaspa

Kaspa full-node reference implementation and related libraries in the Rust programming language
ISC License
442 stars 144 forks source link

TN11 -- various fixes concluded from ongoing internal experiment #320

Closed michaelsutton closed 10 months ago

michaelsutton commented 10 months ago

Partial list:

  1. Bump version to 0.13.0 which is higher in order than current kaspad-go version (important for miners/tools who rely on node version for selecting the GRPC version)
  2. Make RPC submit block not wait for virtual processing and fix corresponding tests which assume it does
  3. IBD: fix fetch relay block past to include blocks in future(sink)
  4. IBD: update pending relay block to the latest block, this should shorten the usual IBD loop when syncing a node (loop meaning there is a long IBD followed by a shorter one and so on until it decays and the node finally syncs; with this change it should decay faster)
  5. IBD: syncer: fill DAG gaps in trusted blocks set; syncee: verify all blocks w/o body are in pruning point past