Dev Ojha
2756be5a59
libs: Remove usage of custom Fmt, in favor of fmt.Sprintf ( #2199 )
* libs: Remove usage of custom Fmt, in favor of fmt.Sprintf
Closes #2193
* Fix bug that was masked by custom Fmt!
6 years ago
Zach Ramsay
44dad6d70b
Revert "detele everything"
This reverts commit d02c5d1e30
.
6 years ago
Zach Ramsay
d02c5d1e30
detele everything
6 years ago
Ethan Buchman
d55243f0e6
fix import paths
6 years ago
Liamsi
d2c05bc5b9
Revert "delete everything" (includes everything non-go-crypto)
This reverts commit 96a3502
6 years ago
Liamsi
96a3502126
delete everything
6 years ago
Ethan Buchman
c68d406195
fix tests
7 years ago
Jae Kwon
fb64314d1c
Review from Anton
7 years ago
Jae Kwon
e4492afbad
Merge
7 years ago
Jae Kwon
1b9323f105
Fix blockchain tests
7 years ago
Jae Kwon
196f8410ba
WIP commit; Fix types/results_test
7 years ago
Anton Kaliaev
bcf54b0aa3
PanicSanity is deprecated
7 years ago
Ethan Buchman
cd0fd06b0d
update for sdk2 libs. need to fix kv test
NOTE we only updating for tmlibs and abci
7 years ago
Adrian Brink
a30315276b
Formatting and documentation
7 years ago
Emmanuel Odeke
2da5299924
blockchain: less fragile and involved tests for blockstore
With feedback from @ebuchman , to make the tests nicer
and less fragile.
7 years ago
Emmanuel Odeke
05f30b3e28
blockchain: updated store docs/comments from review
7 years ago
Ethan Buchman
116a61beb1
blockchain: update store comments
7 years ago
Emmanuel Odeke
8c86bb8024
blockchain: add tests and more docs for BlockStore
Add tests to test store, to the fullest reasonable extent for
paths that can taken by input arguments altering internal behavior,
as well as by mutating content in the DB.
7 years ago
Anton Kaliaev
922af7c405
int64 height
uint64 is considered dangerous. the details will follow in a blog post.
7 years ago
Anton Kaliaev
b3492356e6
uint64 height (Refs #911 )
7 years ago
Zach Ramsay
d7cb291fb2
errcheck; sort some stuff out
7 years ago
Zach Ramsay
46ccbcbff6
linting: apply 'gofmt -s -w' throughout
7 years ago
Ethan Buchman
2802a06a08
blockchain/store: comment about panics
7 years ago
Anton Kaliaev
1971e149fb
ChainID() and Params() do not return errors
- remove state#GenesisDoc() method
7 years ago
Emmanuel Odeke
7939d62ef0
all, state: unexpose GenesisDoc, ChainID fields make them accessor methods
Fixes #671
Unexpose GenesisDoc and ChainID fields to avoid them being
serialized to the DB on every block write/state.Save()
A GenesisDoc can now be alternatively written to the state's
database, by serializing its JSON as a value of key "genesis-doc".
There are now accessors and a setter for these attributes:
- state.GenesisDoc() (*types.GenesisDoc, error)
- state.ChainID() (string, error)
- state.SetGenesisDoc(*types.GenesisDoc)
This is a breaking change since it changes how the state's
serialization and requires that if loading the GenesisDoc entirely
from the database, you'll need to set its value in the database
as the GenesisDoc's JSON marshaled bytes.
7 years ago
Ethan Buchman
d1926bcad1
use tmlibs
8 years ago
Ethan Buchman
99b068b313
BlockMeta uses BlockID
8 years ago
Ethan Buchman
c9698e4848
fixes from review
8 years ago
Ethan Buchman
b2376058a1
blockchain: thread safe store.Height()
8 years ago
Jae Kwon
6f88d04ac4
call db.SetSync when necessary
8 years ago
Ethan Buchman
655b6300f5
val set changes
8 years ago
Jae Kwon
f17c4c1d57
s/Validation/Commit/g
9 years ago
Jae Kwon
d69b5c5ab6
Conform to go-wire 1.0
9 years ago
Jae Kwon
c4ed55d801
Refactor to move common libraries out of project
9 years ago
Jae Kwon
3be3647dc8
tendermint/binary -> tendermint/wire
9 years ago
Ethan Buchman
8e50bf15de
panic wrapper functions
9 years ago
Ethan Buchman
a7ecdd10de
Merge from panic branch
10 years ago
Jae Kwon
9965dd5de6
uint* to int* whereever appropriate; https://www.reddit.com/r/golang/comments/2q5vdu/int_vs_uint/
10 years ago
Jae Kwon
9b96e2e171
ProposalPOLRound...
10 years ago
Jae Kwon
7752405945
Draft of consensus/reactor refactor.
10 years ago
Jae Kwon
01b5540ffe
consensus/state is 2-step asynchronous
10 years ago
Jae Kwon
13b6508ecd
Package import path change
10 years ago
Ethan Buchman
60f166e823
tendermint2
10 years ago
Jae Kwon
08a83aa9fb
Reactors can be stopped or started at any time.
10 years ago
Jae Kwon
87e1f76324
tendermint/block -> tendermint/types and tendermint/blockchain
10 years ago
Jae Kwon
135894ea88
Dot import -> named import
Changed modulename_ to short module names
Also removed Unreader, replaced with PrefixdReader in select locations
10 years ago
Jae Kwon
4a81b06b6e
Send SeenValidation to peer & use for proposals when we don't have LastCommits due to reboot
10 years ago
Jae Kwon
b25b61438d
blockchain & block rpc handlers
10 years ago
Jae Kwon
0bfb389b35
change logger to log15
10 years ago
Jae Kwon
5bace5cce8
Unreader to unread bytes
10 years ago