+ added secrets.py

* work on communicator2, syncing blocks
* modify insertblock to use new pow metadata (may need more work for new
spec)
This commit is contained in:
Kevin Froman 2018-06-16 15:54:56 -05:00
parent a4824d9b8c
commit 7864677498
No known key found for this signature in database
GPG key ID: 0D414D0FE405B63B
5 changed files with 391 additions and 33 deletions

View file

@ -42,7 +42,7 @@ except ImportError:
ONIONR_TAGLINE = 'Anonymous P2P Platform - GPLv3 - https://Onionr.VoidNet.Tech'
ONIONR_VERSION = '0.1.0' # for debugging and stuff
ONIONR_VERSION_TUPLE = tuple(ONIONR_VERSION.split('.')) # (MAJOR, MINOR, VERSION)
API_VERSION = '2' # increments of 1; only change when something fundemental about how the API works changes. This way other nodes knows how to communicate without learning too much information about you.
API_VERSION = '3' # increments of 1; only change when something fundemental about how the API works changes. This way other nodes knows how to communicate without learning too much information about you.
class Onionr:
def __init__(self):