Ethan Buchman
8ae2ffda89
put funcs back in order to simplify review
7 years ago
Ethan Buchman
75b97a5a65
PrivValidatorFS is like old PrivValidator, for now
7 years ago
Ethan Buchman
7b99039c34
make signBytesHRS a method on LastSignedInfo
7 years ago
Ethan Buchman
3ca7b10ad4
types: more . -> cmn
7 years ago
Ethan Buchman
779c2a22d0
node: NewNode takes DBProvider and GenDocProvider
7 years ago
Ethan Buchman
147a18b34a
fix some comments
7 years ago
Ethan Buchman
4382c8d28b
fix tests
7 years ago
Ethan Buchman
944ebccfe9
more PrivValidator interface
7 years ago
Ethan Buchman
fd1b0b997a
PrivValidator interface
7 years ago
Ethan Buchman
abe912c610
FuncSignerAndApp allows custom signer and abci app
7 years ago
Ethan Buchman
66fcdf7c7a
minor fixes
7 years ago
Adrian Brink
4e13a19339
Add ability to construct new instance of Tendermint core from scratch
7 years ago
Adrian Brink
7dd3c007c7
Refactor priv_validator
Users can now just pass an object that implements the Signer interface.
7 years ago
Duncan Jones
0d392a0442
Allow Signer to be generated with priv key
Prior to this change, a custom Signer would have no knowledge of the private
key stored in the configuration file. This changes introduces a generator
function, which creates a Signer based on the private key. This provides an
opportunity for customer Signers to adjust behaviour based on the key
contents. (E.g. imagine key contents are a key label, rather than the key
itself).
7 years ago
Duncan Jones
7e4a704bd1
Remove reliance on default Signer
This change allows the default privValidator to use a custom Signer
implementation with no reliance on the default Signer implementation.
7 years ago
Adrian Brink
bf5e956087
Change capitalisation
7 years ago
Adrian Brink
2ccc3326ec
Remove redundant file
7 years ago
Adrian Brink
83f7d5c95a
Setup custom tendermint node
By exporting all of the commands, we allow users to setup their own
tendermint node cli. This enables users to provide a different
pivValidator without the need to fork tendermint.
7 years ago
Adrian Brink
2c129447fd
Example that showcases how to build your own tendermint node
This example shows how a user of the tendermint library can build their
own node and supply it with its own commands. It includes two todos in
order to make it easier for library users to use tendermint.
7 years ago
Ethan Buchman
b50339e8e7
p2p: sw.AddPeer -> sw.addPeer
7 years ago
Ethan Buchman
8ff5b365dd
Merge pull request #650 from tendermint/consensus_params
Consensus params
7 years ago
Ethan Buchman
1f0985689d
ConsensusParams ptr in GenesisDoc for json
7 years ago
Ethan Buchman
3089bbf2b8
Amount -> Power. Closes #166
7 years ago
Ethan Buchman
5feeb65cf0
dont use pointers for ConsensusParams
7 years ago
Ethan Buchman
715e74186c
fixes from review
7 years ago
Ethan Buchman
3a03fe5a15
updated to match adr 005
7 years ago
Ethan Buchman
d343560108
adr: add 005 consensus params
7 years ago
Ethan Buchman
2b6db268cf
genesis json tests and mv ConsensusParams to types
7 years ago
Ethan Buchman
14abdd57f3
genDoc.ValidateAndComplete
7 years ago
Ethan Buchman
1f3e4d2d9a
move PartSetSize out of the config, into ConsensusParams
7 years ago
Ethan Buchman
29bfcb0a31
minor comments/changes
7 years ago
Ethan Buchman
301845943c
Merge pull request #663 from tendermint/readme-update
update readme and other files
7 years ago
Ethan Buchman
b0017c5460
update CHANGELOG [ci skip]
7 years ago
Zach
0b61d22652
Merge pull request #664 from tendermint/windows-path
use filepath for windows compatibility
7 years ago
Zach Ramsay
70b95135e6
consensus: use filepath for windows compatibility, closes #595
7 years ago
Zach Ramsay
a3d925ac1d
pr fixes
7 years ago
Zach Ramsay
cf9a03f698
docs: organize install a bit better
7 years ago
Ethan Buchman
7f8240dfde
Merge pull request #521 from tendermint/json-rpc-patch
updated json response to match spec by @davebryson
7 years ago
Anton Kaliaev
f8b152972f
return method not found error
if somebody tries to access WS method in non-ws context
7 years ago
Anton Kaliaev
95875c55fc
ID must be present in both request and response
from the spec:
This member is REQUIRED.
It MUST be the same as the value of the id member in the Request Object.
If there was an error in detecting the id in the Request object (e.g. Parse error/Invalid Request), it MUST be Null.
7 years ago
Anton Kaliaev
7fadde0b37
check for request ID after receiving it
7 years ago
Anton Kaliaev
e36c79f713
capitalize RpcError
8 years ago
Anton Kaliaev
2252071866
update changelog
8 years ago
Anton Kaliaev
b700ed8e31
remove check for non-empty message as it should always be present
8 years ago
Anton Kaliaev
e1fd587ddd
we now omit error if empty
8 years ago
Anton Kaliaev
f74de4cb86
include optional data field in error object
```
data
A Primitive or Structured value that contains additional information about the error.
This may be omitted.
The value of this member is defined by the Server (e.g. detailed error information, nested errors etc.).
```
8 years ago
Anton Kaliaev
6c1572c9b8
fix invalid memory address or nil pointer dereference
8 years ago
Dave Bryson
60a1f49a5c
updated json response to match spec by @davebryson
8 years ago
Zach Ramsay
740167202f
readme & al., update links to docs
7 years ago
Ethan Buchman
e0017c8a97
Merge pull request #654 from tendermint/docs-add-tools
consolidate docs from tools repo
7 years ago