Anton Kaliaev
5bfb9001eb
switch from jmhodges/levigo to DataDog/leveldb
Why:
original fork is abandoned and not supported anymore.
Changes:
- LevelDB 1.19 (LevelDB and Snappy are both compiled and linked statically, so while you will not need them installed on your target machine, you should have a roughly compatible version of libstdc++.)
- snappy and lz4 libs included by default
6 years ago
Anton Kaliaev
38bced2440
[types] add Address to GenesisValidator ( #2418 )
Refs #1714
6 years ago
Zach
4fe9906361
docs: Update README ( #2393 )
* update DOCS_README
* add spec to docs & other lil fixes (#2402 )
6 years ago
Anton Kaliaev
fc7f9bcaf6
rpc: Transform /status result.node_info.other into map ( #2417 )
* [rpc] transform /status result.node_info.other into map
* amino does not support maps, duh
Refs #2391
6 years ago
Ismail Khoffi
8ae3334423
[libs/autofile & db/fsdb] Throw error if file permissions change ( #2286 )
* Enforce file permissions in case they've changed
* test behaviour for autofile
* use testify in tests and rename `fInf` to `fileInfo`
* return an error if file permissions have changed
- if we can't read the file, we'll still panic
* get rid of "github.com/pkg/errors" dependency
* address review comments:
- prefix instead of suffix
- add state to err and construct formatting in Error() method
* address review comments:
- move error to libs/errors
6 years ago
zhangzheng
c6c0b52d0c
tools/tm-bench: bounds check for txSize and improving test cases ( #2410 )
Fixes #2409
6 years ago
Anton Kaliaev
e3e3c13741
[common] revert started flag when service already stopped ( #2326 )
also, return ErrNotStarted when trying to stop a not-running service
6 years ago
Dev Ojha
1ea64fc27f
Make mempool aware of MaxGas requirement ( #2360 )
* Make mempool aware of MaxGas requirement
* update spec
* Add tests
* Switch GasWanted from kv store to persistent kv store
* Fix typo in test name
* switch back to using kvstore, not persistent kv store
6 years ago
Anton Kaliaev
0e1cd88863
Remove ConsensusParams.TxSize and ConsensusParams.BlockGossip ( #2364 )
* remove ConsensusParams.TxSize and ConsensusParams.BlockGossip
Refs #2347
* block part size is now fixed
Refs #2347
* use max data size, not max bytes for tx limit
Refs #2347
6 years ago
Zach
33b4617e9a
docs: update link to rpc ( #2361 )
* md links dont work in slate
* docs: link to rpc
* docs: use unsafe_reset_all
* do not advertise unsafe_reset_priv_validator
6 years ago
Ethan Buchman
503de8c9b8
docs/spec/abci: improve docs on AppHash ( #2363 )
6 years ago
xiaoping
dea4e96f66
fix docs links ( #2352 )
6 years ago
Ethan Buchman
a57aae7072
[ADR] ABCI errors and events ( #2314 )
* Start of ADR
* flesh out abci events and errors adrs
* adr: move 012 to 023
* adr-022: add note from cwgoes
6 years ago
Zach
0bec20a1e3
update readme, clsoes #2357 ( #2359 )
6 years ago
Ethan Buchman
83a7c04bce
Merge pull request #2356 from tendermint/master
Merge master back to develop
6 years ago
Ethan Buchman
d419fffe18
Merge pull request #2350 from tendermint/release/v0.24.0
Release/v0.24.0
6 years ago
Ethan Buchman
c8895dab98
minor note in UPGRADING.md
6 years ago
Ethan Buchman
8b94deca73
Merge pull request #2354 from tendermint/anton/fix-typos-in-spec
Fix typos in spec
6 years ago
Ethan Buchman
4cd2e40fb1
TMBIN -> Amino
6 years ago
Anton Kaliaev
47dc4e6428
fix a few typos in spec
6 years ago
Ethan Buchman
94288006ba
minor fixes
6 years ago
Ethan Buchman
22445a5029
Merge pull request #2349 from tendermint/release/v0.24.0
update UPGRADING.md and minor docs fixes
6 years ago
Ethan Buchman
299d46304d
update UPGRADING.md and minor docs fixes
6 years ago
Ethan Buchman
5106af484f
docs: add abci spec to config.js
6 years ago
Ethan Buchman
114c405120
docs/spec/abci: fixes and more from #2249
6 years ago
Ethan Buchman
246a56283a
Merge pull request #2343 from tendermint/release/v0.24.0
Major spec update to prepare v0.24.0 for release
6 years ago
Ethan Buchman
1144e72c61
docs: refactor ABCI docs
* move spec/software/abci.md to spec/abci/apps.md and improve it
* move some of app-dev/app-development.md to spec/abci/client-server.md
6 years ago
Ethan Buchman
3fd54c5df5
docs/spec/abci: update spec
* better overview section
* section on tags
* remove notes about state/concurrency from CheckTx
* incorporate feedback from #2249
* explain how validator set updates effect future blocks
6 years ago
Ethan Buchman
20c55cffc4
docs: move app-dev/abci-spec.md to spec/abci/abci.md
6 years ago
Ethan Buchman
dea34506fb
types/time: add note about stripping monotonic part
6 years ago
Ethan Buchman
54fe6ef73c
version: add and bump abci version
6 years ago
Ethan Buchman
6fd79d1545
docs/spec/blockchain: remove tags from result for now
6 years ago
Ethan Buchman
8fcabe8b05
docs: fix note about ChainID size
6 years ago
Ethan Buchman
e0fa827a53
docs/spec/blockchain: specify consensus params in state.md
6 years ago
Ethan Buchman
bdf3238710
docs/spec/blockchain: bring blockchain.md up-to-date
6 years ago
Ethan Buchman
ed9e00a8a7
docs/spec/blockchain: fix encoding JSON
6 years ago
Ethan Buchman
604eae86b6
Merge branch 'master' into release/v0.24.0
6 years ago
Ethan Buchman
b616e54c9b
changelog and version
6 years ago
Ethan Buchman
fae21c9f52
linkify changelog pending
6 years ago
Ethan Buchman
8c0c4844b6
Merge pull request #2342 from tendermint/dev/changelog2
add script to add links in changelog
6 years ago
Ethan Buchman
bbc30f992e
Merge pull request #2340 from tendermint/bucky/changelog
name drop external contribs in changelog
6 years ago
Ethan Buchman
91f8af8fd8
docs/spec/blockchain: update vote, signature, time
6 years ago
ValarDragon
0881068d76
add script to add links in changelog
6 years ago
Ethan Buchman
80c217089a
docs/spec/blockchain: remove json tags, dont use HexBytes
6 years ago
Ethan Buchman
61914cf48e
docs/tm-core/using-tm: fix indentation for genesis.validators
6 years ago
Ethan Buchman
4416c9e4bc
fix links in abci readme. fixes #2335
6 years ago
Ethan Buchman
c9510d0f50
name drop external contribs in changelog
6 years ago
Ethan Buchman
892b170818
Bucky/changelog ( #2339 )
* update changelog pending
* fixes from review
6 years ago
Zach
7f6bd5c161
docs & spec: deduplicate block-structure.md ( #2331 )
6 years ago
Anton Kaliaev
eb5cf0f0dd
ignore existing peers in DialPeersAsync ( #2327 )
* ignore existing peers in DialPeersAsync
Fixes #2253
* rename HasPeerWithAddress to IsDialingOrExistingAddress
[breaking] remove Switch#IsDialing
* check if addrBook is nil
to be consistent with other usages of addrBook across Switch
* different log messages for 2 use-cases
6 years ago