aboutsummaryrefslogtreecommitdiffstats
path: root/simulation/governance.go
Commit message (Collapse)AuthorAgeFilesLines
* core: remove NumWitnessSet in governance config (#167)Wei-Ning Huang2018-10-031-1/+0
| | | | NumWitnessSet is no longer required as we don't have witness set in the design anymore.
* core: publish round based config (#165)Mission Liao2018-10-031-1/+0
|
* core: replace reliable-broadcast with shard (#159)Mission Liao2018-10-021-6/+6
|
* core: remove ProposeThresholdSignature/GetThresholdSignature (#158)Wei-Ning Huang2018-10-021-15/+2
| | | Also rename the argument name of ProposeCRS.
* core: run DKG and CRS at background. (#155)Jimmy Hu2018-10-021-5/+8
|
* core: use notarySet for BA module. (#153)Jimmy Hu2018-10-011-12/+21
|
* core: Add sizes of various nodeSets (#148)Jimmy Hu2018-09-281-6/+13
|
* core: hide types.NodeID from full node. (#147)Mission Liao2018-09-281-13/+12
| | | | | | | | | * Refine core.Governance interface - Remove types.NodeID from interface declaration. - All parameter should be round based. * Add core.NodeSetCache * Agreement accepts map of nodeID directly. * test.Transport.Peers method return public keys.
* core: update governance interface and config (#145)Wei-Ning Huang2018-09-271-5/+9
| | | | | | 1) Remove RoundHeight from config. 2) NotarySet is not from governance contract, we get Node set intead. Notary set is caculated from the NodeSet using CRS. 3) CRS is not in the governance interface.
* core: move crypto to core/crypto (#140)Mission Liao2018-09-261-1/+1
| | | | | | | | | - Move key-holder to authenticator Make core.keyHolder public as core.Authenticator, it is not required to make this part an interface. - Make private when there is no need to go public. - Fix data race
* core: run TSIG for first configuration block at startup (#135)Jimmy Hu2018-09-261-0/+16
|
* core: update governance interface to consider genesis state (#136)Wei-Ning Huang2018-09-251-10/+11
|
* core: run first DKG at startup. (#129)Jimmy Hu2018-09-231-3/+6
|
* Rename validator* to node* (#120)Mission Liao2018-09-201-25/+25
|
* core:DKG and TSIG protocol (#115)Jimmy Hu2018-09-191-1/+16
|
* core: refine governance interface to reduce Get* methods (#114)Wei-Ning Huang2018-09-181-56/+24
| | | | | Since we have a bunch of static configurations in the governance contract, instead of using a Get* method for each of them, we instead implement a GetConfiguration() method to return a structure of the configurations.
* core: remove ticker parameter from NewConsensusMission Liao2018-09-181-0/+8
| | | | | | | | | - remove BlockProposingInterval, it's replaced by lambda. - remove ticker parameter of NewConsensus, ticker would be derived from governance. - leave a backdoor to hook the construction of ticker. - move 'Lambda' config from to consensus.
* core: move blockdb into core package and minor change on governance ↵Wei-Ning Huang2018-09-171-2/+7
| | | | | | | interface (#110) Since third party apps will possibly implement their only blockdb class, it make sense for the interface to be in core. Also add GetNumShards into the governance interface.
* core: DKG interface (#108)Jimmy Hu2018-09-171-4/+40
|
* Add GetChainNumber to Goverance (#92)Jimmy Hu2018-09-031-5/+10
|
* core: minor change to governance interface (#90)Wei-Ning Huang2018-09-031-5/+0
|
* core: Leader Selector. (#80)Jimmy Hu2018-08-301-2/+16
|
* core: update governance interface and move K into config (#40)Wei-Ning Huang2018-08-101-0/+99