Ethereum Addresses

The darc.proxy.ethereum module contains the auxiliary functions around managing and processing the ethereum addresses.

Currently, the darc project directly save the ethereum addresses extracted to the data storage file PATH without further processing.

darc.proxy.ethereum.save_ethereum(link)[source]

Save ethereum address.

The function will save ethereum address to the file as defined in PATH.

Parameters

link (Link) – Link object representing the ethereum address.

Return type

None

darc.proxy.ethereum.PATH = '{PATH_MISC}/ethereum.txt'

Path to the data storage of ethereum addresses.

darc.proxy.ethereum.LOCK: Union[multiprocessing.Lock, threading.Lock, contextlib.nullcontext]

I/O lock for saving ethereum addresses PATH.