aboutsummaryrefslogtreecommitdiffstats
path: root/rlp
diff options
context:
space:
mode:
authorMatthew Halpern <matthalp@google.com>2019-04-25 22:24:56 +0800
committerPéter Szilágyi <peterke@gmail.com>2019-04-25 22:24:55 +0800
commit937417527cde7e5b392a5b95b85ccc185eb2aeb5 (patch)
tree489e37fb69da572990fe8c42de514bd210816b6a /rlp
parent7c91038bff21b9085f61108d75716e2d57cdca8b (diff)
downloadgo-tangerine-937417527cde7e5b392a5b95b85ccc185eb2aeb5.tar
go-tangerine-937417527cde7e5b392a5b95b85ccc185eb2aeb5.tar.gz
go-tangerine-937417527cde7e5b392a5b95b85ccc185eb2aeb5.tar.bz2
go-tangerine-937417527cde7e5b392a5b95b85ccc185eb2aeb5.tar.lz
go-tangerine-937417527cde7e5b392a5b95b85ccc185eb2aeb5.tar.xz
go-tangerine-937417527cde7e5b392a5b95b85ccc185eb2aeb5.tar.zst
go-tangerine-937417527cde7e5b392a5b95b85ccc185eb2aeb5.zip
core: lookup txs by block number instead of block hash (#19431)
* core: lookup txs by block number instead of block hash Transaction hashes now store a reference to their corresponding block number as opposed to their hash. In benchmarks this was shown to reduce storage by over 12 GB. The main limitation of this approach is that transactions on non-canonical blocks could never be looked up, however that is currently not supported. The database version has been upgraded to version 5 and the transaction lookup process is backwards-compatible with the prior two transaction lookup formats prexisting in the database instance. Tests have been added to ensure this. * core/rawdb: tiny review nit fixes
Diffstat (limited to 'rlp')
0 files changed, 0 insertions, 0 deletions