erigon icon indicating copy to clipboard operation
erigon copied to clipboard

New index txhash -> txnum or its variation

Open JkLondon opened this issue 1 year ago • 0 comments

Rationale

In case of transaction granularity usage we need index that would provide us txnum by only hash (now we only have txhash->blocknum from e2)

Implementation

There are some variants:

  • make new index hash -> txnum
  • change existing index to something like hash->txnum,blocknum

It would provide us a way to implement #12343 etc

JkLondon avatar Oct 18 '24 08:10 JkLondon