aboutsummaryrefslogtreecommitdiffstats
path: root/core/types/witness.go
Commit message (Collapse)AuthorAgeFilesLines
* core: update data model to reflect new model (#157)Wei-Ning Huang2018-10-011-61/+0
| | | | | | Update data model: 1) Remove witness ack. 2) Add round to block. 3) Update 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: refactor witness data processing flow (#124)Wei-Ning Huang2018-09-201-0/+8
| | | | | | | | | | | Since witness data need to include data from application after it processed a block (e.g. stateRoot). We should make the process of witness data asynchronous. An interface `BlockProcessedChan()` is added to the application interface to return a channel for notifying the consensus core when a block is processed. The notification object includes a byte slice (witenss data) which will be include in the final witness data object.
* Rename validator* to node* (#120)Mission Liao2018-09-201-1/+1
|
* core: rename Notary (Acks) to Witness (#118)Wei-Ning Huang2018-09-191-0/+53