Skip to content

Commit

Permalink
update neogo default config
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Nemirowski <[email protected]>
  • Loading branch information
Sergio Nemirowski authored and 532910 committed Jul 28, 2022
1 parent 8e44e25 commit 55cc384
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 27 deletions.
27 changes: 2 additions & 25 deletions defaults/main/network_opts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ neogo__default_network_config:
- 'seed5.neo.org:10333'
Hardforks:
Aspidochelone: 1730000

- enabled: "{{ neogo__network_type == 'morph-mainnet' }}"
path: ProtocolConfiguration
options:
Expand All @@ -74,16 +75,6 @@ neogo__default_network_config:
- 'morph5.fs.neo.org:40333'
- 'morph6.fs.neo.org:40333'
- 'morph7.fs.neo.org:40333'
- enabled: "{{ neogo__network_type == 'morph-mainnet' and neogo__oracle_enabled }}"
path: ApplicationConfiguration
options:
Oracle:
NeoFS:
Nodes:
- 'st1.storage.fs.neo.org:8080'
- 'st2.storage.fs.neo.org:8080'
- 'st3.storage.fs.neo.org:8080'
- 'st4.storage.fs.neo.org:8080'

- enabled: "{{ neogo__network_type == 'neo-testnet' }}"
path: ProtocolConfiguration
Expand Down Expand Up @@ -122,6 +113,7 @@ neogo__default_network_config:
MaxBlockSize: 2097152
MaxBlockSystemFee: 150000000000
MaxTransactionsPerBlock: 5000

- enabled: "{{ neogo__network_type == 'morph-testnet' }}"
path: ProtocolConfiguration
options:
Expand All @@ -138,21 +130,6 @@ neogo__default_network_config:
- 'morph5.t5.fs.neo.org:50333'
- 'morph6.t5.fs.neo.org:50333'
- 'morph7.t5.fs.neo.org:50333'
- enabled: "{{ neogo__network_type == 'neo-testnet' and neogo__oracle_enabled }}"
path: ApplicationConfiguration
options:
Oracle:
Nodes:
- 'http://oracle1.ngd.network:30332'
- 'http://oracle2.ngd.network:30332'
- 'http://oracle3.ngd.network:30332'
- 'http://oracle.t5.n3.nspcc.ru:30332'
NeoFS:
Nodes:
- 'st1.t5.fs.neo.org:8080'
- 'st2.t5.fs.neo.org:8080'
- 'st3.t5.fs.neo.org:8080'
- 'st4.t5.fs.neo.org:8080'

- enabled: "{{ neogo__network_type == 'privnet' }}"
options:
Expand Down
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@

- name: Copy regular systemd unit
ansible.builtin.template:
src: 'neogo-n3.service.j2'
src: 'neogo.service.j2'
dest: '/etc/systemd/system/neogo{{ neogo__instance }}.service'
notify: [ 'Restart NeoGo{{ neogo__instance }}' ]
when: not (neogo__use_compose | bool)

- name: Copy dockerized systemd unit
ansible.builtin.template:
src: 'neogo-n3_compose.service.j2'
src: 'neogo_compose.service.j2'
dest: '/etc/systemd/system/neogo{{ neogo__instance }}.service'
notify: [ 'Restart NeoGo{{ neogo__instance }}' ]
when: neogo__use_compose | bool
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 55cc384

Please sign in to comment.