eth-cache

Ethereum chain data caching tools
Info | Log | Files | Refs | LICENSE

__init__.py (257B)


      1 # standard imports
      2 import enum
      3 
      4 
      5 class StoreAction(enum.Enum):
      6     BLOCK = 'block/src'
      7     BLOCK_NUM = 'block/num'
      8     BLOCK_HASH = 'block/hash'
      9     TX = 'tx/src'
     10     TX_RAW = 'tx/raw'
     11     RCPT = 'rcpt/src'
     12     RCPT_RAW = 'rcpt/raw'
     13     ADDRESS = 'address'