4
0
mirror of git://holbrook.no/eth-monitor.git synced 2024-11-19 03:06:47 +01:00
eth-monitor/eth_monitor/store/null.py

24 lines
352 B
Python

# standard imports
import os
import logging
import json
logg = logging.getLogger(__name__)
class NullStore:
def put_tx(self, tx, include_data=False):
pass
def put_block(self, block, include_data=False):
pass
def __init__(self):
self.chain_dir = '/dev/null'
def __str__(self):
return "Nullstore"