Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 804 Bytes

groups.md

File metadata and controls

35 lines (28 loc) · 804 Bytes

groups

We can create groups for different nodes, for example group b1 for a group of boots

1 add groups

empty validator group

cleos-lacchain push action eosio netaddgroup '["v1",[]]' -p eosio@active

group with one member

cleos-lacchain push action eosio netaddgroup '["b1", ["boot-ar"]]' -p eosio@active
cleos-lacchain push action eosio netaddgroup '["b2", []]' -p eosio@active
cleos-lacchain push action eosio netaddgroup '["w1", []]' -p eosio@active
cleos-lacchain push action eosio netaddgroup '["o1", []]' -p eosio@active

2 set node to group or groups

  cleos push action eosio netsetgroup '["validator1", ["v1","v2"]]' -p eosio@active

3 checking

cleos-lacchain get table eosio eosio netgroup