darc.proxy.script.save_script(link)[source]

Save JavaScript link.

The function will save JavaScript link to the file as defined in PATH.

Parameters

link (Link) – Link object representing the JavaScript link.

Return type

None

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

Path to the data storage of bitcoin addresses.

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

I/O lock for saving JavaScript links PATH.