aboutsummaryrefslogtreecommitdiff
path: root/src/device/device_ledger.cpp
diff options
context:
space:
mode:
authorjeffro256 <jeffro256@tutanota.com>2025-03-17 09:31:47 -0500
committerjeffro256 <jeffro256@tutanota.com>2025-03-19 23:25:48 -0500
commitc7f01e57f5a86331b38e5cded4488bec46bb2e6f (patch)
treec4ad6e151f3a39f9188383a138dfee518374189a /src/device/device_ledger.cpp
parent88a5d076822f39cdd897d3f962346f30e4901244 (diff)
downloadmonzero-core-c7f01e57f5a86331b38e5cded4488bec46bb2e6f.tar.gz
monzero-core-c7f01e57f5a86331b38e5cded4488bec46bb2e6f.tar.xz
monzero-core-c7f01e57f5a86331b38e5cded4488bec46bb2e6f.zip
Blockchain: remove skip for pruned txs in `check_tx_inputs()`
I can't see how this would trigger in the current codebase, so it's not a *current* safety issue, but I can very well see it becoming on in the future if downstream code doesn't handle the passing of pruned transactions correctly. I think the safe/good choice would be to remove this skip now that all transactions that pass into the mempool are supposed to be unpruned. And for all in-block txs, `check_tx_inputs()` isn't called for checkpointed blocks, and we sync pruned blocks only if syncing checkpointed blocks.
Diffstat (limited to 'src/device/device_ledger.cpp')
0 files changed, 0 insertions, 0 deletions