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
3089bbf2b8
Amount -> Power. Closes #166
7 years ago
Ethan Buchman
aa78fc14b5
cmd: dont wait for genesis. closes #562
7 years ago
Ethan Buchman
d87acc2d1b
cmd: don't load config for version command. closes #620
7 years ago
Emmanuel Odeke
d8af26e75a
cmd/tendermint/commands: update ParseConfig doc
7 years ago
Ethan Buchman
37f1390473
CreateEmptyBlocks and CreateEmptyBlocksInterval
7 years ago
Ethan Buchman
fc3fe9292f
fixes from review
7 years ago
Ethan Buchman
e9a2389300
cmd: --consensus.no_empty_blocks
7 years ago
Ethan Buchman
75df0d91ba
comments from review
7 years ago
Ethan Frey
850da13622
Do some cleanup in the test, so it doesn't fail in my shell
7 years ago
Ethan Buchman
12c084c8c0
ParseGenesisFile -> types.GenesisDocFromFile
8 years ago
Ethan Frey
10982f4d8f
Add argument to ParseGenesis to use in light-client
8 years ago
Ethan Frey
6b38abd57b
Cleanup for loop in genesis file load
8 years ago
Ethan Frey
58105dbd4e
Refactored some commands to be more reusable
8 years ago
Anton Kaliaev
9dcf130d67
update tmlibs (Refs #504 )
8 years ago
Anton Kaliaev
ed7183936d
move log level parsing to tmlibs/cli package (Refs #504 )
8 years ago
zramsay
9c3eee0b00
Makefile: add megacheck & some additional fixes
8 years ago
Ethan Buchman
bd7ec18c19
fix tests
8 years ago
Ethan Buchman
fc6611b2d9
[config] RPCConfig
8 years ago
Anton Kaliaev
9bc1790320
tracing logger (Refs #506 )
DEPENDS ON https://github.com/tendermint/tmlibs/pull/21
8 years ago
Anton Kaliaev
fb0df75de0
changes per Frey comments (Refs #493 )
8 years ago
Anton Kaliaev
05a8204508
per module log levels (Refs #493 )
8 years ago
Anton Kaliaev
f8fdbe3dbc
changes as per Bucky's review
8 years ago
Anton Kaliaev
bc4e6566e7
[p2p] refactor upnp to use new logger
8 years ago
Anton Kaliaev
f803544195
new logging
8 years ago
Ethan Buchman
edd7263f06
fixes from review
8 years ago
Ethan Frey
dd1f5a2268
Test config parsing in root command
8 years ago
Ethan Buchman
46151720f8
fix tests
8 years ago
Ethan Buchman
9109b20852
SetRoot
8 years ago
Ethan Frey
6b059e0063
Accept relative paths in all configs, TODO: must SetRoot
8 years ago
Ethan Frey
92dee7ea3c
Commands compile (mostly) with new config reading
8 years ago
Ethan Buchman
f217f2b2c5
cleanup run_node flags
8 years ago
Ethan Buchman
1ef7c1d25b
cmd: fixes for new config
8 years ago
Ethan Buchman
7db7bbe464
node: ConfigFromViper
8 years ago
Ethan Buchman
75b6c5215f
fewer structs. remove viper from consensus
8 years ago
Ethan Buchman
d8fb226ec4
new config
8 years ago
Ethan Buchman
95c74b2ccd
remove some more viper
8 years ago
Ethan Buchman
efeadcc0f4
some cleanup from review
8 years ago
Ethan Buchman
fcf78a5da7
cleanup go-config/viper and some unnamed imports
8 years ago
rigel rozanski
72c4be35e8
tiny fix
8 years ago
Rigel Rozanski
5d0c2a1414
commands: Run -> RunE
8 years ago
Rigel Rozanski
6e662337ff
dont export resetPrivValidator
8 years ago
Rigel Rozanski
270b68a893
glide lock updates
8 years ago
Rigel Rozanski
cefb2bede0
adding viper
int
int
8 years ago