Anton Kaliaev
96ae535fb8
proto3 timestamp ( #2064 )
This PR changes ABCI time format from int64 (Unix seconds) to WKT (WellKnownType) google.protobuf.Timestamp.
Refs #1857
Reasons:
better precision
standard DT for proto
* update Gopkg.lock
* [makefile] remove extra grep
- go list excludes vendor by default now
* proto3 timestamp
* [docs/abci-spec] note about serialisation format
* make time non-nullable
6 years ago
Ethan Buchman
15b112e669
mempool: chan bool -> chan struct{}
6 years ago
srmo
e36ce6f893
fix race condition on proposal height for published txs ( #2021 )
* #1920 try to fix race condition on proposal height for published txs
- related to create_empty_blocks=false
- published height for accepted tx can be wrong (too low)
- use the actual mempool height + 1 for the proposal
- expose Height() on mempool
* #1920 add initial test for mempool.Height()
- not sure how to test the lock
- can the mutex reference be of type Locker?
-- this way, we can use a "mock" of the mutex to test triggering
* #1920 use the ConsensusState height in favor of mempool
- gets rid of indirections
- doesn't need any "+1" magic
* #1920 cosmetic
- if we use cs.Height, it's enough to evaluate right before propose
* #1920 cleanup TODO and non-needed code
* #1920 add changelog entry
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
Alexander Simmerl
a605b66c5a
Move abci imports
6 years ago
Liamsi
d2c05bc5b9
Revert "delete everything" (includes everything non-go-crypto)
This reverts commit 96a3502
7 years ago
Liamsi
96a3502126
delete everything
7 years ago
Anton Kaliaev
84812145cb
friendly apis for constructors
7 years ago
Anton Kaliaev
7efb73aa18
mempool size metric
7 years ago
Zach
2cc63069c6
rename dummy to kvstore ( #1223 )
* remove accidental binary
* docs: s/Dummy&dummy/KVStore&kvstore/g
* glide update to abci
* update abci import paths
* dummy begone, hello kvstore
* RequestInitChain needs genesisBytes
* glide update
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
Ethan Buchman
f06cc6630b
mempool: cfg.CacheSize and expose InitWAL
7 years ago
Ethan Buchman
d2db202a2d
mempool: assert -> require in test
7 years ago
Ethan Buchman
9af8da7aad
update for new abci int types
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
Anton Kaliaev
1e19860585
fixes from my own review
7 years ago
Anton Kaliaev
f65e357d2b
adapt Tendermint to new abci.Client interface
which was introduced in https://github.com/tendermint/abci/pull/130
7 years ago
Anton Kaliaev
69b5da766c
service#Start, service#Stop signatures were changed
See https://github.com/tendermint/tmlibs/issues/45
7 years ago
Emmanuel Odeke
3595b5931a
mempool: implement Mempool.CloseWAL
Fixes https://github.com/tendermint/tendermint/issues/890
Add a CloseWAL method to Mempool to close the underlying WAL file
and then discard it so that further writes to it will have no effect.
7 years ago
Zach Ramsay
68e7983c70
linting errors: afew more
7 years ago
Zach Ramsay
331857c9e6
linting: apply errcheck part2
7 years ago
Ethan Buchman
88138c38cf
mempool: reactor test
7 years ago
Ethan Buchman
c5a657f540
consensus: test proposal heartbeat
7 years ago
Ethan Buchman
3444bee47f
fixes from review; use mempool.TxsAvailable() directly
7 years ago
Ethan Buchman
678a9a2e42
TxsAvailable tests
7 years ago
Anton Kaliaev
91dc87e7c4
update for a new ABCI API
8 years ago
Anton Kaliaev
f803544195
new logging
8 years ago
Ethan Buchman
46151720f8
fix tests
8 years ago
Ethan Buchman
4982cb4d1f
fix tests for state and mempool
8 years ago
Ethan Buchman
94b6dd65ee
AppendTx -> DeliverTx
8 years ago
Ethan Buchman
c147b41013
TMSP -> ABCI
8 years ago
Ethan Buchman
a07063f119
add test for mempool deadlock
8 years ago
Jae Kwon
ad17090a0f
No global config
9 years ago
Ethan Buchman
501c4e4bac
fixes from review
9 years ago
Jae Kwon
a8ee0377d5
Use tmsp.Client interface
9 years ago
Jae Kwon
8183e3201b
CommitSync() returns tmsp.Result
9 years ago
Jae Kwon
de6f76758d
Group (code,data,log) return values into types.Result
9 years ago
Jae Kwon
2c1504f93c
Reap takes maxTxs
9 years ago
Jae Kwon
03115cbf93
Fix tests; Tests run in their own directory
9 years ago
Ethan Buchman
c9ec9cf00e
config: block size, consensus timeouts, recheck tx
9 years ago
Jae Kwon
d31d3c58ad
Recheck txs
9 years ago
Jae Kwon
d17d4fa106
Fix tmsp/example import paths
9 years ago
Jae Kwon
a6d37a49a2
s/GetHash/Commit/g
9 years ago
Jae Kwon
a4f57e164b
BroadcastTx results
9 years ago
Jae Kwon
f1b48ff009
Use protobuf enums for CodeType
9 years ago
Jae Kwon
236c7afe9e
Conform to TMSP v0.2
9 years ago
Jae Kwon
3e3c0083c7
Make order be decided first; Remove TMSP Commit/Rollback
9 years ago