Zach Ramsay
9883013adf
use cobra, closes #101
7 years ago
Zach Ramsay
d56b44f3a5
all: no more anonymous imports
7 years ago
Ethan Buchman
667c2543ea
use request struct for Info
7 years ago
Zach Ramsay
6a378d30f3
linting: cover the basics
7 years ago
Ethan Buchman
756818f940
fixes from review
7 years ago
Ethan Buchman
2131f8d330
some fixes from review
7 years ago
Ethan Buchman
75b97a5a65
PrivValidatorFS is like old PrivValidator, for now
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
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
3089bbf2b8
Amount -> Power. Closes #166
7 years ago
Ethan Frey
21f6b346a3
Removed all cli as it goes into cosmos-sdk
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
8 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
Ethan Frey
d31cfbaeaa
Fixed up help text for "keys recover"
8 years ago
Ethan Frey
d665c9ef10
Code cleanup from review comments
8 years ago
Ethan Frey
a944bdebfc
Make sure prompt looks good in interactive mode
8 years ago
Ethan Frey
1ab9ab9494
Add delete and recover commands, and test them
8 years ago
Ethan Frey
e9537b2da6
Freshen up existing cmd files
8 years ago
Ethan Frey
7d08ea4c09
Fixed all tests and binaries to compile
8 years ago
Ethan Frey
0c32d2722f
#17 - better support passwords in tests, more cli tests
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