| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement K-Level Total ordering algorithm
Besides algorithm implementation,
these concepts are also included:
The candidate set and ackingStatusVector of
each candidate won't be recalculated upon
receiving each block.
Make the component to calculate total ordering
more self-contained. The access to block status
is only required when receiving a new block.
|
| |
|
|
|
|
|
| |
* Refactor and add acking module
Extract acking module for unit testing. This commit splits functions
into small pieces for better understanding and easy unit testing.
|
| | |
|
| |
|
| |
Ignore build in .gitignore.
|
| |
|
| |
Use cache to do `dep ensure` faster in circleci.
|
| |
|
| |
Verify the Total Ordering Algorithm in peerServer in tcp mode.
|
| |
|
| |
Added rule "format" and "check-format" in GNUmakefile.
|
| | |
|
| |
|
|
|
|
| |
Outputs of total ordering are sorted by hash value in blocklattice.go,
but was checked orderly in test, which the order might change due to
random hash.
Added common.Hashes.
|
| |
|
|
|
|
| |
* Add test to cover blockdb.syncIndex
* Test GetByValidatorAndHeight after syncIndex
|
| | |
|
| |
|
|
|
|
| |
* simulation: fix tcp-local network simulation
* fixup
|
| | |
|
| |
|
| |
simulation: implement simulation on a real network
|
| |
|
|
|
|
|
|
|
| |
* core: refactor acking relationship
Use AckBy only, and remove IndirectAcks.
Also fix the issue where validator is not filling Height when proposing
block.
|
| | |
|
| |
|
|
| |
* add README
|
| |
|
|
|
| |
* Fix typos and add .gitignore
* Add more rule on .gitignore
|
| |
|