Ethan Buchman
fd1b0b997a
PrivValidator interface
7 years ago
Ethan Buchman
abe912c610
FuncSignerAndApp allows custom signer and abci app
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
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
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
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
90c0267bc1
types: privVal.Sign returns an error
7 years ago
Ethan Buchman
c5a657f540
consensus: test proposal heartbeat
7 years ago
Ethan Buchman
d0965cca05
forgot heartbeat file
7 years ago
Ethan Buchman
ab753abfa0
Proposer->Proposal; sign heartbeats
7 years ago
Ethan Buchman
530626dab7
broadcast proposer heartbeat msg
7 years ago
Ethan Buchman
3444bee47f
fixes from review; use mempool.TxsAvailable() directly
7 years ago
Ethan Buchman
678a9a2e42
TxsAvailable tests
7 years ago
Ethan Buchman
4beac54bd9
no empty blocks
7 years ago
Ethan Buchman
525fc0ae5b
types: block comments
7 years ago
Ethan Buchman
3065059da7
update changelog
7 years ago
Ethan Buchman
12c084c8c0
ParseGenesisFile -> types.GenesisDocFromFile
7 years ago
Ethan Frey
e4caf96bcb
Calculate validator hash from genesis doc
7 years ago
zramsay
bf5181d9ca
address PR comments
8 years ago
zramsay
cf31f8d06f
core: apply megacheck vet tool (unused, gosimple, staticcheck)
8 years ago
Ethan Buchman
42626d9e16
[types] overwrite pubkey/addr in LoadPrivValidator. closes #500
8 years ago
Ethan Buchman
6a30a902c9
[types] more []byte->data.Bytes and some %X->%v
8 years ago
Ethan Buchman
6d83c60c40
[types] dont hash validator.Accum
8 years ago
Ethan Buchman
e1792c1ea5
fix tx string format take 2
8 years ago
Ethan Buchman
d5113377e2
fix tx string format
8 years ago
Ethan Frey
926fb83e33
Re-added comment
8 years ago
Ethan Frey
157ec8af2d
Add json tags to validator set
8 years ago
Anton Kaliaev
f8fdbe3dbc
changes as per Bucky's review
8 years ago
Anton Kaliaev
f803544195
new logging
8 years ago
Ethan Buchman
75b6c5215f
fewer structs. remove viper from consensus
8 years ago
Ethan Buchman
29c0e6e4f4
remove viper from blockchain and state
8 years ago
Jae Kwon
4c7a2be06a
Add Tx String representation
8 years ago
Ethan Buchman
07e59e63f9
TMEventDataInner
8 years ago
Ethan Buchman
bdb34f9f4e
types: []byte -> data.Bytes
8 years ago
Adrian Brink
842609ddcb
Send InitChain message from ABCI to Core on Genesis
InitChain is send from the ABCI to the Core node when the ABCI
app has no blocks stored.
8 years ago
Ethan Buchman
a70c95b79e
tmlibs/common/test -> tmlibs/test
8 years ago
Ethan Buchman
d5b524e309
go-merkle -> merkleeyes/iavl and tmlibs/merkle
8 years ago
Ethan Buchman
e6fe6b5b76
go-data -> go-wire/data
8 years ago
Ethan Buchman
d1926bcad1
use tmlibs
8 years ago
Ethan Buchman
5da9b3a803
postmerge
8 years ago