Skip to content

Commit

Permalink
Release 0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
ixje committed Aug 2, 2021
1 parent c7d6928 commit 48eb623
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 15 deletions.
6 changes: 3 additions & 3 deletions docs/source/tutorial/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ Let's get to it!
async def run_neo():
# set network magic to NEO TestNet
settings.network.magic = 844378958
settings.network.magic = 877933390
# add a node to test against
settings.network.seedlist = ['seed1t.neo.org:20333']
settings.network.seedlist = ['seed1.neo.org:20333']
# listen to the connection events broad casted by the node manager
msgrouter.on_client_connect_done += connection_done
Expand Down Expand Up @@ -209,7 +209,7 @@ The :code:`run_neo()` function should be self-explanatory.
settings.network.magic = 844378958
# add a node to test against
settings.network.seedlist = ['seed1t.neo.org:20333']
settings.network.seedlist = ['seed1.neo.org:20333']
We start by configuring the network magic. This is a special number identifying the Main network, test network or even a privat network. It is shared and validated during the first connection to the network and will disconnect nodes if there is a mismatch. The seedlist is consulted by the node manager as the first entry point to connect to the network by the code.

Expand Down
13 changes: 13 additions & 0 deletions docs/source/whatsnew/0.9.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.. _whatsnew-v09:

*****************************
What's New in neo-mamba 0.9
*****************************

:Author: Erik van den Brink

RC4 compatability
=================

This release catches up with all RC4 changes done in the C# core project.
This version is compatible with formal TestNet (Neo v3.0.0)
3 changes: 2 additions & 1 deletion docs/source/whatsnew/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ This chapter describes the most important changes between the neo-mamba versions
0.5.rst
0.6.rst
0.7.rst
0.8.rst
0.8.rst
0.9.rst
29 changes: 22 additions & 7 deletions examples/basic_node.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
Neo-mamba v0.7 Basic node example
NEO-RC2 compatible
Neo-mamba v0.9 Basic node example
Formal NEO3 Testnet compatible
"""
from __future__ import annotations
import asyncio
Expand All @@ -21,18 +21,33 @@ def enable_network_logging():


async def main():
# Configure network to RC2 TestNet
# Values are taken from config.json on the neo-cli github repo
settings.network.magic = 844378958
settings.network.seedlist = ['seed1t.neo.org:20333']
# Configure network to Format TestNet
# Values are taken from config.testnet.json on the neo-node github repo
# https://github.com/neo-project/neo-node/tree/master/neo-cli
settings.network.magic = 877933390
settings.network.seedlist = ['seed1.neo.org:20333']
settings.network.standby_committee = [
"023e9b32ea89b94d066e649b124fd50e396ee91369e8e2a6ae1b11c170d022256d",
"03009b7540e10f2562e5fd8fac9eaec25166a58b26e412348ff5a86927bfac22a2",
"02ba2c70f5996f357a43198705859fae2cfea13e1172962800772b3d588a9d4abd",
"03408dcd416396f64783ac587ea1e1593c57d9fea880c8a6a1920e92a259477806",
"02a7834be9b32e2981d157cb5bbd3acb42cfd11ea5c3b10224d7a44e98c5910f1b",
"0214baf0ceea3a66f17e7e1e839ea25fd8bed6cd82e6bb6e68250189065f44ff01",
"030205e9cefaea5a1dfc580af20c8d5aa2468bb0148f1a5e4605fc622c80e604ba"
"030205e9cefaea5a1dfc580af20c8d5aa2468bb0148f1a5e4605fc622c80e604ba",
"025831cee3708e87d78211bec0d1bfee9f4c85ae784762f042e7f31c0d40c329b8",
"02cf9dc6e85d581480d91e88e8cbeaa0c153a046e89ded08b4cefd851e1d7325b5",
"03840415b0a0fcf066bcc3dc92d8349ebd33a6ab1402ef649bae00e5d9f5840828",
"026328aae34f149853430f526ecaa9cf9c8d78a4ea82d08bdf63dd03c4d0693be6",
"02c69a8d084ee7319cfecf5161ff257aa2d1f53e79bf6c6f164cff5d94675c38b3",
"0207da870cedb777fceff948641021714ec815110ca111ccc7a54c168e065bda70",
"035056669864feea401d8c31e447fb82dd29f342a9476cfd449584ce2a6165e4d7",
"0370c75c54445565df62cfe2e76fbec4ba00d1298867972213530cae6d418da636",
"03957af9e77282ae3263544b7b2458903624adc3f5dee303957cb6570524a5f254",
"03d84d22b8753cf225d263a3a782a4e16ca72ef323cfde04977c74f14873ab1e4c",
"02147c1b1d5728e1954958daff2f88ee2fa50a06890a8a9db3fa9e972b66ae559f",
"03c609bea5a4825908027e4ab217e7efc06e311f19ecad9d417089f14927a173d5",
"0231edee3978d46c335e851c76059166eb8878516f459e085c0dd092f0f1d51c21",
"03184b018d6b2bc093e535519732b3fd3f7551c8cffaf4621dd5a0b89482ca66c9"
]
settings.network.validators_count = 7

Expand Down
2 changes: 1 addition & 1 deletion neo3/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from neo3.core import cryptography
from .singleton import _Singleton

version = '0.8'
version = '0.9'

core_logger = logging.getLogger('neo3.core')
network_logger = logging.getLogger('neo3.network')
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ coverage>=5.0.2
Events==0.3
lz4==2.2.1
neo3crypto==0.2
neo3vm>=0.8.1
neo3vm-stubs>=0.8.1
neo3vm>=0.8.2
neo3vm-stubs>=0.8.2
mmh3==2.5.1
mypy>=0.782
mypy-extensions==0.4.3
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def run(self):
setup(
name='neo-mamba',
python_requires='==3.8.*',
version='0.8',
version='0.9',
description="Python SDK for the NEO 3 blockchain",
long_description=readme,
long_description_content_type="text/x-rst",
Expand Down

0 comments on commit 48eb623

Please sign in to comment.