Rongjian Lan
2814a321bd
Add utils for bech32 format address
6 years ago
Leo Chen
e5d73a2f3d
[foundational] update account for FN:186
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
ad87213a79
[foundational] add account for FN:198
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
d9ef724acf
[foundational] add account for FN:186,137
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
bf2d8ee16b
[foundational] add account for FN:180-182
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
27c9b4e2b2
[foundational] add account for FN:49
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
847f25bf14
[foundational] add account for FN:30-33
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
263492fdd6
[foundational] add account for FN:138
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
4c5542348d
[foundational] add account for FN:29
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
3cac449a8c
[foundational] add account for FN:139,185,188
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
7315545289
[foundational] add account for FN:179
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
5b03829299
[foundational] update account for FN:190
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Minh Doan
f08044a69f
make the mem profiling working
6 years ago
Minh Doan
e38a01b615
add util for get port from base and diff
6 years ago
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