Revision 1f683188752dde08d7bac8d932efc0bfcf97ece8 authored by Ismail Khoffi on 13 January 2019, 22:56:36 UTC, committed by Ethan Buchman on 13 January 2019, 22:56:36 UTC
* Consistent order fields of Timestamp/BlockID fields in CanonicalVote and CanonicalProposal * update spec too * Introduce and use IsZero & IsComplete: - update IsZero method according to spec and introduce IsComplete - use methods in validate basic to validate: proposals come with a "complete" blockId and votes are either complete or empty - update spec: BlockID.IsNil() -> BlockID.IsZero() and fix typo * BlockID comes first * fix tests
1 parent 1ccc091
File | Mode | Size |
---|---|---|
.circleci | ||
.github | ||
DOCKER | ||
abci | ||
benchmarks | ||
blockchain | ||
cmd | ||
config | ||
consensus | ||
crypto | ||
docs | ||
evidence | ||
libs | ||
lite | ||
mempool | ||
networks | ||
node | ||
p2p | ||
privval | ||
proxy | ||
rpc | ||
scripts | ||
state | ||
test | ||
tools | ||
types | ||
version | ||
.editorconfig | -rw-r--r-- | 280 bytes |
.gitignore | -rw-r--r-- | 481 bytes |
CHANGELOG.md | -rw-r--r-- | 78.0 KB |
CHANGELOG_PENDING.md | -rw-r--r-- | 301 bytes |
CODE_OF_CONDUCT.md | -rw-r--r-- | 4.9 KB |
CONTRIBUTING.md | -rw-r--r-- | 6.9 KB |
Gopkg.lock | -rw-r--r-- | 15.2 KB |
Gopkg.toml | -rw-r--r-- | 2.4 KB |
LICENSE | -rw-r--r-- | 11.1 KB |
Makefile | -rw-r--r-- | 10.5 KB |
README.md | -rw-r--r-- | 6.9 KB |
ROADMAP.md | -rw-r--r-- | 861 bytes |
SECURITY.md | -rw-r--r-- | 1.7 KB |
UPGRADING.md | -rw-r--r-- | 9.1 KB |
Vagrantfile | -rw-r--r-- | 2.0 KB |
appveyor.yml | -rw-r--r-- | 279 bytes |
codecov.yml | -rw-r--r-- | 330 bytes |
docker-compose.yml | -rw-r--r-- | 1.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...