orbs-network / orbs-network-go

Orbs node virtual chain core reference implementation in Go
MIT License
48 stars 12 forks source link

Reputation update for posv2 #1579

Closed noambergIL closed 4 years ago

noambergIL commented 4 years ago

reputation contract : 1) cap = 4, 2) when next committee shows removal then clear reputation. 3) tests

SDK 1) add getNextBlockCommittee. 2) make getnextblockcommittee and getblockproposer panic when singer not nil 3) tests

acceptance. tamper a node, get it to have reputation 1, then change committee and show it is 0.