Commit Graph

7387 Commits

Author SHA1 Message Date
695266e907 Merge pull request #844 from tendermint/bunch-up-p2p.AddrBook-wg-calls
p2p: comment on the wg.Add before go saveRoutine()
2017-11-14 17:18:27 +00:00
3bd8782ab2 server: minor refactor 2017-11-14 17:10:22 +00:00
3972635c23 Merge pull request #129 from paulrd/patch-1
Wrong 'error' variable is being read in socket_server.go
2017-11-14 16:54:49 +00:00
3db44dacae Merge pull request #840 from tendermint/fix/tests
Fix/tests
2017-11-14 15:48:17 +00:00
62c1bc0a20 p2p: comment on the wg.Add before go saveRoutine()
Just noticed while auditing the code in p2p/addrbook.go,
wg.Add(1) but no subsequent defer.
@jaekwon and I had a discussion offline and we agreed to
comment about why the code was that way and why
we shouldn't move the wg.Add(1) into .saveRoutine() because
if go a.saveRoutine() isn't started before anyone invokes
a.Wait(), then we'd have raced a.saveRoutine().
2017-11-13 18:14:58 -07:00
2649c056cd Minor cleanup 2017-11-13 14:54:14 +01:00
9d78be41b5 Update tmlibs to sdk-develop, fix broken test 2017-11-13 14:41:00 +01:00
2d4544d6ce Tests compile 2017-11-13 14:36:43 +01:00
4173d1031e go build compiles 2017-11-13 14:36:43 +01:00
9ef978c5ec Fix errors except for es missing 2017-11-13 14:36:43 +01:00
946c9c573e Handle generating keys 2017-11-13 14:36:43 +01:00
ac841a6124 Fixed imports 2017-11-13 14:36:43 +01:00
a2583e2783 Draft of suggested changes 2017-11-13 14:36:43 +01:00
3863885c71 WIP: begin parallel refactoring with go-wire Write methods and MConnection 2017-11-12 22:11:15 -08:00
7dbf69df7d Merge pull request #132 from tendermint/use-makefile-commands-in-readme
use Makefile commands in readme [ci skip]
2017-11-12 22:31:55 -05:00
64c756de47 use Makefile commands in readme [ci skip] 2017-11-12 22:30:41 -05:00
238e2b72ee Merge pull request #834 from tendermint/829-enable-logs-by-default
Enable logs by default
2017-11-12 07:06:14 +00:00
a65ab3b0e0 Merge pull request #838 from tendermint/docker
docker update || 0.12.0
2017-11-12 06:51:01 +00:00
aba8a8f4fc consensus: crank timeout in timeoutWaitGroup 2017-11-12 06:41:15 +00:00
0448c2b437 consensus: fix LastCommit log 2017-11-12 06:40:27 +00:00
0ada0cf525 certifiers: test uses WaitForHeight 2017-11-12 00:43:16 +00:00
56e51bc113 CacheWrap() -> CacheDB() CacheDB 2017-11-11 17:37:30 -05:00
2442a0a698 Merge pull request #78 from tendermint/editorconfig
add .editorconfig
2017-11-11 11:32:59 -05:00
4ea6340f1a add .editorconfig 2017-11-11 11:25:30 -05:00
7fa12662c4 check whatever we can read from the channel
```
panic: interface conversion: interface {} is nil, not types.TMEventData

goroutine 7690 [running]:
github.com/tendermint/tendermint/consensus.waitForAndValidateBlock.func1(0xc427727620, 0x3)
        /go/src/github.com/tendermint/tendermint/consensus/reactor_test.go:292 +0x62b
created by github.com/tendermint/tendermint/consensus.timeoutWaitGroup
        /go/src/github.com/tendermint/tendermint/consensus/reactor_test.go:349 +0xa4
exit status 2
FAIL    github.com/tendermint/tendermint/consensus      38.614s

```
2017-11-10 18:16:31 -05:00
bc9c4e8dee update readme [ci skip] 2017-11-10 15:38:32 -05:00
8004af2519 update docker readme 2017-11-10 15:17:13 -05:00
21e87ebc11 update Go version to 1.9.2 2017-11-10 15:10:52 -05:00
70d8afa6e9 update Dockerfile 2017-11-10 15:09:38 -05:00
847f865438 Merge pull request #836 from tendermint/fix/tests
consensus: make mempool_test deterministic
2017-11-10 05:08:54 +00:00
2cda777900 consensus: make mempool_test deterministic 2017-11-09 23:54:02 +00:00
8481c49c82 CacheDB (#67)
* Add CacheDB & SimpleMap
* Generic memBatch; Fix cLevelDB tests
* CacheWrap() for CacheDB and MemDB
* Change Iterator to match LeviGo Iterator
* Fixes from review
* cacheWrapWriteMutex and some race fixes
* Use tmlibs/common
* NewCWWMutex is exposed.  DB can be CacheWrap'd
* Remove GetOK, not needed
* Fsdb (#72)
* Add FSDB
* Review fixes from Anton
* Review changes
* Fixes from review
2017-11-09 17:42:32 -05:00
0f96d5d1f6 Merge pull request #126 from tendermint/124-version-command
version command
2017-11-09 17:08:02 -05:00
432a7276e2 [test_integrations] enable logs from peers by default (Refs #829) 2017-11-09 15:19:49 -05:00
533f7c45eb fix bash linter warnings for atomic_broadcast integration test 2017-11-09 14:58:16 -05:00
a1cdc2b68a set logger for peer's MConnection 2017-11-09 14:57:40 -05:00
9c4d533695 Merge pull request #833 from tendermint/fix/consensus-tests
consensus: fix for initializing block parts during catchup
2017-11-09 19:04:21 +00:00
ad03491ee6 remove duplicated key 2017-11-09 13:37:29 -05:00
4b9dfc8990 consensus: fix for initializing block parts during catchup 2017-11-09 18:14:41 +00:00
43c64163d8 Update socket_server.go
This is likely related to #125
2017-11-09 13:16:35 -04:00
862d7eb82c ulimit in ansible fix 2017-11-09 11:19:06 -05:00
a46f64cd1e Merge pull request #824 from tendermint/bugfix/node_test
rewrite node test to use new pubsub
2017-11-09 01:35:35 +00:00
10e1233f14 fix megacheck issues 2017-11-08 17:29:15 -05:00
430c49ea14 update deps 2017-11-08 17:20:20 -05:00
5efe88cd10 simplify Makefile install and build commands 2017-11-08 17:20:20 -05:00
ecb1f02f77 add version cmd (Refs #124) 2017-11-08 17:20:10 -05:00
b1e7163689 rewrite node test to use new pubsub 2017-11-08 13:12:48 -05:00
c931279960 p2p: some fixes re @odeke-em issues #813,#816,#817 2017-11-08 17:54:29 +00:00
12b25fdf6e blockchain: add comment in AddPeer. closes #666 2017-11-08 02:42:27 +00:00
176c2ceed6 Merge pull request #77 from tendermint/18-unsupported-value-type
encode complex types as "%+v"
2017-11-07 21:29:54 -05:00