Onionr/onionr/httpapi/miscpublicapi/__init__.py

6 lines
419 B
Python
Raw Normal View History

2019-05-07 17:56:20 +00:00
from . import announce, upload, getblocks
announce = announce.handle_announce # endpoint handler for accepting peer announcements
upload = upload.accept_upload # endpoint handler for accepting public uploads
public_block_list = getblocks.get_public_block_list # endpoint handler for getting block lists
public_get_block_data = getblocks.get_block_data # endpoint handler for responding to peers requests for block data