kaspad
kaspad copied to clipboard
Kaspad is the reference full node Kaspa implementation written in Go (golang).
Currently we only charge per ScriptPubKeyByte + ScriptPubKeyVersion, while the social cost also includes the output amount and DAA score. So: 1. Rename everywhere massPerScriptPubKeyByte to massPerUTXOEntry and any related...
Because the acceptance data might be pruned after the block was processed add acceptance data to blockInsertionResult
The currently implemented solution is as follows: * The miner regularly requests block templates from kaspad * Kaspad includes a field called IsSynced within every block template response * The...
The current situation is that the UTXO-Set only remembers the output's DAAScore. Then if the output has a time-based relative timelock, kaspad searches over the selectedParentChain to find the relevant...
Since #1787 the pruned UTXO set is applied only to staging consensus that is rollbacked for every failure. This makes the rollback-restore (e.g ClearImportedPruningPointData) of the imported pruning UTXO set...
The node should just ask its peers what is the pruning point with the most blue work, and download its antipast. As a first step the node should not validate...
Currently moving the pruning point can take minutes, we probably want it to take up to ~10 seconds on a *slow* machine. Related: #1365
BenchmarkGetPruningPointUTXOs fails on `Error building block: ErrInvalidTransactionsInNewBlock: [(27efa2bcf33a70831ce0fe36dc85c4ff35ab8cbe5daf87668ffec82894271237: ErrMissingTxOut: missing the following outpoint: [(d0a2a672aa894a748b7da29194cecadc6c00b95284a68657cde85d978706fe2e: 0)])]`
As part of #1734 part of TestHandleRelayInvs was deleted because it covered the old IBD process. TestHandleRelayInvs should be re-written to cover the whole HandleRelayInvs flow.