yutianwu
41e2eeee9c
R4R: Split immutable and mutable parts of priv_validator.json ( #2870 )
...
* split immutable and mutable parts of priv_validator.json
* fix bugs
* minor changes
* retrig test
* delete scripts/wire2amino.go
* fix test
* fixes from review
* privval: remove mtx
* rearrange priv_validator.go
* upgrade path
* write tests for the upgrade
* fix for unsafe_reset_all
* add test
* add reset test
2018-12-21 16:58:27 -05:00
Hleb Albau
6353862ac0
2582 Enable CORS on RPC API ( #2800 )
2018-11-14 16:47:41 +04:00
Anton Kaliaev
098681fd91
test searching txs by height
...
Refs #2051
2018-09-05 12:01:38 +04:00
bradyjoestar
5446452b01
pass in NodeKey to NewNode ( #2212 )
...
Fixes #1544
2018-08-15 12:29:45 +04:00
Anton Kaliaev
75a26ebd6d
do not overwrite metrics provider in node#NewNode
...
also, make running Prometheus server optional.
Closes #2019
2018-07-24 16:01:11 +04:00
Ethan Buchman
d55243f0e6
fix import paths
2018-07-01 22:36:49 -04:00
Alexander Simmerl
a605b66c5a
Move abci imports
2018-06-22 07:28:07 +02:00
Anton Kaliaev
fad76e103b
extract metrics to provider, remove height label
2018-06-20 12:38:45 +04:00
Alexander Simmerl
bf370d36c2
Extract priv_validator into first class package
...
This is a maintenance change to move the private validator package out
of the types and to a top-level location. There is no good reason to
keep it under the types and it will more clearly coommunicate where
additions related to the privval belong. It leaves the interface and the
mock in types for now as it would introduce circular dependency between
privval and types, this should be resolved eventually.
* mv priv_validator to privval pkg
* use consistent `privval` as import
Follow-up to #1255
2018-06-03 13:51:58 +02:00
Jae Kwon
fb64314d1c
Review from Anton
2018-04-06 13:46:40 -07:00
Jae Kwon
3ca5292dc9
Fix rpc tests
2018-04-05 21:19:14 -07:00
Jae Kwon
e4492afbad
Merge
2018-04-05 08:17:10 -07:00
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
2018-02-27 18:01:10 +04:00
Ethan Buchman
3ad055ef3a
fix randPort
2017-12-21 16:49:47 -05:00
Anton Kaliaev
07571741c5
[consensus] remove WAL separator (Refs #785 )
...
We don't really need a separator unless we have complex structures
(rows, cells like RDBMS have https://www.sqlite.org/fileformat.html ).
2017-12-07 11:36:46 -06:00
Anton Kaliaev
cb9743e567
dummy app now returns one DeliverTx tag
2017-11-29 20:30:37 -06:00
Anton Kaliaev
69b5da766c
service#Start, service#Stop signatures were changed
...
See https://github.com/tendermint/tmlibs/issues/45
2017-11-29 10:38:58 -06:00
Zach Ramsay
57ea4987f7
linting: apply errcheck part1
2017-11-27 22:39:11 +00:00
Ethan Buchman
194712fd3b
rpc: wait for rpc servers to be available in tests
2017-11-14 21:51:49 +00:00
Ethan Buchman
779c2a22d0
node: NewNode takes DBProvider and GenDocProvider
2017-09-21 15:54:33 -04:00
Ethan Buchman
4382c8d28b
fix tests
2017-09-21 15:52:25 -04:00
Adrian Brink
7dd3c007c7
Refactor priv_validator
...
Users can now just pass an object that implements the Signer interface.
2017-09-21 15:50:43 -04:00
Anton Kaliaev
eaec0c8ea5
deduplicate tests in rpc/test and rpc/client (Refs #496 )
2017-06-16 17:14:27 +04:00
Ethan Buchman
bd7ec18c19
fix tests
2017-05-26 12:17:32 -04:00
Anton Kaliaev
f803544195
new logging
2017-05-13 10:24:58 +02:00
Ethan Buchman
46151720f8
fix tests
2017-05-04 22:46:41 -04:00
Ethan Buchman
6afee8f117
rpc: fix tests
2017-05-04 22:45:13 -04:00
Ethan Buchman
efeadcc0f4
some cleanup from review
2017-04-28 23:18:38 -04:00
Ethan Buchman
4e781961e9
remove TMResult. ::drinks champagne::
2017-04-28 22:26:23 -04:00
Ethan Buchman
07e59e63f9
TMEventDataInner
2017-04-28 17:57:06 -04:00
Ethan Frey
6c60c07f16
BROKEN: attempt to replace go-wire.JSON with json.Unmarshall in rpc
2017-04-28 16:24:06 +02:00
Ethan Frey
f6f1f1992c
Prepare rpc responses for go-data compatibility, still use go-wire
2017-04-28 14:46:04 +02:00
Ethan Buchman
cc6dde96c1
rpc -> rpc/lib and rpc/tendermint -> rpc
2017-04-26 19:57:33 -04:00
Ethan Buchman
992b11c450
premerge2: rpc -> rpc/tendermint
2017-04-21 17:39:56 -04:00
Ethan Buchman
ac86e664c7
Revert "Undo last two commits"
...
This reverts commit d1fc37ff9e8b8034aa3c029fc59f56768f373d73.
2017-04-11 15:44:36 -04:00
Ethan Frey
d1fc37ff9e
Undo last two commits
2017-04-11 12:57:06 +02:00
Ethan Frey
e4e17a2c95
Play well with go-{rpc,crypto,data}:develop
2017-04-10 21:16:41 +02:00
Ethan Frey
cd9ee9d84b
cleanup
2017-02-24 17:05:15 +01:00
Ethan Frey
42a9b847ec
Make all client tests safe to run in parallel
2017-02-24 17:05:15 +01:00
Ethan Frey
7c26be3242
Begin implementation of local client
2017-02-24 17:05:13 +01:00
Ethan Frey
bf1ee89b27
Moved httpclient into subpackage
2017-02-24 17:05:13 +01:00
Ethan Frey
c9d36cd713
Add dependencies, pull out HTTPClient test code
2017-02-24 17:05:13 +01:00
Ethan Frey
d971416d12
collision merge of light-client code
2017-02-24 17:05:12 +01:00
Jae Kwon
9a2dd8bc92
Refactor Node; Node is a simple BaseService
2017-01-15 16:59:10 -08:00
Ethan Buchman
db437e7a45
broadcast_tx via grpc
2016-12-02 00:29:25 -05:00
Ethan Buchman
035ca7ef61
proxy: NewAppConns takes a NewTMSPClient func
2016-09-09 23:55:24 -04:00
Ethan Buchman
3a7ee13ece
proxy: typed app conns
2016-08-24 01:45:45 -04:00
Ethan Buchman
bd429f3d4f
config: all urls use tcp:// or unix:// prefix
2016-08-10 02:16:41 -04:00
Ethan Buchman
a43d53ac6e
rpc/tests: panic dont t.Fatal. use random txs for broadcast
2016-07-11 20:40:24 -04:00
Ethan Buchman
7e3e9ee9d2
rpc: broadcast tests. closes #219
2016-07-05 14:54:33 -04:00