kaspad icon indicating copy to clipboard operation
kaspad copied to clipboard

Add RPC method to fetch the virtual UTXO set

Open someone235 opened this issue 4 years ago • 1 comments

  • Implement GetVirtualUTXOSet(expectedVirtualParentHashes *DomainHash, fromOutpoint *DomainOutpoint, limit int) ([]*OutpointAndUTXOEntryPair, error) that will work like GetPruningPointUTXOs.
  • Implement startP2PFlows and stopP2PFlows RPC commands.
  • Add the virtual UTXO diff and the virtual parent hashes to BlockInsertionResult, and forward them as RPC notification.
  • Add GetVirtualUTXOSet RPC command with similar signature, and make sure that the P2P flows are stopped when it's called.

someone235 avatar Feb 17 '21 11:02 someone235

This should take approximately 3 days

elichai avatar Mar 04 '21 13:03 elichai