Zach Ramsay
d56b44f3a5
all: no more anonymous imports
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 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
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