aboutsummaryrefslogtreecommitdiffstats
path: root/core/nonblocking.go
Commit message (Collapse)AuthorAgeFilesLines
* db: rename blockdb to db (#367)Mission Liao2018-12-131-2/+2
| | | | | | | | | | * Rename blockdb package to db * Rename 'BlockDB' to 'DB' * Make all methods in db specific for ''block'. * Rename db.BlockDatabase to db.Database * Rename revealer to block-revealer * Rename test.Revealer to test.BlockRevealer
* core: remove StronglyAcked (#347)Mission Liao2018-11-291-13/+0
|
* core: block deliver with position (#289)Mission Liao2018-11-021-7/+9
| | | | | This info is required when application layer needs to do something related to the underlying DAG, not just compaction chain.
* Rename repo to dexon-consensusWei-Ning Huang2018-11-021-7/+7
|
* core: Change interface of Application.VerifyBlock (#246)Jimmy Hu2018-10-231-1/+1
| | | | * Change interface of Application.VerifyBlock
* core: total-ordering: change early flag to mode (#227)Haoping Ku2018-10-191-4/+4
| | | * core: total-ordering: change early flag to mode
* core: fix block confirmed is not called when Debug is not implemented. (#208)Mission Liao2018-10-161-3/+1
|
* core: modify interface (#194)Mission Liao2018-10-121-2/+2
| | | | * Add a new method to notify full node about round cutting. * Modify interface to return error when preparing block
* core: change interface (#193)Mission Liao2018-10-111-8/+13
| | | | | | | * Extract types.FinalizationResult * Change interface: - Application.BlockConfirmed returns whole block. - Application.BlockDelivered returns partial result.
* core: Move BlockConfirmed to Application interface (#192)Mission Liao2018-10-111-1/+1
| | | | | | | | When a block is confirmed, all its txs are permitted to be executed. Therefore, exporting this method provides more and earlier information about txs to be executed, and helps application layer to process txs more efficiently.
* core: Check Witness height. Add ConsensusTime and ConsensusHeight to block. ↵Jimmy Hu2018-10-041-3/+8
| | | | (#170)
* core: update data model to reflect new model (#157)Wei-Ning Huang2018-10-011-24/+6
| | | | | | Update data model: 1) Remove witness ack. 2) Add round to block. 3) Update governance interface.
* core: update governance interface to consider genesis state (#136)Wei-Ning Huang2018-09-251-2/+2
|
* Fix naming of methods (#134)Mission Liao2018-09-251-18/+18
| | | | | | - BlockDeliver -> BlockDelivered - TotalOrderingDeliver -> TotalOrderingDelivered - WitnessAckDeliver -> WitnessAckDelivered - VerifyPayload -> VerifyPayloads
* core: add debug (#133)Mission Liao2018-09-251-0/+174
* Split interface * Rename nonblocking-application to nonblocking Parts needs nonblocking gets more. * Implement core.nonBlocking based on interface split * Fix: the witness parent hash could be parent on compaction chain. * Rename Application.DeliverBlock to BlockDeliver To sync with naming of other methods. * Change methods' fingerprint - BlockConfirmed provides block hash only. - BlockDeliver provde a whole block.