Leo Chen
2b5fa476bb
[consensus] increase timeout for consensus to bootstrap
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
3235fbae2a
[foundational] add FN:47,48,96,97,145-147,194-196
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Minh Doan
311869be33
Change transaction_signing logic. Add ShardID field in signing.
6 years ago
Leo Chen
9477bc1fc5
[foundational] add address of FN:193
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
9cc0baea6d
[foundational] add address of FN:192
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
5fd94b3066
[foundational] add address of FN:46
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
89e454d403
[foundational] add address of FN:45
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
8ea2093cbd
[foundational] add address of FN:191
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
a4812716d1
[foundational] add address of FN:95
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
f103fd7cd3
[foundational] add address of FN:94
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
f0fbd23d57
[foundational] add address of FN:144
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Eugene Kim
1063f8eed9
Add FN account index 44
6 years ago
Leo Chen
31d92c35c9
[foundational] add account address of 43, 143
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
96e6973276
[foundational] add account address 93
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
4e4ede9a65
[foundational] add account address 142
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
4bd4d38e3b
[foundational] update account address for 92
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Eugene Kim
35787cf4c1
Revert Leo's key; it's added in #893
6 years ago
Eugene Kim
7c0cfe5e29
While I'm here add mine and Leo's as well
6 years ago
Leo Chen
231251f1f0
[foundational] add a foundational node for Leo
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Eugene Kim
1afa48ea57
Update Li's public key
...
His old keypair was generated using an old wallet (on MBP) and isn't
in the right Ethereum keystore format.
6 years ago
Eugene Kim
aad9425d93
Separate groups of 10
6 years ago
Eugene Kim
fb9a20500e
Remove misplaced blank lines
6 years ago
Leo Chen
17c2fc3126
[foundational] add more foundational node pubkeys
...
account index: 92, 141
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
98ae11f594
[foundational] add account address for foundational nodes
...
40, 41, ,42, 90, 91, 140, 190
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
chao
69cfe9b633
* add view changing logic
...
* add view change message handler
* modify view change message constructor
6 years ago
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
f520802473
[keystore] remove all private key from genesis accounts
...
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
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
Minh Doan
cc32242962
add puzzle contract
...
smart contract integrate smart contract
add payout call and fix others
fix play contract call
6 years ago
chao
994aba8b07
add minimum pbft view change structure
...
add timeout class for pbft view change
add README for PBFT process including view change protocol
6 years ago
Eugene Kim
83bd41fb93
Add GetLogger, WithCaller, and WithCallerSkip
...
They add call site information (function name, filename, line number) to
a logger.
GetLogger is intended for direct one-shot logging calls, i.e.
“GetLogger().Debug(...)”.
Wrap reusable loggers with WithCaller():
logger := utils.GetLogInstance().New(/* ... */)
/* ... */
utils.WithCaller(logger).Debug(/* ... */)
Or use a local getLogger() idiom:
logger := utils.GetLogInstance().New(/* ... */)
getLogger := func() log.Logger {
return WithCallerSkip(logger, 1)
}
/* ... */
getLogger().Debug(/* ... */)
Since getLogger() uses closure, logger can later be augmented with
“logger = logger.New(/* ... */)” syntax.
6 years ago
u5surf
4d09b63dff
[lint] fix gofmt #708
6 years ago
Leo Chen
875d5f02f9
[utils] add a wallet profile read function
...
test coverage before: 78.5%
test coverage after: 78.7%
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Rongjian Lan
6044b76068
migrate bls identity from address to public key
...
Use shard info for committee pub keys rather than pong message
Make code backward compatible
6 years ago
Rongjian Lan
f72cb43b83
make 1+3 sharded network work locally with deploy.sh
6 years ago
Leo Chen
313ddac6ca
[utils] move GetAddressHex to utils module
...
* add test cases for GetAddressHex
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
957fdf0eac
[wallet] support rpc server using environment variable
...
use an external environment variable to specify the rpc servers
of the wallet. this will greatly simplify the testing.
example of the environment variable:
export RpcNodes="127.0.0.1:8989,192.168.129.1:5555"
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Minh Doan
1a15ad0ed4
Fix comments server code & rebase.
6 years ago
Rongjian Lan
8077352426
Bump up genesis beaconchain size to 50
6 years ago
Rongjian Lan
1dbb1a9250
remove validator IDs
6 years ago
Minh Doan
5aa72168a8
add demo contract to genesis
6 years ago
Minh Doan
4dac52c33d
add constants for demo accounts
6 years ago
Rongjian Lan
c54e225dc4
Setup initial shard state
6 years ago
Leo Chen
5a9b16ba0b
#540 filter out private IP
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Rongjian Lan
2c1b0d5562
setup initial beacon chain keys
6 years ago
animeshg
e5a7c1ba49
Add tests in drand, group & backoff
6 years ago
Rongjian Lan
eb0af9c05d
Use hard coded account for staking
6 years ago