aboutsummaryrefslogtreecommitdiffstats
path: root/core/crypto.go
Commit message (Collapse)AuthorAgeFilesLines
* core: add anti-complaint and nack-complaint to dkg protocol (#123)Jimmy Hu2018-09-211-0/+1
|
* core: refactor witness data processing flow (#124)Wei-Ning Huang2018-09-201-1/+2
| | | | | | | | | | | 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-6/+6
|
* core: rename Notary (Acks) to Witness (#118)Wei-Ning Huang2018-09-191-7/+7
|
* core:DKG and TSIG protocol (#115)Jimmy Hu2018-09-191-0/+99
|
* core: replace acks with slice (#102)Mission Liao2018-09-121-8/+2
|
* core: types: use []byte for block Payload type (#101)Wei-Ning Huang2018-09-121-1/+1
| | | | | Change payload type to []byte instead of [][]byte to make it more generic. The user of the consensus core should marshal the payload into a byte slice by themselves.
* core: timestamp (#98)Jimmy Hu2018-09-111-16/+4
|
* core: Add a new structure `Position` and move `ShardID`, `ChainID` and ↵Jimmy Hu2018-09-031-8/+11
| | | | `Height` from `Block` (#89)
* core: Add PreparePayloads to Application and Remove blockConverter ↵Jimmy Hu2018-08-301-6/+4
| | | | interface. (#84)
* core: Leader Selector. (#80)Jimmy Hu2018-08-301-0/+18
|
* core: Add vote type and add field to block. (#76)Jimmy Hu2018-08-281-3/+45
|
* core: Notary ack (#69)Jimmy Hu2018-08-211-9/+0
|
* core: NotaryAck interfaces. (#67)Jimmy Hu2018-08-201-1/+1
|
* core: Remove notary ack. (#64)Jimmy Hu2018-08-161-9/+9
|
* core: Add compaction chain module. (#60)Jimmy Hu2018-08-161-5/+5
|
* core: Sign block in Consensus.PrepareBlock. (#50)Jimmy Hu2018-08-131-9/+0
|
* core: Modify Consensus interface (#45)Jimmy Hu2018-08-101-1/+1
|
* core: Add block hash signature functions in core/ctypto.go. (#39)Jimmy Hu2018-08-101-0/+62
|
* crypto: Add crypto module. (#34)Jimmy Hu2018-08-081-0/+58