diff --git a/.docker/alpha/az.json b/.docker/alpha/az.json new file mode 100644 index 000000000..5eca615c5 --- /dev/null +++ b/.docker/alpha/az.json @@ -0,0 +1,80 @@ +{ + "version": "1.0", + "accounts": [ + { + "address": "Nhfg3TbpwogLvDGVvAvqyThbsHgoSUKwtn", + "key": "6PYM8VdX2BSm7BSXKzV4Fz6S3R9cDLLWNrD9nMjxW352jEv3fsC8N3wNLY", + "label": "single", + "contract": { + "script": "DCECs2Ir9AF73+MXxYrtX0x1PyBrfbiWBG+n13S7xL9/jcJBVuezJw==", + "parameters": [ + { + "name": "parameter0", + "type": "Signature" + } + ], + "deployed": false + }, + "lock": false, + "isDefault": false + }, + { + "address": "NVTiAjNgagDkTr5HTzDmQP9kPwPHN5BgVq", + "key": "6PYM8VdX2BSm7BSXKzV4Fz6S3R9cDLLWNrD9nMjxW352jEv3fsC8N3wNLY", + "label": "committee", + "contract": { + "script": "EwwhAhA6f33QFlWFl/eWDSfFFqQ5T9loueZRVetLAT5AQEBuDCECp7xV/oaE4BGXaNEEujB5W9zIZhnoZK3SYVZyPtGFzWIMIQKzYiv0AXvf4xfFiu1fTHU/IGt9uJYEb6fXdLvEv3+NwgwhA9kMB99j5pDOd5EuEKtRrMlEtmhgI3tgjE+PgwnnHuaZFEGe0Nw6", + "parameters": [ + { + "name": "parameter0", + "type": "Signature" + }, + { + "name": "parameter1", + "type": "Signature" + }, + { + "name": "parameter2", + "type": "Signature" + } + ], + "deployed": false + }, + "lock": false, + "isDefault": false + }, + { + "address": "NVTiAjNgagDkTr5HTzDmQP9kPwPHN5BgVq", + "key": "6PYM8VdX2BSm7BSXKzV4Fz6S3R9cDLLWNrD9nMjxW352jEv3fsC8N3wNLY", + "label": "consensus", + "contract": { + "script": "EwwhAhA6f33QFlWFl/eWDSfFFqQ5T9loueZRVetLAT5AQEBuDCECp7xV/oaE4BGXaNEEujB5W9zIZhnoZK3SYVZyPtGFzWIMIQKzYiv0AXvf4xfFiu1fTHU/IGt9uJYEb6fXdLvEv3+NwgwhA9kMB99j5pDOd5EuEKtRrMlEtmhgI3tgjE+PgwnnHuaZFEGe0Nw6", + "parameters": [ + { + "name": "parameter0", + "type": "Signature" + }, + { + "name": "parameter1", + "type": "Signature" + }, + { + "name": "parameter2", + "type": "Signature" + } + ], + "deployed": false + }, + "lock": false, + "isDefault": false + } + ], + "scrypt": { + "n": 16384, + "r": 8, + "p": 8 + }, + "extra": { + "Tokens": null + } +} \ No newline at end of file diff --git a/.docker/alpha/buky.json b/.docker/alpha/buky.json new file mode 100644 index 000000000..4fbb6aa54 --- /dev/null +++ b/.docker/alpha/buky.json @@ -0,0 +1,80 @@ +{ + "version": "1.0", + "accounts": [ + { + "address": "NMUedC8TSV2rE17wGguSvPk9XcmHSaT275", + "key": "6PYSYoZaxqDu5vqvm7yUFT3sPJJFwyLyYDnp8zwj1YVPcBWxacz64bNX59", + "label": "single", + "contract": { + "script": "DCECEDp/fdAWVYWX95YNJ8UWpDlP2Wi55lFV60sBPkBAQG5BVuezJw==", + "parameters": [ + { + "name": "parameter0", + "type": "Signature" + } + ], + "deployed": false + }, + "lock": false, + "isDefault": false + }, + { + "address": "NVTiAjNgagDkTr5HTzDmQP9kPwPHN5BgVq", + "key": "6PYSYoZaxqDu5vqvm7yUFT3sPJJFwyLyYDnp8zwj1YVPcBWxacz64bNX59", + "label": "committee", + "contract": { + "script": "EwwhAhA6f33QFlWFl/eWDSfFFqQ5T9loueZRVetLAT5AQEBuDCECp7xV/oaE4BGXaNEEujB5W9zIZhnoZK3SYVZyPtGFzWIMIQKzYiv0AXvf4xfFiu1fTHU/IGt9uJYEb6fXdLvEv3+NwgwhA9kMB99j5pDOd5EuEKtRrMlEtmhgI3tgjE+PgwnnHuaZFEGe0Nw6", + "parameters": [ + { + "name": "parameter0", + "type": "Signature" + }, + { + "name": "parameter1", + "type": "Signature" + }, + { + "name": "parameter2", + "type": "Signature" + } + ], + "deployed": false + }, + "lock": false, + "isDefault": false + }, + { + "address": "NVTiAjNgagDkTr5HTzDmQP9kPwPHN5BgVq", + "key": "6PYSYoZaxqDu5vqvm7yUFT3sPJJFwyLyYDnp8zwj1YVPcBWxacz64bNX59", + "label": "consensus", + "contract": { + "script": "EwwhAhA6f33QFlWFl/eWDSfFFqQ5T9loueZRVetLAT5AQEBuDCECp7xV/oaE4BGXaNEEujB5W9zIZhnoZK3SYVZyPtGFzWIMIQKzYiv0AXvf4xfFiu1fTHU/IGt9uJYEb6fXdLvEv3+NwgwhA9kMB99j5pDOd5EuEKtRrMlEtmhgI3tgjE+PgwnnHuaZFEGe0Nw6", + "parameters": [ + { + "name": "parameter0", + "type": "Signature" + }, + { + "name": "parameter1", + "type": "Signature" + }, + { + "name": "parameter2", + "type": "Signature" + } + ], + "deployed": false + }, + "lock": false, + "isDefault": false + } + ], + "scrypt": { + "n": 16384, + "r": 8, + "p": 8 + }, + "extra": { + "Tokens": null + } +} \ No newline at end of file diff --git a/.docker/alpha/contract.json b/.docker/alpha/contract.json new file mode 100644 index 000000000..5eca615c5 --- /dev/null +++ b/.docker/alpha/contract.json @@ -0,0 +1,80 @@ +{ + "version": "1.0", + "accounts": [ + { + "address": "Nhfg3TbpwogLvDGVvAvqyThbsHgoSUKwtn", + "key": "6PYM8VdX2BSm7BSXKzV4Fz6S3R9cDLLWNrD9nMjxW352jEv3fsC8N3wNLY", + "label": "single", + "contract": { + "script": "DCECs2Ir9AF73+MXxYrtX0x1PyBrfbiWBG+n13S7xL9/jcJBVuezJw==", + "parameters": [ + { + "name": "parameter0", + "type": "Signature" + } + ], + "deployed": false + }, + "lock": false, + "isDefault": false + }, + { + "address": "NVTiAjNgagDkTr5HTzDmQP9kPwPHN5BgVq", + "key": "6PYM8VdX2BSm7BSXKzV4Fz6S3R9cDLLWNrD9nMjxW352jEv3fsC8N3wNLY", + "label": "committee", + "contract": { + "script": "EwwhAhA6f33QFlWFl/eWDSfFFqQ5T9loueZRVetLAT5AQEBuDCECp7xV/oaE4BGXaNEEujB5W9zIZhnoZK3SYVZyPtGFzWIMIQKzYiv0AXvf4xfFiu1fTHU/IGt9uJYEb6fXdLvEv3+NwgwhA9kMB99j5pDOd5EuEKtRrMlEtmhgI3tgjE+PgwnnHuaZFEGe0Nw6", + "parameters": [ + { + "name": "parameter0", + "type": "Signature" + }, + { + "name": "parameter1", + "type": "Signature" + }, + { + "name": "parameter2", + "type": "Signature" + } + ], + "deployed": false + }, + "lock": false, + "isDefault": false + }, + { + "address": "NVTiAjNgagDkTr5HTzDmQP9kPwPHN5BgVq", + "key": "6PYM8VdX2BSm7BSXKzV4Fz6S3R9cDLLWNrD9nMjxW352jEv3fsC8N3wNLY", + "label": "consensus", + "contract": { + "script": "EwwhAhA6f33QFlWFl/eWDSfFFqQ5T9loueZRVetLAT5AQEBuDCECp7xV/oaE4BGXaNEEujB5W9zIZhnoZK3SYVZyPtGFzWIMIQKzYiv0AXvf4xfFiu1fTHU/IGt9uJYEb6fXdLvEv3+NwgwhA9kMB99j5pDOd5EuEKtRrMlEtmhgI3tgjE+PgwnnHuaZFEGe0Nw6", + "parameters": [ + { + "name": "parameter0", + "type": "Signature" + }, + { + "name": "parameter1", + "type": "Signature" + }, + { + "name": "parameter2", + "type": "Signature" + } + ], + "deployed": false + }, + "lock": false, + "isDefault": false + } + ], + "scrypt": { + "n": 16384, + "r": 8, + "p": 8 + }, + "extra": { + "Tokens": null + } +} \ No newline at end of file diff --git a/.docker/alpha/glagoli.json b/.docker/alpha/glagoli.json new file mode 100644 index 000000000..45184bbc8 --- /dev/null +++ b/.docker/alpha/glagoli.json @@ -0,0 +1,80 @@ +{ + "version": "1.0", + "accounts": [ + { + "address": "NPrB7BmTMYxf9UVroJp4RQExM9tqKmsHTz", + "key": "6PYX8eELiDduPW3RGiZxZNmG6KtWtXkyRFi47f8w6quEBpRkpBPxH5u5AP", + "label": "single", + "contract": { + "script": "DCECp7xV/oaE4BGXaNEEujB5W9zIZhnoZK3SYVZyPtGFzWJBVuezJw==", + "parameters": [ + { + "name": "parameter0", + "type": "Signature" + } + ], + "deployed": false + }, + "lock": false, + "isdefault": false + }, + { + "address": "NVTiAjNgagDkTr5HTzDmQP9kPwPHN5BgVq", + "key": "6PYX8eELiDduPW3RGiZxZNmG6KtWtXkyRFi47f8w6quEBpRkpBPxH5u5AP", + "label": "committee", + "contract": { + "script": "EwwhAhA6f33QFlWFl/eWDSfFFqQ5T9loueZRVetLAT5AQEBuDCECp7xV/oaE4BGXaNEEujB5W9zIZhnoZK3SYVZyPtGFzWIMIQKzYiv0AXvf4xfFiu1fTHU/IGt9uJYEb6fXdLvEv3+NwgwhA9kMB99j5pDOd5EuEKtRrMlEtmhgI3tgjE+PgwnnHuaZFEGe0Nw6", + "parameters": [ + { + "name": "parameter0", + "type": "Signature" + }, + { + "name": "parameter1", + "type": "Signature" + }, + { + "name": "parameter2", + "type": "Signature" + } + ], + "deployed": false + }, + "lock": false, + "isdefault": false + }, + { + "address": "NVTiAjNgagDkTr5HTzDmQP9kPwPHN5BgVq", + "key": "6PYX8eELiDduPW3RGiZxZNmG6KtWtXkyRFi47f8w6quEBpRkpBPxH5u5AP", + "label": "consensus", + "contract": { + "script": "EwwhAhA6f33QFlWFl/eWDSfFFqQ5T9loueZRVetLAT5AQEBuDCECp7xV/oaE4BGXaNEEujB5W9zIZhnoZK3SYVZyPtGFzWIMIQKzYiv0AXvf4xfFiu1fTHU/IGt9uJYEb6fXdLvEv3+NwgwhA9kMB99j5pDOd5EuEKtRrMlEtmhgI3tgjE+PgwnnHuaZFEGe0Nw6", + "parameters": [ + { + "name": "parameter0", + "type": "Signature" + }, + { + "name": "parameter1", + "type": "Signature" + }, + { + "name": "parameter2", + "type": "Signature" + } + ], + "deployed": false + }, + "lock": false, + "isdefault": false + } + ], + "scrypt": { + "n": 16384, + "r": 8, + "p": 8 + }, + "extra": { + "Tokens": null + } +} diff --git a/.docker/alpha/some.part.json b/.docker/alpha/some.part.json new file mode 100644 index 000000000..ca5989acd --- /dev/null +++ b/.docker/alpha/some.part.json @@ -0,0 +1 @@ +{"type":"Neo.Network.P2P.Payloads.Transaction","network":56753,"hash":"0x2ad417f9b15cbeea34b83af84ae27e2212265332b0ac3744d0ed89d8a508e004","data":"AIuOuO1m4x8AAAAAAJxhQwAAAAAAfxgAAAFouegejA5skHm0udEF6HinbT8iPwEAVQwhArNiK/QBe9/jF8WK7V9MdT8ga324lgRvp9d0u8S/f43CEcAYEsAfDA9kZXNpZ25hdGVBc1JvbGUMFOKV45FUTBeK2U8D7E3N/3hTTs9JQWJ9W1I=","items":{"0x3f223f6da778e805d1b9b479906c0e8c1ee8b968":{"script":"EwwhAhA6f33QFlWFl/eWDSfFFqQ5T9loueZRVetLAT5AQEBuDCECp7xV/oaE4BGXaNEEujB5W9zIZhnoZK3SYVZyPtGFzWIMIQKzYiv0AXvf4xfFiu1fTHU/IGt9uJYEb6fXdLvEv3+NwgwhA9kMB99j5pDOd5EuEKtRrMlEtmhgI3tgjE+PgwnnHuaZFEGe0Nw6","parameters":[{"type":"Signature","value":"R9Zjol9swiATCRbkpbzgMSzpcKAN0P31Iyjtw376RkN62CVPJH5xUl9FViQJdG3r5x/hjqTAC/a6GooN4AgIKA=="},{"type":"Signature","value":"zfFftMcTAu+X9Ql89dQNWroA9zlDci0OHjYGBg3txJ8WkNVcObI3mfzDMccPX7amafpOyjyM77EjNiVchV0Aag=="},{"type":"Signature","value":"+Zkrj4MlDGpMoFhnWk+x1En4V0sN8olPqYzZF/SRlF86Fp15jqQP1sXsM10mMBoZPU6voQ+GB518WHwCLAm4Pw=="}],"signatures":{"02103a7f7dd016558597f7960d27c516a4394fd968b9e65155eb4b013e4040406e":"R9Zjol9swiATCRbkpbzgMSzpcKAN0P31Iyjtw376RkN62CVPJH5xUl9FViQJdG3r5x/hjqTAC/a6GooN4AgIKA==","02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2":"zfFftMcTAu+X9Ql89dQNWroA9zlDci0OHjYGBg3txJ8WkNVcObI3mfzDMccPX7amafpOyjyM77EjNiVchV0Aag==","03d90c07df63e690ce77912e10ab51acc944b66860237b608c4f8f8309e71ee699":"+Zkrj4MlDGpMoFhnWk+x1En4V0sN8olPqYzZF/SRlF86Fp15jqQP1sXsM10mMBoZPU6voQ+GB518WHwCLAm4Pw=="}}}} \ No newline at end of file diff --git a/.docker/alpha/vedi.json b/.docker/alpha/vedi.json new file mode 100644 index 000000000..8d71fd86f --- /dev/null +++ b/.docker/alpha/vedi.json @@ -0,0 +1,80 @@ +{ + "version": "1.0", + "accounts": [ + { + "address": "NdypBhqkz2CMMnwxBgvoC9X2XjKF5axgKo", + "key": "6PYVxMnzPMFTYY16xRvXm2SJcvaChabLzaARAb1Mmej9U7rYLYWMSPtfam", + "label": "single", + "contract": { + "script": "DCED2QwH32PmkM53kS4Qq1GsyUS2aGAje2CMT4+DCece5plBVuezJw==", + "parameters": [ + { + "name": "parameter0", + "type": "Signature" + } + ], + "deployed": false + }, + "lock": false, + "isdefault": false + }, + { + "address": "NVTiAjNgagDkTr5HTzDmQP9kPwPHN5BgVq", + "key": "6PYVxMnzPMFTYY16xRvXm2SJcvaChabLzaARAb1Mmej9U7rYLYWMSPtfam", + "label": "committee", + "contract": { + "script": "EwwhAhA6f33QFlWFl/eWDSfFFqQ5T9loueZRVetLAT5AQEBuDCECp7xV/oaE4BGXaNEEujB5W9zIZhnoZK3SYVZyPtGFzWIMIQKzYiv0AXvf4xfFiu1fTHU/IGt9uJYEb6fXdLvEv3+NwgwhA9kMB99j5pDOd5EuEKtRrMlEtmhgI3tgjE+PgwnnHuaZFEGe0Nw6", + "parameters": [ + { + "name": "parameter0", + "type": "Signature" + }, + { + "name": "parameter1", + "type": "Signature" + }, + { + "name": "parameter2", + "type": "Signature" + } + ], + "deployed": false + }, + "lock": false, + "isdefault": false + }, + { + "address": "NVTiAjNgagDkTr5HTzDmQP9kPwPHN5BgVq", + "key": "6PYVxMnzPMFTYY16xRvXm2SJcvaChabLzaARAb1Mmej9U7rYLYWMSPtfam", + "label": "consensus", + "contract": { + "script": "EwwhAhA6f33QFlWFl/eWDSfFFqQ5T9loueZRVetLAT5AQEBuDCECp7xV/oaE4BGXaNEEujB5W9zIZhnoZK3SYVZyPtGFzWIMIQKzYiv0AXvf4xfFiu1fTHU/IGt9uJYEb6fXdLvEv3+NwgwhA9kMB99j5pDOd5EuEKtRrMlEtmhgI3tgjE+PgwnnHuaZFEGe0Nw6", + "parameters": [ + { + "name": "parameter0", + "type": "Signature" + }, + { + "name": "parameter1", + "type": "Signature" + }, + { + "name": "parameter2", + "type": "Signature" + } + ], + "deployed": false + }, + "lock": false, + "isdefault": false + } + ], + "scrypt": { + "n": 16384, + "r": 8, + "p": 8 + }, + "extra": { + "Tokens": null + } +} diff --git a/.docker/docker-compose.yml b/.docker/docker-compose.yml index b7eabc902..eb893478a 100644 --- a/.docker/docker-compose.yml +++ b/.docker/docker-compose.yml @@ -8,19 +8,24 @@ networks: - subnet: 172.200.0.0/24 gateway: 172.200.0.254 -volumes: - volume_chain: - driver: local +# volumes: +# volume_chain: +# driver: local services: node_one: container_name: neo_go_node_one image: env_neo_go_image command: "node --config-path /config --privnet" + #command: "node --config-path /config --privnet" + # command: "db restore --config-path /config --privnet -i /folkrock.mainnet.dump --dump /folkrock_dump.json" volumes: - ../config/protocol.privnet.docker.one.yml:/config/protocol.privnet.yml - ./wallets/wallet1.json:/wallet1.json - - volume_chain:/chains + #- volume_chain:/chains + - ./folkrock.mainnet.dump:/folkrock.mainnet.dump + - ./folkrock_dump.json:/folkrock_dump.json + - ../chains/privnet1.bolt:/chains/privnet1.bolt ports: - 20333:20333 - 30333:30333 @@ -28,11 +33,12 @@ services: node_two: container_name: neo_go_node_two image: env_neo_go_image - command: "node --config-path /config --privnet" + command: "node --config-path /config --privnet --debug" volumes: - ../config/protocol.privnet.docker.two.yml:/config/protocol.privnet.yml - ./wallets/wallet2.json:/wallet2.json - - volume_chain:/chains + #- volume_chain:/chains + - ../chains/privnet2.bolt:/chains/privnet2.bolt ports: - 20334:20334 - 30334:30334 @@ -44,7 +50,8 @@ services: volumes: - ../config/protocol.privnet.docker.three.yml:/config/protocol.privnet.yml - ./wallets/wallet3.json:/wallet3.json - - volume_chain:/chains + #- volume_chain:/chains + - ../chains/privnet3.bolt:/chains/privnet3.bolt ports: - 20335:20335 - 30335:30335 @@ -56,7 +63,7 @@ services: volumes: - ../config/protocol.privnet.docker.four.yml:/config/protocol.privnet.yml - ./wallets/wallet4.json:/wallet4.json - - volume_chain:/chains + #- volume_chain:/chains ports: - 20336:20336 - 30336:30336 @@ -68,7 +75,8 @@ services: volumes: - ../config/protocol.privnet.docker.single.yml:/config/protocol.privnet.yml - ./wallets/wallet1_solo.json:/wallet1.json - - volume_chain:/chains + #- volume_chain:/chains + - ../chains/privnet4.bolt:/chains/privnet4.bolt ports: - 20333:20333 - 30333:30333 diff --git a/Makefile b/Makefile index 7fbbdb13d..44cc3e4a6 100644 --- a/Makefile +++ b/Makefile @@ -128,10 +128,10 @@ env_image: --build-arg REPO=$(REPO) \ --build-arg VERSION=$(VERSION) . -env_up: +env_up: #docker-compose -f $(DC_FILE) up -d node_one node_two node_three node_four @echo "=> Bootup environment" @echo " Docker-compose file: $(DC_FILE)" - @docker-compose -f $(DC_FILE) up -d node_one node_two node_three node_four + @docker-compose -f $(DC_FILE) up node_one node_two node_three node_four env_single: @echo "=> Bootup environment" diff --git a/config/protocol.mainnet.yml b/config/protocol.mainnet.yml index 87320c269..b1639eab4 100644 --- a/config/protocol.mainnet.yml +++ b/config/protocol.mainnet.yml @@ -1,98 +1,128 @@ -ProtocolConfiguration: - Magic: 860833102 - MaxTraceableBlocks: 2102400 - InitialGASSupply: 52000000 - TimePerBlock: 15s - MemPoolSize: 50000 - StandbyCommittee: - - 03b209fd4f53a7170ea4444e0cb0a6bb6a53c2bd016926989cf85f9b0fba17a70c - - 02df48f60e8f3e01c48ff40b9b7f1310d7a8b2a193188befe1c2e3df740e895093 - - 03b8d9d5771d8f513aa0869b9cc8d50986403b78c6da36890638c3d46a5adce04a - - 02ca0e27697b9c248f6f16e085fd0061e26f44da85b58ee835c110caa5ec3ba554 - - 024c7b7fb6c310fccf1ba33b082519d82964ea93868d676662d4a59ad548df0e7d - - 02aaec38470f6aad0042c6e877cfd8087d2676b0f516fddd362801b9bd3936399e - - 02486fd15702c4490a26703112a5cc1d0923fd697a33406bd5a1c00e0013b09a70 - - 023a36c72844610b4d34d1968662424011bf783ca9d984efa19a20babf5582f3fe - - 03708b860c1de5d87f5b151a12c2a99feebd2e8b315ee8e7cf8aa19692a9e18379 - - 03c6aa6e12638b36e88adc1ccdceac4db9929575c3e03576c617c49cce7114a050 - - 03204223f8c86b8cd5c89ef12e4f0dbb314172e9241e30c9ef2293790793537cf0 - - 02a62c915cf19c7f19a50ec217e79fac2439bbaad658493de0c7d8ffa92ab0aa62 - - 03409f31f0d66bdc2f70a9730b66fe186658f84a8018204db01c106edc36553cd0 - - 0288342b141c30dc8ffcde0204929bb46aed5756b41ef4a56778d15ada8f0c6654 - - 020f2887f41474cfeb11fd262e982051c1541418137c02a0f4961af911045de639 - - 0222038884bbd1d8ff109ed3bdef3542e768eef76c1247aea8bc8171f532928c30 - - 03d281b42002647f0113f36c7b8efb30db66078dfaaa9ab3ff76d043a98d512fde - - 02504acbc1f4b3bdad1d86d6e1a08603771db135a73e61c9d565ae06a1938cd2ad - - 0226933336f1b75baa42d42b71d9091508b638046d19abd67f4e119bf64a7cfb4d - - 03cdcea66032b82f5c30450e381e5295cae85c5e6943af716cc6b646352a6067dc - - 02cd5a5547119e24feaa7c2a0f37b8c9366216bab7054de0065c9be42084003c8a - ValidatorsCount: 7 - SeedList: - - seed1.neo.org:10333 - - seed2.neo.org:10333 - - seed3.neo.org:10333 - - seed4.neo.org:10333 - - seed5.neo.org:10333 - VerifyTransactions: false - P2PSigExtensions: false - Hardforks: - Aspidochelone: 1730000 - Basilisk: 4120000 - ApplicationConfiguration: - SkipBlockVerification: false - # LogPath could be set up in case you need stdout logs to some proper file. - # LogPath: "./log/neogo.log" - DBConfiguration: - Type: "leveldb" #other options: 'inmemory','boltdb' - # DB type options. Uncomment those you need in case you want to switch DB type. - LevelDBOptions: - DataDirectoryPath: "./chains/mainnet" - # BoltDBOptions: - # FilePath: "./chains/mainnet.bolt" - P2P: - Addresses: - - ":10333" # in form of "[host]:[port][:announcedPort]" - DialTimeout: 3s - ProtoTickInterval: 2s - PingInterval: 30s - PingTimeout: 90s - MaxPeers: 100 - AttemptConnPeers: 20 - MinPeers: 10 - Relay: true - Consensus: - Enabled: false - UnlockWallet: - Path: "/cn_wallet.json" - Password: "pass" - Oracle: - Enabled: false - AllowedContentTypes: - - application/json - P2PNotary: - Enabled: false - UnlockWallet: - Path: "/notary_wallet.json" - Password: "pass" - - RPC: - Enabled: true - Addresses: - - ":10332" - MaxGasInvoke: 15 - EnableCORSWorkaround: false - TLSConfig: - Enabled: false - Addresses: - - ":10331" - CertFile: serv.crt - KeyFile: serv.key - Prometheus: - Enabled: true - Addresses: - - ":2112" - Pprof: - Enabled: false - Addresses: - - ":2113" + Consensus: + Enabled: true + UnlockWallet: + Password: p55Cr2yg + Path: /etc/neo-go/wallet.json + DBConfiguration: + BoltDBOptions: + AllocSizeMB: 128 + FilePath: ./chains/mainnet_cut.bolt + InitialMmapSizeMB: 1000 + Type: boltdb + GarbageCollectionPeriod: 10000 + KeepOnlyLatestState: false + LogLevel: info + MaxFailedToPersistBlocksCount: 5 + P2P: + Addresses: + - 192.168.215.12:20333 + - 192.168.215.212:20333 + AttemptConnPeers: 20 + BroadcastFactor: 0 + DialTimeout: 3s + ExtensiblePoolSize: 20 + MaxPeers: 100 + MinPeers: 5 + Multinet: + Balancer: roundrobin + Enabled: true + Subnets: + - Mask: 192.168.215.0/24 + SourceIPs: + - 192.168.215.12 + - 192.168.215.212 + PingInterval: 30s + PingTimeout: 90s + ProtoTickInterval: 2s + TLSConfig: + CertFile: /etc/ssl/neogo/p2p.crt + Enabled: true + KeyFile: /etc/ssl/private/neogo/p2p.key + RootCAs: + - /etc/ssl/neogo/p2p_ca.crt + P2PNotary: + Enabled: true + UnlockWallet: + Password: p55Cr2yg + Path: /etc/neo-go/wallet.json + Pprof: + Addresses: + - 127.0.0.1:2123 + Enabled: true + Prometheus: + Addresses: + - 127.0.0.1:2122 + Enabled: true + RPC: + Addresses: + - 127.0.0.1:20332 + EnableCORSWorkaround: false + Enabled: true + MaxFindResultItems: 100 + MaxGasInvoke: 100 + MaxIteratorResultItems: 100 + MaxNEP11Tokens: 100 + MaxWebSocketClients: 1024 + MaxWebSocketFeeds: 256 + SessionBackedByMPT: false + SessionEnabled: true + SessionExpirationTime: 15 + SessionPoolSize: 20 + StartWhenSynchronized: true + TLSConfig: + Addresses: + - 192.168.215.12:20331 + - 192.168.215.212:20331 + CertFile: /etc/ssl/neogo/server.crt + Enabled: true + KeyFile: /etc/ssl/private/neogo/server.key + RootCAs: + - /etc/ssl/neogo/server_ca.crt + Relay: true + RemoveUntraceableBlocks: true + SDNotify: true + SaveStorageBatch: false + SkipBlockVerification: false +ProtocolConfiguration: + Hardforks: {} + InitialGASSupply: 52000000 + Magic: 932611685 + MaxBlockSize: 262144 + MaxBlockSystemFee: 900000000000 + MaxTraceableBlocks: 2000 + MaxTransactionsPerBlock: 512 + MaxValidUntilBlockIncrement: 75666 + MemPoolSize: 50000 + P2PNotaryRequestPayloadPoolSize: 50000 + P2PSigExtensions: true + P2PStateExchangeExtensions: false + ReservedAttributes: false + SeedList: + - 192.168.215.13:20333 + - 192.168.215.14:20333 + - 192.168.215.15:20333 + - 192.168.215.173:20333 + - 192.168.215.174:20333 + - 192.168.215.175:20333 + - 192.168.215.176:20333 + - 192.168.215.213:20333 + - 192.168.215.214:20333 + - 192.168.215.215:20333 + - 192.168.215.73:20333 + - 192.168.215.74:20333 + - 192.168.215.75:20333 + - 192.168.215.76:20333 + StandbyCommittee: + - 02265b86d493d5c7be980d89439ff6b28a1c3cf9cf8c3a11e705e800796890754a + - 02761cd2b6e5449583fd4fe39d3eb1a66440e9b13fe5eadc983cb939eb28d6c4b3 + - 02c2ed53eecd4291a21657c42c919e7f35da263225f756d6b62ae2dccbd01400da + - 030a065227951599e1cc4dfbc37ff985ca934b68856f5596b4ff7f36568681535b + - 0316643ee7eb922de58267db163f6c345b3dd2071c88f2b98af9df379b4389e639 + - 031d5b0fbc07d3981ca60352c43b703e6d37baced63a66537a8f02adb57881bd75 + - 03955826e62617a5d7bbc4384a98cbdbd22eb69a3b63165b90ef2c015080bdcacf + - 03b52ea271fc7fac3e4a29ac9c0339f2afffa0857925a7fabaccb07a878a27291b + StateRootInHeader: false + TimePerBlock: 8s + ValidatorsCount: 8 + VerifyTransactions: true \ No newline at end of file diff --git a/config/protocol.privnet.docker.four.yml b/config/protocol.privnet.docker.four.yml index d1d18296f..2e0c10f8a 100644 --- a/config/protocol.privnet.docker.four.yml +++ b/config/protocol.privnet.docker.four.yml @@ -1,7 +1,7 @@ ProtocolConfiguration: Magic: 56753 - MaxTraceableBlocks: 200000 - TimePerBlock: 15s + MaxTraceableBlocks: 10 + TimePerBlock: 1s MemPoolSize: 50000 StandbyCommittee: - 02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2 @@ -14,20 +14,24 @@ ProtocolConfiguration: - node_two:20334 - node_three:20335 - node_four:20336 - VerifyTransactions: true - P2PSigExtensions: false + VerifyTransactions: false + P2PSigExtensions: true + StateRootInHeader: true ApplicationConfiguration: + GarbageCollectionPeriod: 1 + RemoveUntraceableBlocks: true + # research SkipBlockVerification: false # LogPath could be set up in case you need stdout logs to some proper file. # LogPath: "./log/neogo.log" DBConfiguration: - Type: "leveldb" #other options: 'inmemory','boltdb' + Type: "boltdb" #other options: 'inmemory','boltdb' # DB type options. Uncomment those you need in case you want to switch DB type. - LevelDBOptions: - DataDirectoryPath: "/chains/four" - # BoltDBOptions: - # FilePath: "./chains/privnet.bolt" + # LevelDBOptions: + # DataDirectoryPath: "/chains/four" + BoltDBOptions: + FilePath: "./chains/privnet4.bolt" P2P: Addresses: - ":20336" # in form of "[host]:[port][:announcedPort]" @@ -53,15 +57,17 @@ ApplicationConfiguration: Path: "/wallet4.json" Password: "four" P2PNotary: - Enabled: false + Enabled: true UnlockWallet: - Path: "/notary_wallet.json" - Password: "pass" + Path: "/wallet4.json" + Password: "four" RPC: Enabled: true + TLSConfig: + Enabled: false Addresses: - ":30336" - MaxGasInvoke: 15 + MaxGasInvoke: 150 EnableCORSWorkaround: false SessionEnabled: true Prometheus: diff --git a/config/protocol.privnet.docker.one.yml b/config/protocol.privnet.docker.one.yml index 5c0873f10..5acabbbdb 100644 --- a/config/protocol.privnet.docker.one.yml +++ b/config/protocol.privnet.docker.one.yml @@ -1,7 +1,7 @@ ProtocolConfiguration: Magic: 56753 - MaxTraceableBlocks: 200000 - TimePerBlock: 15s + MaxTraceableBlocks: 10 + TimePerBlock: 1s MemPoolSize: 50000 StandbyCommittee: - 02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2 @@ -15,19 +15,23 @@ ProtocolConfiguration: - node_three:20335 - node_four:20336 VerifyTransactions: true - P2PSigExtensions: false + P2PSigExtensions: true + StateRootInHeader: true ApplicationConfiguration: + GarbageCollectionPeriod: 1 + RemoveUntraceableBlocks: true + # research SkipBlockVerification: false # LogPath could be set up in case you need stdout logs to some proper file. # LogPath: "./log/neogo.log" DBConfiguration: - Type: "leveldb" #other options: 'inmemory','boltdb' + Type: "boltdb" #other options: 'inmemory','boltdb' # DB type options. Uncomment those you need in case you want to switch DB type. - LevelDBOptions: - DataDirectoryPath: "/chains/one" - # BoltDBOptions: - # FilePath: "./chains/privnet.bolt" + # LevelDBOptions: + # DataDirectoryPath: "/chains/one" + BoltDBOptions: + FilePath: "./chains/privnet1.bolt" P2P: Addresses: - ":20333" # in form of "[host]:[port][:announcedPort]" @@ -53,15 +57,17 @@ ApplicationConfiguration: Path: "/wallet1.json" Password: "one" P2PNotary: - Enabled: false + Enabled: true UnlockWallet: - Path: "/notary_wallet.json" - Password: "pass" + Path: "/wallet1.json" + Password: "one" RPC: Enabled: true + TLSConfig: + Enabled: false Addresses: - ":30333" - MaxGasInvoke: 15 + MaxGasInvoke: 150 EnableCORSWorkaround: false SessionEnabled: true Prometheus: diff --git a/config/protocol.privnet.docker.single.yml b/config/protocol.privnet.docker.single.yml index cbc7bbd35..ea81b725b 100644 --- a/config/protocol.privnet.docker.single.yml +++ b/config/protocol.privnet.docker.single.yml @@ -1,6 +1,7 @@ ProtocolConfiguration: Magic: 56753 MaxTraceableBlocks: 200000 + # MaxTraceableBlocks: 10 TimePerBlock: 1s MemPoolSize: 50000 StandbyCommittee: @@ -9,9 +10,12 @@ ProtocolConfiguration: SeedList: - node_single:20333 VerifyTransactions: true - P2PSigExtensions: false + P2PSigExtensions: true ApplicationConfiguration: + # GarbageCollectionPeriod: 1 + # RemoveUntraceableBlocks: true + # research SkipBlockVerification: false # LogPath could be set up in case you need stdout logs to some proper file. # LogPath: "./log/neogo.log" diff --git a/config/protocol.privnet.docker.three.yml b/config/protocol.privnet.docker.three.yml index e01ce168f..a0f848090 100644 --- a/config/protocol.privnet.docker.three.yml +++ b/config/protocol.privnet.docker.three.yml @@ -1,7 +1,7 @@ ProtocolConfiguration: Magic: 56753 - MaxTraceableBlocks: 200000 - TimePerBlock: 15s + MaxTraceableBlocks: 10 + TimePerBlock: 1s MemPoolSize: 50000 StandbyCommittee: - 02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2 @@ -15,19 +15,23 @@ ProtocolConfiguration: - node_three:20335 - node_four:20336 VerifyTransactions: true - P2PSigExtensions: false + P2PSigExtensions: true + StateRootInHeader: true ApplicationConfiguration: + GarbageCollectionPeriod: 1 + RemoveUntraceableBlocks: true + # research SkipBlockVerification: false # LogPath could be set up in case you need stdout logs to some proper file. # LogPath: "./log/neogo.log" DBConfiguration: - Type: "leveldb" #other options: 'inmemory','boltdb' + Type: "boltdb" #other options: 'inmemory','boltdb' # DB type options. Uncomment those you need in case you want to switch DB type. - LevelDBOptions: - DataDirectoryPath: "/chains/three" - # BoltDBOptions: - # FilePath: "./chains/privnet.bolt" + # LevelDBOptions: + # DataDirectoryPath: "/chains/three" + BoltDBOptions: + FilePath: "./chains/privnet3.bolt" P2P: Addresses: - ":20335" # in form of "[host]:[port][:announcedPort]" @@ -53,15 +57,17 @@ ApplicationConfiguration: Path: "/wallet3.json" Password: "three" P2PNotary: - Enabled: false + Enabled: true UnlockWallet: - Path: "/notary_wallet.json" - Password: "pass" + Path: "/wallet3.json" + Password: "three" RPC: + TLSConfig: + Enabled: false Enabled: true Addresses: - ":30335" - MaxGasInvoke: 15 + MaxGasInvoke: 150 EnableCORSWorkaround: false SessionEnabled: true Prometheus: diff --git a/config/protocol.privnet.docker.two.yml b/config/protocol.privnet.docker.two.yml index 39825d613..25e373d8d 100644 --- a/config/protocol.privnet.docker.two.yml +++ b/config/protocol.privnet.docker.two.yml @@ -1,7 +1,7 @@ ProtocolConfiguration: Magic: 56753 - MaxTraceableBlocks: 200000 - TimePerBlock: 15s + MaxTraceableBlocks: 10 + TimePerBlock: 1s MemPoolSize: 50000 StandbyCommittee: - 02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2 @@ -15,19 +15,23 @@ ProtocolConfiguration: - node_three:20335 - node_four:20336 VerifyTransactions: true - P2PSigExtensions: false + P2PSigExtensions: true + StateRootInHeader: true ApplicationConfiguration: + GarbageCollectionPeriod: 1 + RemoveUntraceableBlocks: true + # research SkipBlockVerification: false # LogPath could be set up in case you need stdout logs to some proper file. # LogPath: "./log/neogo.log" DBConfiguration: - Type: "leveldb" #other options: 'inmemory','boltdb' + Type: "boltdb" #other options: 'inmemory','boltdb' # DB type options. Uncomment those you need in case you want to switch DB type. - LevelDBOptions: - DataDirectoryPath: "/chains/two" - # BoltDBOptions: - # FilePath: "./chains/privnet.bolt" + #LevelDBOptions: + #DataDirectoryPath: "/chains/two" + BoltDBOptions: + FilePath: "./chains/privnet2.bolt" P2P: Addresses: - ":20334" # in form of "[host]:[port][:announcedPort]" @@ -53,13 +57,15 @@ ApplicationConfiguration: Path: "/wallet2.json" Password: "two" P2PNotary: - Enabled: false - UnlockWallet: - Path: "/notary_wallet.json" - Password: "pass" - RPC: Enabled: true - MaxGasInvoke: 15 + UnlockWallet: + Path: "/wallet2.json" + Password: "two" + RPC: + TLSConfig: + Enabled: false + Enabled: true + MaxGasInvoke: 150 EnableCORSWorkaround: false Addresses: - ":30334" diff --git a/config/protocol.privnet.yml b/config/protocol.privnet.yml index 1d1049813..5acabbbdb 100644 --- a/config/protocol.privnet.yml +++ b/config/protocol.privnet.yml @@ -1,7 +1,7 @@ ProtocolConfiguration: Magic: 56753 - MaxTraceableBlocks: 200000 - TimePerBlock: 15s + MaxTraceableBlocks: 10 + TimePerBlock: 1s MemPoolSize: 50000 StandbyCommittee: - 02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2 @@ -10,64 +10,76 @@ ProtocolConfiguration: - 02a7bc55fe8684e0119768d104ba30795bdcc86619e864add26156723ed185cd62 ValidatorsCount: 4 SeedList: - - localhost:20333 - - localhost:20334 - - localhost:20335 - - localhost:20336 + - node_one:20333 + - node_two:20334 + - node_three:20335 + - node_four:20336 VerifyTransactions: true - P2PSigExtensions: false + P2PSigExtensions: true + StateRootInHeader: true ApplicationConfiguration: + GarbageCollectionPeriod: 1 + RemoveUntraceableBlocks: true + # research SkipBlockVerification: false # LogPath could be set up in case you need stdout logs to some proper file. # LogPath: "./log/neogo.log" DBConfiguration: - Type: "leveldb" #other options: 'inmemory','boltdb' + Type: "boltdb" #other options: 'inmemory','boltdb' # DB type options. Uncomment those you need in case you want to switch DB type. - LevelDBOptions: - DataDirectoryPath: "./chains/privnet" - # BoltDBOptions: - # FilePath: "./chains/privnet.bolt" + # LevelDBOptions: + # DataDirectoryPath: "/chains/one" + BoltDBOptions: + FilePath: "./chains/privnet1.bolt" P2P: Addresses: - - ":20332" # in form of "[host]:[port][:announcedPort]" + - ":20333" # in form of "[host]:[port][:announcedPort]" DialTimeout: 3s ProtoTickInterval: 2s PingInterval: 30s PingTimeout: 90s MaxPeers: 10 AttemptConnPeers: 5 - MinPeers: 3 + MinPeers: 2 Relay: true - Consensus: + Oracle: Enabled: false + AllowedContentTypes: + - application/json + Nodes: + - http://node_one:30333 + - http://node_two:30334 + - http://node_three:30335 + - http://node_four:30336 + RequestTimeout: 5s UnlockWallet: - Path: "/cn_wallet.json" - Password: "pass" + Path: "/wallet1.json" + Password: "one" P2PNotary: - Enabled: false + Enabled: true UnlockWallet: - Path: "/notary_wallet.json" - Password: "pass" + Path: "/wallet1.json" + Password: "one" RPC: Enabled: true + TLSConfig: + Enabled: false Addresses: - - ":20331" - MaxGasInvoke: 15 + - ":30333" + MaxGasInvoke: 150 EnableCORSWorkaround: false SessionEnabled: true - SessionExpirationTime: 180 # higher expiration time for manual requests and tests. - TLSConfig: - Enabled: false - Addresses: - - ":20330" - CertFile: serv.crt - KeyFile: serv.key Prometheus: Enabled: true Addresses: - - ":2112" + - ":20001" Pprof: Enabled: false Addresses: - - ":2113" + - ":20011" + Consensus: + Enabled: true + UnlockWallet: + Path: "/wallet1.json" + Password: "one"