Commit Graph

5034 Commits

Author SHA1 Message Date
Zach 7f20eb5f8e generate RPC docs using Slate (#1612)
* generate RPC docs using Slate (#691)

* update changelog

* skip if branch not develop

* slate: only build if rpc/core has changes

* fetch develop to compare against

* slate: build on master only

* [rpc/core] use original repo, not fork in README
2018-05-25 15:59:24 +04:00
Anton Kaliaev eeabb4c06b
Merge pull request #1607 from tendermint/1600-wal-bug
[wal] small fixes in SearchEndHeight & replay logic
2018-05-25 15:41:57 +04:00
Anton Kaliaev 4da81aa0b7
commented out TestPEXReactorRunning 2018-05-25 15:11:32 +04:00
Anton Kaliaev 67068a34f2
log requesting addresses 2018-05-25 15:11:32 +04:00
Anton Kaliaev 2a0e9f93ce
provide arg to error
BEFORE:

```
E[05-24|11:55:37.229] Dialing failed                               pex=0 addr=022ec801d79025caab3afbbf816d92ff8450d040@127.0.0.2:6593 err="Connect to self: <nil>" attempts=0
```

AFTER:

```
E[05-24|11:55:37.229] Dialing failed                               pex=0 addr=022ec801d79025caab3afbbf816d92ff8450d040@127.0.0.2:6593 err="Connect to self: 022ec801d79025caab3afbbf816d92ff8450d040@127.0.0.2:6593" attempts=0
```
2018-05-25 15:11:32 +04:00
Anton Kaliaev 708f35e5c1
do not look for height in older files if we've seen height - 1
Refs #1600
2018-05-25 15:11:15 +04:00
Anton Kaliaev f3f5c7f472
we must only return io.EOF to progress to the next file in auto.Group
since we never write msg partially, if we've encountered io.EOF in the
middle of the msg, we must abort
2018-05-25 15:10:51 +04:00
Anton Kaliaev 68f6226bea
data is corrupted, but this requires manual intervention
i.e., can't be skipped

and we should only return DataCorruptionError if we can skip a msg safely
2018-05-25 15:10:51 +04:00
Anton Kaliaev 118b86b1ef
fix nil panic error
msg is nil and if we continue executing, we'll get nil exception at
`msg.Msg.(....)`
2018-05-25 15:10:51 +04:00
Anton Kaliaev b9afcbe3a2
fix typo 2018-05-25 15:10:51 +04:00
Anton Kaliaev a885af0826
Merge pull request #1574 from tendermint/847-separate-internal-pubsub
[pubsub] Prioritise internal subscribers (e.g. reactor) over external (e.g. RPC)
2018-05-24 21:09:56 +04:00
vrde 707d27c11e Fix dead link in README.md (#106)
* Fix dead link in README.md
2018-05-24 16:57:37 +02:00
Ethan Buchman 6334b3a501 fix makefile 2018-05-24 00:17:46 -04:00
Ethan Buchman 01f87fd8d3 remove gogoproto 2018-05-24 00:13:43 -04:00
Ethan Buchman cfdec76020 update everything for Params and Result types 2018-05-23 23:27:46 -04:00
Ethan Buchman 5830c338ae Application uses new ParamsXxx and ResultXxx Types 2018-05-23 22:49:46 -04:00
Ethan Buchman 07a9ddb2d5 result.go is json.go and codetype.go 2018-05-23 22:49:13 -04:00
Ethan Buchman fac6bcd19e consolidate util.go and pubkey.go to validator.go 2018-05-23 22:46:15 -04:00
Ethan Buchman 3d4f3bbbdd varint -> uvarint for length prefix 2018-05-23 22:46:13 -04:00
Ethan Buchman 927c16281c
Merge pull request #245 from tendermint/bucky/validator-types
Request/ResponseValidator, update Header
2018-05-23 22:18:45 -04:00
Ethan Buchman 3dbdc87edb protoc and update everything 2018-05-23 22:24:39 -04:00
Ethan Buchman 8bb04d7ef7 Validator and SignedValidator 2018-05-23 22:20:24 -04:00
Ethan Buchman 3a947b0117
Merge pull request #1619 from tendermint/zach/cleaner-repo
clean up links & spec docs
2018-05-23 21:09:15 -04:00
Ethan Buchman caf5afc084
Merge pull request #1520 from tendermint/bucky/p2p-same-ip
p2p: prevent connections from same ip
2018-05-23 20:57:17 -04:00
Ethan Buchman f0b1f6e8ac
Merge pull request #98 from zmanian/xChaChaPoly1035
Implementation of xchacha20poly1035 aead
2018-05-23 18:42:17 -04:00
Zaki Manian 05a5294e52 Remove panic and check the round trip 2018-05-24 00:12:54 +02:00
Zaki Manian 384f1e399a Fixed the directory name and added a test vector 2018-05-23 23:54:26 +02:00
Zach Ramsay 2aa5285c66 fix from self-review 2018-05-23 10:08:57 -04:00
Zach Ramsay b166831fb5 link to both consensus specs 2018-05-23 10:05:03 -04:00
Zach Ramsay 423fef1416 docs: use absolute links (#1617) 2018-05-23 10:01:32 -04:00
Zach Ramsay b4d10b5b91 consensus: link to spec from readme (#1609) 2018-05-23 09:41:54 -04:00
Ethan Buchman 6f1bfb6280
Merge pull request #1616 from tendermint/zach/no-debora
remove debora scripts
2018-05-23 08:43:22 -04:00
Ethan Buchman 5e7177053c
Merge pull request #1611 from tendermint/zach/dead-links
fix dead links & other doc updates
2018-05-23 08:42:25 -04:00
Zach Ramsay a0201e7862 docker readme: update 2018-05-23 08:28:55 -04:00
Zach Ramsay 126ddca1a6 remove debora scripts (#1610) 2018-05-23 08:01:07 -04:00
Alexander Simmerl 186d38dd8a
Use different loopback addresses for test switch 2018-05-23 02:36:48 +02:00
Alexander Simmerl 01fd102dba
Incoporate review feedback 2018-05-23 01:56:03 +02:00
Alexander Simmerl e11f3167ff
Fix pex reactor test 2018-05-23 01:35:03 +02:00
Alexander Simmerl 7d98cfd3d6
Test duplicate IP guard in peer set 2018-05-23 01:24:27 +02:00
Alexander Simmerl 4848e88737
Fix persistent peer switch test 2018-05-23 00:24:40 +02:00
Zach Ramsay 60d7486de2 docs: fix dead links, closes #1608 2018-05-22 14:46:56 -04:00
Ethan Buchman c2636c3c6b tmhash: add Sum function 2018-05-22 13:04:42 -04:00
Ethan Buchman 4663ffdf08 add tmhash 2018-05-22 12:49:44 -04:00
Ethan Buchman 134fdf7169 bring in merkle from tmlibs 2018-05-22 12:43:44 -04:00
Zaki Manian f9b0820752
Merge branch 'develop' into xChaChaPoly1035 2018-05-22 05:47:05 -07:00
Zaki Manian 8423f6ef5a Add the libsodium test vector 2018-05-21 20:45:36 -07:00
Ethan Buchman 229c18f1bd Merge branch 'master' into develop 2018-05-21 16:13:11 -04:00
Alexander Simmerl 91b6d3f18c
Do not set address for self error 2018-05-21 18:47:14 +02:00
Alexander Simmerl 20e9dd0737
Return fake IP even when there is no conn 2018-05-21 17:55:40 +02:00
Alexander Simmerl 7b02b5b66b
Add RemoteIP to test implementation 2018-05-21 17:41:34 +02:00