Ethan Buchman
abe912c610
FuncSignerAndApp allows custom signer and abci app
2017-09-21 15:50:43 -04:00
Ethan Buchman
66fcdf7c7a
minor fixes
2017-09-21 15:50:43 -04:00
Adrian Brink
4e13a19339
Add ability to construct new instance of Tendermint core from scratch
2017-09-21 15:50:43 -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
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).
2017-09-21 15:50:43 -04:00
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.
2017-09-21 15:50:43 -04:00
Adrian Brink
bf5e956087
Change capitalisation
2017-09-21 15:50:43 -04:00
Adrian Brink
2ccc3326ec
Remove redundant file
2017-09-21 15:50:43 -04:00
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.
2017-09-21 15:50:43 -04:00
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.
2017-09-21 15:50:43 -04:00
Ethan Buchman
b50339e8e7
p2p: sw.AddPeer -> sw.addPeer
2017-09-21 15:47:41 -04:00
Ethan Buchman
8ff5b365dd
Merge pull request #650 from tendermint/consensus_params
...
Consensus params
2017-09-21 15:46:57 -04:00
Ethan Buchman
1f0985689d
ConsensusParams ptr in GenesisDoc for json
2017-09-21 15:22:58 -04:00
Ethan Buchman
3089bbf2b8
Amount -> Power. Closes #166
2017-09-21 14:59:27 -04:00
Ethan Buchman
5feeb65cf0
dont use pointers for ConsensusParams
2017-09-21 14:59:24 -04:00
Ethan Buchman
715e74186c
fixes from review
2017-09-21 14:51:29 -04:00
Ethan Buchman
3a03fe5a15
updated to match adr 005
2017-09-21 14:51:29 -04:00
Ethan Buchman
d343560108
adr: add 005 consensus params
2017-09-21 14:51:29 -04:00
Ethan Buchman
2b6db268cf
genesis json tests and mv ConsensusParams to types
2017-09-21 14:51:29 -04:00
Ethan Buchman
14abdd57f3
genDoc.ValidateAndComplete
2017-09-21 14:51:29 -04:00
Ethan Buchman
1f3e4d2d9a
move PartSetSize out of the config, into ConsensusParams
2017-09-21 14:51:29 -04:00
Ethan Buchman
29bfcb0a31
minor comments/changes
2017-09-21 14:51:29 -04:00
Ethan Buchman
301845943c
Merge pull request #663 from tendermint/readme-update
...
update readme and other files
2017-09-21 12:36:11 -04:00
Ethan Buchman
b0017c5460
update CHANGELOG [ci skip]
2017-09-21 12:34:37 -04:00
Zach
0b61d22652
Merge pull request #664 from tendermint/windows-path
...
use filepath for windows compatibility
2017-09-21 07:34:20 -04:00
Anton Kaliaev
246082368a
add changelog entry [ci skip]
2017-09-20 02:49:51 -04:00
Anton Kaliaev
65a07b80a3
change logger interface to not return errors (Refs #50 )
...
See https://github.com/go-kit/kit/issues/164 for discussion of why
kitlog returns an error.
```
Package log is designed to be used for more than simple application info/warning/error logging; it's suitable for log-structured data in an e.g. Lambda architecture, where each invocation is important. I agree with you that if we were doing only application logging the error would be more noise than signal. But the scope of the package is larger than that.
```
Since we are doing only application logging and we're not checking
errors, it is safe to get rid them.
2017-09-20 02:49:51 -04:00
Ethan Buchman
9a2438e0dc
common: Fingerprint comment
2017-09-20 02:49:51 -04:00
Greg Szabo
94a5087e0f
made setfile playbook faster
2017-09-20 00:33:29 -04:00
Greg Szabo
6e2caf5a06
sudo fix
2017-09-19 23:51:40 -04:00
Greg Szabo
83f49f0dff
Added unzip to packages to install
2017-09-19 23:49:26 -04:00
Greg Szabo
f9ae600a61
Introduced setfile playbook
2017-09-19 23:40:32 -04:00
Greg Szabo
23ad16b90e
Merge pull request #52 from tendermint/lil-fix
...
lil fixes
2017-09-19 14:35:34 -04:00
Zach Ramsay
94f0c7449a
lil fix
2017-09-19 14:32:55 -04:00
Greg Szabo
b818d98875
jsonconfig playbook fix
2017-09-19 14:24:27 -04:00
Greg Szabo
8f657f8862
Added getfile ansible playbook
2017-09-19 13:18:22 -04:00
Greg Szabo
6848f8b407
Introduced jsonconfig task for ansible playbooks
2017-09-19 12:47:05 -04:00
Greg Szabo
7dc7109dc9
config.toml fix
2017-09-19 11:09:04 -04:00
Greg Szabo
2cad2d22fd
Added data folder removal to unsafe reset
2017-09-19 10:58:14 -04:00
Zach Ramsay
70b95135e6
consensus: use filepath for windows compatibility, closes #595
2017-09-18 17:49:43 -04:00
Zach Ramsay
a3d925ac1d
pr fixes
2017-09-18 16:52:00 -04:00
Zach Ramsay
cf9a03f698
docs: organize install a bit better
2017-09-18 16:42:24 -04:00
Ethan Buchman
7f8240dfde
Merge pull request #521 from tendermint/json-rpc-patch
...
updated json response to match spec by @davebryson
2017-09-18 16:37:34 -04:00
Anton Kaliaev
f8b152972f
return method not found error
...
if somebody tries to access WS method in non-ws context
2017-09-18 16:36:03 -04:00
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.
2017-09-18 16:36:03 -04:00
Anton Kaliaev
7fadde0b37
check for request ID after receiving it
2017-09-18 16:36:03 -04:00
Anton Kaliaev
e36c79f713
capitalize RpcError
2017-09-18 16:36:03 -04:00
Anton Kaliaev
2252071866
update changelog
2017-09-18 16:36:03 -04:00
Anton Kaliaev
b700ed8e31
remove check for non-empty message as it should always be present
2017-09-18 16:36:03 -04:00
Anton Kaliaev
e1fd587ddd
we now omit error if empty
2017-09-18 16:36:03 -04:00