Sylvain Bellemare
8219abc552
[docs:typo fix] remove misplaced "the"
2017-10-09 20:06:43 +02:00
Anton Kaliaev
a754009f6b
Merge pull request #60 from tendermint/feature/jenkins
...
Feature/jenkins
2017-10-09 17:39:05 +04:00
Anton Kaliaev
d6a87d3c43
[rpc] DumpConsensusState: output state as json rather than string
...
Before:
```
{
"jsonrpc": "2.0",
"id": "",
"result": {
"round_state": "RoundState{\n H:10 R:0 S:RoundStepNewHeight\n StartTime: 2017-10-09 13:07:24.841134374 +0400 +04\n CommitTime: 2017-10-09 13:07:23.841134374 +0400 +04\n Validators: ValidatorSet{\n Proposer: Validator{EF243CC0E9B88D0161D24D733BDE9003518CEA27 {PubKeyEd25519{2E0B9301334FCDAB193D514022F81BA09BBEC028685C96602BE9DD0BD4F9E202}} VP:10 A:0}\n Validators:\n Validator{EF243CC0E9B88D0161D24D733BDE9003518CEA27 {PubKeyEd25519{2E0B9301334FCDAB193D514022F81BA09BBEC028685C96602BE9DD0BD4F9E202}} VP:10 A:0}\n }\n Proposal: \u003cnil\u003e\n ProposalBlock: nil-PartSet nil-Block\n LockedRound: 0\n LockedBlock: nil-PartSet nil-Block\n Votes: HeightVoteSet{H:10 R:0~0\n VoteSet{H:10 R:0 T:1 +2/3:\u003cnil\u003e BA{1:_} map[]}\n VoteSet{H:10 R:0 T:2 +2/3:\u003cnil\u003e BA{1:_} map[]}\n }\n LastCommit: VoteSet{H:9 R:0 T:2 +2/3:947F67A7B85439AF2CD5DFED376C51AC7BD67AEE:1:365E9983E466 BA{1:X} map[]}\n LastValidators: ValidatorSet{\n Proposer: Validator{EF243CC0E9B88D0161D24D733BDE9003518CEA27 {PubKeyEd25519{2E0B9301334FCDAB193D514022F81BA09BBEC028685C96602BE9DD0BD4F9E202}} VP:10 A:0}\n Validators:\n Validator{EF243CC0E9B88D0161D24D733BDE9003518CEA27 {PubKeyEd25519{2E0B9301334FCDAB193D514022F81BA09BBEC028685C96602BE9DD0BD4F9E202}} VP:10 A:0}\n }\n}",
"peer_round_states": []
}
}
```
After:
```
{
"jsonrpc": "2.0",
"id": "",
"result": {
"round_state": {
"Height": 1691,
"Round": 0,
"Step": 1,
"StartTime": "2017-10-09T14:08:09.129491764+04:00",
"CommitTime": "2017-10-09T14:08:08.129491764+04:00",
"Validators": {
"validators": [
{
"address": "EF243CC0E9B88D0161D24D733BDE9003518CEA27",
"pub_key": {
"type": "ed25519",
"data": "2E0B9301334FCDAB193D514022F81BA09BBEC028685C96602BE9DD0BD4F9E202"
},
"voting_power": 10,
"accum": 0
}
],
"proposer": {
"address": "EF243CC0E9B88D0161D24D733BDE9003518CEA27",
"pub_key": {
"type": "ed25519",
"data": "2E0B9301334FCDAB193D514022F81BA09BBEC028685C96602BE9DD0BD4F9E202"
},
"voting_power": 10,
"accum": 0
}
},
"Proposal": null,
"ProposalBlock": null,
"ProposalBlockParts": null,
"LockedRound": 0,
"LockedBlock": null,
"LockedBlockParts": null,
"Votes": {},
"CommitRound": -1,
"LastCommit": {},
"LastValidators": {
"validators": [
{
"address": "EF243CC0E9B88D0161D24D733BDE9003518CEA27",
"pub_key": {
"type": "ed25519",
"data": "2E0B9301334FCDAB193D514022F81BA09BBEC028685C96602BE9DD0BD4F9E202"
},
"voting_power": 10,
"accum": 0
}
],
"proposer": {
"address": "EF243CC0E9B88D0161D24D733BDE9003518CEA27",
"pub_key": {
"type": "ed25519",
"data": "2E0B9301334FCDAB193D514022F81BA09BBEC028685C96602BE9DD0BD4F9E202"
},
"voting_power": 10,
"accum": 0
}
}
},
"peer_round_states": {
"75EC8F15D244A421202F9725CD4DE509EE50303670310CF7530EF25E2B7C524B": {
"Height": 1691,
"Round": 0,
"Step": 1,
"StartTime": "2017-10-09T14:08:08.563251997+04:00",
"Proposal": false,
"ProposalBlockPartsHeader": {
"total": 0,
"hash": ""
},
"ProposalBlockParts": null,
"ProposalPOLRound": -1,
"ProposalPOL": null,
"Prevotes": null,
"Precommits": null,
"LastCommitRound": 0,
"LastCommit": null,
"CatchupCommitRound": -1,
"CatchupCommit": null
}
}
}
}
```
2017-10-09 14:09:26 +04:00
Anton Kaliaev
a3adac3787
[rpc] do not try to parse params if they were not provided (Refs #708 )
2017-10-09 13:30:52 +04:00
Anton Kaliaev
6544b4fb77
Merge pull request #59 from tendermint/develop
...
Develop
2017-10-06 16:57:26 +04:00
Zach Ramsay
8869363697
update readme info
2017-10-06 16:41:02 +04:00
Anton Kaliaev
38d51cf9cd
[tm-monitor/tm-bench] fewer platforms
...
also update dist command to produce SHA256 sums file
2017-10-06 14:54:59 +04:00
Anton Kaliaev
f73b089e3f
Merge pull request #57 from tendermint/develop
...
add CODEOWNERS
2017-10-06 14:12:59 +04:00
Anton Kaliaev
94ed32b80d
add CODEOWNERS
2017-10-06 14:10:20 +04:00
Anton Kaliaev
47931208b5
Merge pull request #56 from tendermint/develop
...
Merge develop into master
2017-10-06 12:16:21 +04:00
Anton Kaliaev
f927f0a736
Merge branch 'master' into develop
2017-10-06 12:16:07 +04:00
Anton Kaliaev
43f8ea58ba
Merge pull request #44 from tendermint/bugfix/ws-io-timeout
...
update WSClient plus fix IO timeout error
2017-10-06 12:06:01 +04:00
Anton Kaliaev
4c4a945658
[tm-bench] update deps
2017-10-06 12:04:44 +04:00
Anton Kaliaev
769c7d015e
[tm-bench] bump version to 0.2.0
2017-10-06 11:38:31 +04:00
Anton Kaliaev
989ff83c4c
[tm-bench] refactor code
...
- set ID in RPCRequest
- rename get_deps to get_vendor_deps
2017-10-06 11:38:21 +04:00
Anton Kaliaev
9708c66576
[tm-monitor] bump version to 0.3.0
2017-10-06 11:38:13 +04:00
Anton Kaliaev
cd7666c4ce
[tm-monitor] update deps
...
rename get_deps to get_vendor_deps
2017-10-06 11:38:04 +04:00
Greg Szabo
76da726d2a
Changed transaction message size to 250 bytes
2017-10-06 11:36:50 +04:00
Greg Szabo
279d6a0ebb
Typo fix in transacter.go
2017-10-06 11:36:50 +04:00
Greg Szabo
45a7ae2e62
Fixes to tm-bench transaction content
...
- Initialize random with current time as seed so transaction messages are different at every run
- Added hash of hostname to make transactions coming from different hosts different in every case
- Added current time to transaction to make sure that messages are different even if random numbers are the same in subsequent runs
- Shortened the transaction size to 64 bytes from the original 250
2017-10-06 11:36:50 +04:00
Anton Kaliaev
cd5173f9a5
update tm-bench
2017-10-06 11:36:50 +04:00
Anton Kaliaev
e1e50843ed
update tm-monitor
2017-10-06 11:36:49 +04:00
Anton Kaliaev
9667e027f3
[tm-monitor] fix TestNodeConnectionLost test
2017-10-06 11:36:49 +04:00
Anton Kaliaev
42f58ceb4b
[tm-monitor] call latency callback in a separate goroutine
2017-10-06 11:36:49 +04:00
Anton Kaliaev
081bd0805e
[tm-bench] increase pong write timeout by overriding the default handler
2017-10-06 11:36:49 +04:00
Anton Kaliaev
877e8e31f7
[tm-bench] update tm-monitor
2017-10-06 11:36:49 +04:00
Anton Kaliaev
330f38a77a
[tm-monitor] update WSClient
2017-10-06 11:36:49 +04:00
Anton Kaliaev
af04238bb9
[tm-monitor] rename var
2017-10-06 11:36:49 +04:00
Zach
d294200176
Create README.md
2017-10-06 11:36:48 +04:00
Anton Kaliaev
34fe5274e0
take into account status codes by leveraging --fail
curl option (Refs #37 )
2017-10-06 11:36:48 +04:00
Emmanuel Odeke
6fc82f3824
types/heartbeat: test all Heartbeat functions
...
Updates https://github.com/tendermint/tendermint/issues/693
* Adjusted Heartbeat.Copy to return nil on
trying to copy a nil value instead of panicking.
* Also documented that WriteSignBytes panics
if the Heartbeat is nil.
2017-10-05 21:24:36 -06:00
Ethan Buchman
1775be1cd9
remove some assertXxx funcs
2017-10-05 22:19:48 -04:00
Ethan Buchman
bcca27ee20
Merge pull request #718 from tendermint/restore-rpc-lib-readme
...
restore rpc/lib readme as doc.go (Refs #710 ) [ci skip]
2017-10-05 22:08:17 -04:00
Greg Szabo
28c248f747
plugin options added for genesis
2017-10-05 20:34:40 -04:00
Greg Szabo
38f321f843
Makefile typo fix
2017-10-05 15:28:07 -04:00
Greg Szabo
4dfe77416a
MAkefile fixes and debug info, gaia dependency fix
2017-10-05 15:25:51 -04:00
Greg Szabo
2c2164c0ca
public_testnet accounts file typo fix
2017-10-05 10:53:15 -04:00
Greg Szabo
621b67e145
Organized public testnet play coins
2017-10-05 10:22:54 -04:00
Greg Szabo
728ac86ab1
Added version check fix for build process
2017-10-05 09:51:45 -04:00
Anton Kaliaev
3702cb7e7c
restore rpc/lib readme as doc.go (Refs #710 ) [ci skip]
...
I don't want to lose any documentation. Correct me if I am wrong, but we
don't have this docs anywhere else.
2017-10-05 11:44:02 +04:00
Ethan Buchman
49653d3e31
CODEOWNERS file
2017-10-04 23:44:55 -04:00
Ethan Buchman
ddb8430341
Merge pull request #716 from tendermint/unstable
...
Unstable
2017-10-04 23:43:36 -04:00
Greg Szabo
697b71ee8d
Merged config dir fixes
2017-10-04 23:37:46 -04:00
Ethan Buchman
91a3cb0f21
makefile: remove megacheck
2017-10-04 23:20:22 -04:00
Greg Szabo
12baa7c1c5
Package fixes
2017-10-04 23:10:30 -04:00
Ethan Buchman
765c325441
Merge pull request #714 from tendermint/feature/no-block-response
...
Feature/no block response
2017-10-04 22:27:06 -04:00
Ethan Buchman
659768783f
blockchain: fixing reactor tests
2017-10-04 22:26:00 -04:00
Ethan Buchman
e756906a0e
Merge pull request #711 from tendermint/imports
...
get rid of anonymous imports
2017-10-04 22:16:07 -04:00
Zach Ramsay
796024f42f
linting: little more fixes
2017-10-04 18:27:35 -04:00
Zach Ramsay
87cb57c3e5
linting: fixup some stuffs
2017-10-04 18:16:48 -04:00