rigelrozanski
569fd474c2
added use of Cobra CLI
...
squash
2017-03-06 17:30:06 -05:00
Ethan Buchman
05d8cd50b5
update glide and node.go for update to p2p.AddrBook
2017-03-04 23:45:54 -05:00
Ethan Buchman
a4d5ec491e
Merge pull request #411 from tendermint/bugfix/init-should-not-overwrite-existing-files
...
do not overwrite existing files when doing `tendermint init`
2017-02-20 22:03:22 -05:00
Anton Kaliaev
a99885cd43
do not overwrite existing files when doing `tendermint init` ( Fixes #410 )
2017-02-20 11:14:27 +04:00
Ethan Buchman
0bec99fbd4
consensus: handshake replay test using wal
2017-02-17 19:12:05 -05:00
Anton Kaliaev
4896364952
[cli] cleanup gen_validator output ( Fixes #396 )
...
so we can pipe result to a file:
```
tendermint gen_validator > example.json
```
before this we had to cut first 3 lines:
```
tendermint gen_validator | sed 1,3d > example.json
```
2017-02-08 23:24:19 +04:00
Jae Kwon
67ab574e98
Cleanup, add stub for VerifyCommitAny
2017-01-29 13:50:53 -08:00
Anton Kaliaev
3b7a1d7149
check that we have enough arguments
...
Otherwise:
```
panic: runtime error: index out of range
goroutine 1 [running]:
panic(0xbb8de0, 0xc82000e080)
/usr/local/go/src/runtime/panic.go:464 +0x3e6
main.main()
/go/src/github.com/tendermint/tendermint/cmd/tendermint/main.go:48 +0x811
```
2017-01-24 21:20:29 +04:00
Anton Kaliaev
17e822757b
output all commands
2017-01-24 21:19:45 +04:00
Jae Kwon
9a2dd8bc92
Refactor Node; Node is a simple BaseService
2017-01-15 16:59:10 -08:00
Jae Kwon
a073b1db9c
Refactor replay console -> replay_file in consensus/replay_file.go
2017-01-15 16:19:02 -08:00
Ethan Buchman
f347143b3d
Merge branch 'master' into develop
...
Conflicts:
cmd/tendermint/flags.go
glide.lock
glide.yaml
node/node.go
rpc/core/routes.go
version/version.go
2017-01-12 20:48:10 -05:00
Ethan Buchman
c147b41013
TMSP -> ABCI
2017-01-12 15:53:32 -05:00
Ethan Buchman
db437e7a45
broadcast_tx via grpc
2016-12-02 00:29:25 -05:00
Ethan Buchman
8b80f8ee05
feature flag: pex reactor
2016-11-30 23:07:45 -05:00
Jae Kwon
3d3d8b5b7b
cswal -> cs_wal_dir
2016-10-30 03:55:27 -07:00
Ethan Buchman
3f4af438c5
remove INSTALL dir, add INSTALL.md, update DOCKER
2016-10-11 23:27:59 -04:00
Ethan Buchman
1110c5d37d
privVal.LastSignBytes and more replay tests
2016-08-14 13:33:03 -04:00
Ethan Buchman
cac3cefd98
set log level. use p2p config
2016-06-11 20:19:58 -07:00
Ethan Buchman
2a1e7a427d
support tmsp via grpc
2016-05-23 14:46:32 -04:00
Jae Kwon
ad17090a0f
No global config
2016-05-08 15:00:58 -07:00
Jae Kwon
a8ee0377d5
Use tmsp.Client interface
2016-03-24 10:42:05 -07:00
Jae Kwon
9b4b533f2f
Pretty print JSON
2016-03-19 16:58:15 -07:00
Ethan Buchman
50ac66f79b
fast sync fixes
2016-02-07 16:56:59 -08:00
Jae Kwon
0f1cf243fd
Merge remote-tracking branch 'origin/replay'
2016-01-28 19:53:22 -08:00
Ethan Buchman
3cce757adc
move DialSeeds to go-p2p and add to rpc
2016-01-20 13:12:42 -05:00
Ethan Buchman
2b13386d7b
consensus: replay console
2016-01-14 18:58:11 -05:00
Ethan Buchman
6aaa5fb0bf
consensus: msg saving and replay
2016-01-14 18:58:11 -05:00
Jae Kwon
d58b3d54b1
tendermint init makes random chain ID
2015-12-21 16:30:28 -08:00
Ethan Buchman
5cbb5d2541
tendermint init
2015-12-21 17:52:00 -05:00
Jae Kwon
e5b9a5e849
Add proxy_app as node flag
2015-12-04 00:47:11 -08:00
Jae Kwon
1df2d7b8eb
Remove spurious programs
2015-12-01 22:05:44 -08:00
Jae Kwon
37b6255e42
Move process to go-process
2015-11-08 17:43:48 -08:00
Jae Kwon
e12f9d10e7
Bare consensus refactor
2015-11-01 11:34:08 -08:00
Jae Kwon
c4ed55d801
Refactor to move common libraries out of project
2015-10-22 17:39:06 -07:00
Jae Kwon
7c12c5aee3
Fix config bug where chain_id is default magic. Always read from genesis
2015-10-20 17:39:03 -07:00
Jae Kwon
d51741df72
fix main compile bug
2015-10-18 09:04:46 -07:00
Jae Kwon
f70b548fb6
exit status 1 for unknown command
2015-10-18 08:45:18 -07:00
Jae Kwon
26905b1260
Make Tendermint genesis agnostic; wait for file to start node
2015-10-18 07:20:05 -07:00
Jae Kwon
5102f7a9cb
refactor process.Process to take files
2015-10-17 15:13:19 -07:00
Ethan Buchman
b54522c60f
more versioning
2015-09-16 05:08:06 +00:00
Jae Kwon
ab24ae1da8
get_account fix
2015-08-14 14:47:25 -07:00
Jae Kwon
56b195a899
tendermint send_tx
2015-08-14 14:11:11 -07:00
Jae Kwon
4d765dcf2b
Generate account from seed
2015-08-14 10:49:44 -07:00
Jae Kwon
b37ff75f7a
Actually expose skip_upnp flag
2015-08-11 11:01:18 -07:00
Jae Kwon
1b9fd811a1
RPCResponse.Result && EventData are registered interfaces; -skip_upnp option
2015-08-11 11:01:18 -07:00
Jae Kwon
908fd11665
more explicit _, err := Start() checking
2015-08-11 11:01:17 -07:00
Jae Kwon
e86073ec96
Use rpc/client/ws_client; OnStart() returns error
2015-08-11 11:01:17 -07:00
Jae Kwon
3949d3f21d
ws_client fixes
2015-08-11 11:01:17 -07:00
Jae Kwon
60310cc23f
websocket server sends pings; added ws_client; events refactor
2015-08-11 11:01:17 -07:00
Jae Kwon
3be3647dc8
tendermint/binary -> tendermint/wire
2015-07-28 12:18:17 -07:00
Jae Kwon
f97d19fb1f
Debora's default log level is notice
2015-07-20 17:31:07 -07:00
Ethan Buchman
bb4ca1407f
info->notice, debug->info
2015-07-19 22:44:40 +00:00
Jae Kwon
1e7cc32597
tendermint/account -> acm
2015-07-19 09:40:55 -07:00
Ethan Buchman
dc7b912881
crypto byte arrays are fixed length
2015-07-17 17:19:16 -04:00
Jae Kwon
109a3c2dd3
Added sim_txs draft
2015-07-11 18:01:21 -07:00
Jae Kwon
0f61785cba
Added logjack for splitting up the tendermint log file
2015-07-09 18:23:55 -07:00
Jae Kwon
cc3a76f6c8
Quit upgrade_barak script upon error
2015-07-08 14:43:38 -07:00
Jae Kwon
269911ab98
barak -config, not barak -options-file
2015-07-08 13:09:47 -07:00
Jae Kwon
0a8fb72a08
filelogger -> stdinwriter
2015-07-08 13:07:05 -07:00
Jae Kwon
28d7a21156
filelogger to write output to a file
2015-07-08 12:43:05 -07:00
Jae Kwon
53a1cd2fbf
upgrades to debora/barak to allow shutting down barak
2015-07-07 19:26:33 -07:00
Jae Kwon
9965dd5de6
uint* to int* whereever appropriate; https://www.reddit.com/r/golang/comments/2q5vdu/int_vs_uint/
2015-06-25 20:28:34 -07:00
Jae Kwon
a55950e1d0
make will install
2015-06-25 18:42:17 -07:00
Ethan Buchman
57ff919d50
godep
2015-06-09 23:17:19 -04:00
Ethan Buchman
2045aee9cd
pass chainID through sign interfaces
2015-05-29 18:14:19 -04:00
Jae Kwon
8c3deb402f
CloseListener() actually closes the listener
2015-05-22 00:23:21 -07:00
Jae Kwon
5029d53474
add open/close to debora, barak bug fix
2015-05-22 00:23:20 -07:00
Jae Kwon
c297f41a9f
Refactoring barak
2015-05-22 00:23:20 -07:00
Jae Kwon
3565db4eef
Refactor RPC/*, tendermint/config for debora+barak
2015-05-17 16:19:58 -07:00
Jae Kwon
75ef479547
Config is passed into each module. Remove tendermint/confer
2015-05-17 16:19:57 -07:00
Jae Kwon
9e1c054f87
Better INSTALL readme. Steps for barak
2015-05-14 17:22:02 -07:00
Jae Kwon
dd3d35f9f1
tendermint init to get the moniker
2015-05-12 18:29:00 -07:00
Jae Kwon
85c8850ac2
Config names have no dots, are under_scored.
2015-05-12 17:40:29 -07:00
Jae Kwon
c0d67112c3
updated barak keys
2015-05-11 21:34:59 -07:00
Jae Kwon
01b21fcbf2
Barak registration fix. Retries every hour now.
2015-05-05 13:45:30 -07:00
Jae Kwon
5759ff9b50
debora+barak updates for downloading
2015-05-05 13:22:03 -07:00
Jae Kwon
dbae194731
added debora default.cfg file
2015-05-04 18:37:16 -07:00
Ethan Buchman
acc882ab0d
add ethan's barak
2015-05-04 18:30:33 -07:00
Jae Kwon
84c3fd9a85
more debug messages for consensus
2015-05-04 11:18:21 -07:00
Jae Kwon
9babda1d7a
create registry.log if not there.
2015-04-28 04:01:29 -07:00
Jae Kwon
7eefbd23fa
Ensure that the pidfile is written after all logic for Barak is
...
complete.
2015-04-24 14:01:22 -07:00
Jae Kwon
e294b1f954
Debora has a pretty list.
2015-04-24 13:13:44 -07:00
Jae Kwon
fcc26d7355
Resolve host for NetAddressFromString(). Test fix.
2015-04-23 18:41:14 -07:00
Jae Kwon
d9bfe82d93
rpc.StartHTTPServer listener bug fix
2015-04-23 18:33:20 -07:00
Jae Kwon
66ff985cd2
Added a registry to Barak.
2015-04-23 16:56:46 -07:00
Jae Kwon
9513f601de
Removed Log.File, all log goes out to stdout.
2015-04-22 11:07:34 -07:00
Jae Kwon
5e70769117
Crazy colors for Debora
2015-04-21 17:42:08 -07:00
Jae Kwon
df026f64fa
Remoted bytes from logging messages
2015-04-20 18:51:20 -07:00
Jae Kwon
dc051eb87f
third time is the charm
2015-04-20 18:01:30 -07:00
Jae Kwon
99a040998f
Added unsafe_reset_priv_validator
2015-04-20 16:53:15 -07:00
Jae Kwon
4948fe7725
Debora download command
2015-04-20 14:47:59 -07:00
Jae Kwon
8c0fe845c7
barak writes pidfile
2015-04-19 16:45:10 -07:00
Jae Kwon
a4c098ac0b
Format of debora output
2015-04-19 16:20:00 -07:00
Jae Kwon
8b36f308e2
Add command logging to barak
2015-04-19 15:51:43 -07:00
Jae Kwon
59e69434e1
improved barak with logging into ~/.barak/outputs
2015-04-19 15:45:06 -07:00
Jae Kwon
5e45a849ab
Generate PrivValidator file when it doesn't exist already
2015-04-18 14:46:44 -07:00
Jae Kwon
2151f6f5d6
barak takes an output-file as option
2015-04-17 11:45:13 -07:00
Jae Kwon
b0f696a687
improve debora output
2015-04-17 11:17:45 -07:00
Jae Kwon
731b51f703
output file rename
2015-04-17 11:11:13 -07:00
Jae Kwon
389a1c1fef
second seed to open another port
2015-04-17 10:29:45 -07:00
Jae Kwon
75697034bd
ReadOutput for process, and --wait will read process output
2015-04-17 10:27:17 -07:00
Jae Kwon
9dd37c6bc4
...
2015-04-16 18:35:27 -07:00
Jae Kwon
f641558115
Debora stop will kill.
2015-04-16 18:21:19 -07:00
Jae Kwon
22fdb6ca2f
~/.tendermint -> .tendermint
2015-04-16 16:35:51 -07:00
Jae Kwon
4c2e57437b
rename barak log out
2015-04-16 14:41:20 -07:00
Jae Kwon
40dc09701a
"status" command, we track pids on processes
2015-04-16 14:10:20 -07:00
Jae Kwon
372cfb509d
Fixed --wait
2015-04-16 10:54:07 -07:00
Jae Kwon
5b9dbddc7b
Allow trampling stopped processes
2015-04-16 10:13:50 -07:00
Jae Kwon
9ec6258ed0
Run process
2015-04-16 09:46:35 -07:00
Jae Kwon
adccd8f878
fixed global flags
2015-04-15 23:41:13 -07:00
Jae Kwon
df1d46d04d
Errorf -> fmt.Errorf
2015-04-15 21:49:14 -07:00
Jae Kwon
58bcad3ea3
Added debora cli
2015-04-15 20:22:03 -07:00
Jae Kwon
618cd18f8b
refactored debora/barak. about to add cli for debora
2015-04-15 14:49:21 -07:00
Jae Kwon
e5d34befde
Remote TypeByte()
2015-04-14 15:57:16 -07:00
Jae Kwon
dcdf74ccc2
refactoring barak
2015-04-14 12:27:32 -07:00
Jae Kwon
89e05168d5
Begin writing debora
2015-04-14 04:14:18 -07:00
Jae Kwon
bcfe33f15c
rename debora -> barak
2015-04-14 01:14:55 -07:00
Jae Kwon
0ffbff108f
Complete validation for debora
2015-04-13 13:14:37 -07:00
Jae Kwon
0bb6c111bb
ServeFile
2015-04-10 02:12:17 -07:00
Jae Kwon
98fa3b7b9c
Adding cmd again and fixing .gitignore.
2015-04-08 14:31:20 -07:00
Jae Kwon
cc18136af8
RPC refactor to separate core from core_client and the rest of RPC.
...
Other random changes.
2015-04-07 11:44:25 -07:00
Jae Kwon
f271ab7256
various changes. removed debora temporarily
2015-04-03 16:15:52 -07:00
Ethan Buchman
c012bef03f
debora off by default and new key
2015-04-02 14:47:49 -07:00
Jae Kwon
13b6508ecd
Package import path change
2015-04-01 17:30:16 -07:00
Ethan Buchman
9ce75fe755
add debora support
2015-03-31 17:04:53 -07:00
Jae Kwon
39d5ff9ccb
Reset log after config changes.
2015-03-31 15:34:12 -07:00
Ethan Buchman
60f166e823
tendermint2
2015-03-31 15:33:31 -07:00
Jae Kwon
87e1f76324
tendermint/block -> tendermint/types and tendermint/blockchain
2015-03-22 19:00:08 -07:00
Matthew Wampler-Doty
f03547007a
App -> App()
2015-03-18 23:27:26 -07:00
Ethan Buchman
983b7f48e8
daemon: refactor out of cmd into own package
2015-03-18 23:23:56 -07:00
Jae Kwon
0a6c28c2da
block module -> import as blk
2015-01-15 22:43:15 -08:00
Jae Kwon
135894ea88
Dot import -> named import
...
Changed modulename_ to short module names
Also removed Unreader, replaced with PrefixdReader in select locations
2015-01-14 20:34:53 -08:00
Jae Kwon
44a60a89c6
fixed #11
2015-01-14 00:02:34 -08:00
Jae Kwon
694a10e0a7
PrivKey is just []byte
2015-01-13 21:03:01 -08:00
Jae Kwon
7afb75049f
API to list accounts
2015-01-11 14:27:46 -08:00
Jae Kwon
4a81b06b6e
Send SeenValidation to peer & use for proposals when we don't have LastCommits due to reboot
2015-01-09 02:40:36 -08:00
Jae Kwon
51c70dd8ac
Write log also to a file.
2015-01-08 17:24:04 -08:00
Jae Kwon
05c642a84c
Changed config to confer, TOML format.
2015-01-08 16:40:23 -08:00
Jae Kwon
325b88b083
time encoding in binary/reflect
2015-01-06 15:51:41 -08:00
Jae Kwon
13ca6fb241
RegisterInterface() so we can implement custom JSON codec
2015-01-04 17:33:18 -08:00
Jae Kwon
7a8a0fefc7
type Ed25519[Signature|PubKey] struct{[]byte} -> []byte
2015-01-03 20:24:02 -08:00
Jae Kwon
f02ba63412
testing tx transmission
2014-12-31 23:42:44 -08:00
Jae Kwon
0d075c7592
silly tx RPC command
2014-12-31 22:42:37 -08:00
Jae Kwon
2fd137d9e5
gen_tx for signing transactions
2014-12-31 22:13:49 -08:00
Jae Kwon
3215cbf0d5
use tendermint/log15
2014-12-29 19:44:38 -08:00
Jae Kwon
07b5b7a8f2
various log fixes
2014-12-29 18:39:19 -08:00
Jae Kwon
0bfb389b35
change logger to log15
2014-12-29 18:09:06 -08:00
Jae Kwon
b0755c938a
Better debug output
2014-12-28 16:26:53 -08:00
Jae Kwon
c6c465402e
fix flag parsing -- use flagSet after the command
2014-12-28 15:08:07 -08:00
Jae Kwon
2405d00ca5
Fixed a PrivValidator filename == nil bug
2014-12-28 02:05:09 -08:00
Jae Kwon
f91665fe07
Refactoring genesis, including PubKey into TxInput
2014-12-28 00:44:56 -08:00
Jae Kwon
70eb75dca7
Refactor consensus/vote_set_test.go
2014-12-23 23:20:49 -08:00
Jae Kwon
bff93107ef
UPNP + hairpin probing
2014-12-23 17:20:52 -08:00
Jae Kwon
61d1635085
Fixed tests
2014-12-21 21:47:38 -08:00
Jae Kwon
6cacf6f09b
RebondTx and more efficient IncrementAccum()
2014-12-16 05:45:40 -08:00
Jae Kwon
83d313cbe5
Refactor Tx, Validator, and Account structure
2014-12-16 05:45:40 -08:00
Jae Kwon
8e9c060e6d
Begin writing RPC HTTP Server
2014-12-16 05:43:23 -08:00
Jae Kwon
93979300be
made cmd/, removed crypto/
2014-11-07 23:27:03 -08:00