Peter Chung
b632fd277a
[logging] use GlogHandler as the base handler
6 years ago
Peter Chung
01f69f2e7a
[logging] add verbosity flag to bootnode, txgen, harmony cmd
6 years ago
Leo Chen
8bd2acd7ca
Merge pull request #845 from LeoHChen/foundational_node_keystore_support_1
...
Foundational node keystore support 1
6 years ago
Leo Chen
08ec289b09
[hmy] set staking account in node
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
5be4f91684
[staking] use account to sign Tx instead of privKey
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
22a8528c70
[service] passing StakingAccount to staking service
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
481edc9e4c
[node] add StakingAccount field in node
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
3865c075de
[keystore] add functions to unlock/signtx
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
f6b4b80ec9
[account] find the account based on account_index
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
cf084fab72
[keystore] add 404 test account keys
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
f520802473
[keystore] remove all private key from genesis accounts
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
854fb1006d
[keystore] add harmony keystore package
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
6c05424ee5
[utils] add a function to ask user for passphrase
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
eab04af9c9
[rpc] increase the offset of rpc port
...
The 10/20 offset will upset local test with more than 10 nodes being
launched.
The error I encountered is like:
panic: failed to listen on any addresses: [listen tcp4 0.0.0.0:9015: bind: address already in use]
goroutine 1 [running]:
github.com/harmony-one/harmony/p2p/host/hostv2.catchError(...)
/Users/leochen/work/go/src/github.com/harmony-one/harmony/p2p/host/hostv2/util.go:10
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
chaosma
b53d8fb5bf
pbft normal path ( #851 )
...
* PBFT view change framework added
* timeout class and pbft_log class added for view change
* consensus protocol worked under PBFT normal mode
6 years ago
Richard Liu
fe217ad2b7
more rpc APIs. ( #863 )
...
* added readme
* more RPC APIs
* update for comments; fix travis issues
* update auto-generated host_mock.go
6 years ago
Richard Liu
d4bc279d88
sendTx rpc ( #852 )
...
* separate files
* send tx
6 years ago
Eugene Kim
972ea71b17
Merge pull request #854 from harmony-ek/disable_stop_message_by_default
...
Remove STOP message
6 years ago
Eugene Kim
32040c0fe6
Remove STOP message; txgen doesn't send it anymore
6 years ago
Eugene Kim
7d26462b1b
Deploy nodes with -enable_stop for local test
6 years ago
Eugene Kim
4bb5efe802
Enable STOP message only with -enable_stop
...
The STOP message has always been only for testing, and should never be
honored on any network except in controlled, short-lived test networks.
6 years ago
alajko
8ae9307632
Merge pull request #853 from alajko/nclient
...
Change Client Interface
6 years ago
ak
1d8aa14bdd
Merge branch 'master' of github.com:harmony-one/harmony into nclient
6 years ago
alajko
3f6707a077
Merge pull request #849 from alajko/txfix
...
Fixing TXGen
6 years ago
ak
1ecabf2db9
Changing Client Interface
6 years ago
ak
d4a5834397
fixing txgen
6 years ago
alajko
71378dca06
Merge pull request #836 from alajko/txgenComplex
...
Working TxGen with SyncLoop
6 years ago
ak
0dac42a78d
Linting errors
6 years ago
ak
b8d20236b3
addressing RJ requests and cleanup
6 years ago
ak
4d8779a2c3
Merge branch 'master' of github.com:harmony-one/harmony into txgenComplex
6 years ago
ak
96576ef0c5
working local txgen
6 years ago
Yelin Lu
0d83532785
new rpc framework
...
1. Remove eth rpc code and unnecessary changes from
7a0f18f92b
. Import the package instead.
2. Move HmyAPIBackend into core package so it has more access to core.
3. Add API interface for services.
4. Start RPC for all roles, for both HTTP (baseport+10) and WS (baseport+20).
3. Keep implemented APIs but move to internal/hmyapi package.
6 years ago
Leo Chen
89ad5ef458
fix concurrent map write error #837
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
7fa822cb66
Merge pull request #833 from touhonoob/embed-wallet-ini
...
[wallet] embed wallet.ini into wallet binary (#830 )
6 years ago
Leo Chen
03b51fff40
Merge pull request #832 from LeoHChen/use_keystore_for_tx_in_wallet
...
Use keystore for tx in wallet
6 years ago
Peter Chung
c3860b750c
[scripts] fix wallet build script
6 years ago
Leo Chen
a3ab659bab
[accounts] fix golint and go test errors
...
removed accounts/abi/bind/backends/simulated_test.go
removed accounts/abi/bind/util_test.go
removed accounts/external/backend.go
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Peter Chung
7d101692aa
[internal/utils] add EmbedFile function
...
utils.EmbedFile is a text file embed script for go:generate
to embed text files into generated golang source.
related to #830
6 years ago
Peter Chung
566c3aeb60
[wallet] embed wallet.ini into wallet binary ( #830 )
...
utilize go:generate to convert the default wallet.ini file
into go constant `defaultWalletIni` defined in
`cmd/client/wallet/generated_ini.go` which will be used when
`.hmy/wallet.ini` doesn't exist under the current filesystem.
6 years ago
Leo Chen
305b0166ec
[wallet] fix transfer function using keystore
...
remove old function of reading private keys
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
56ce665435
replace ethereum/core with harmony/core
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
91516b2498
replace ethereum/accounts with harmony/accounts
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
7f783e50ea
removed accounts/usbwallet
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
57b599d208
removed accounts/scwallet
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
d794c7bcc1
import ethereum accounts package
...
copy from the following commit.
commit 9b831d74fbee3d59ceca380a40e4a9af1a55cfca
Author: Guillaume Ballet <gballet@gmail.com>
Date: Tue May 7 18:22:24 2019 +0200
accounts/usbwallet: fix a comment typo in trezor driver (#19535 )
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
c120280e34
don't ignore keystore
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
64310e1a89
[node] reserve more spot for foundational nodes to join testnet
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
chaosma
e029b7e622
basic framework for view change ( #827 )
...
* factor consensus functions into consensus_utils, make consensus.go cleaner
* add minimum pbft view change structure
add timeout class for pbft view change
* add version to distinguish existing and new consensus
6 years ago
Leo Chen
d575dc1df7
[wallet] use ethereum keystore in wallet
...
ethereum compatible keystore
support passphrase for wallet new/list/import functions
support export keystore using encrypted json format
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
72c81d8615
Merge pull request #823 from LeoHChen/merge_cello_to_master
...
Merge cello to master
6 years ago