Leo Chen
2b5fa476bb
[consensus] increase timeout for consensus to bootstrap
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Richard Liu
469fed36c8
rpc net module
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
Minh Doan
e9361e3153
debugging
6 years ago
Minh Doan
de8c1aa204
add comments
6 years ago
Minh Doan
dc1f95a725
add get balance for rpc api
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
Eugene Kim
69deb2ccaf
Re-enable archival mode
6 years ago
Richard Liu
ac089bf557
hmy_blockNumber ( #910 )
6 years ago
Richard Liu
1db7381d28
Ricl rpc ( #880 )
...
* added readme
* more RPC APIs
* update for comments; fix travis issues
* update auto-generated host_mock.go
* pubsub WIP
* WIP
* added hmy/backend.go
* update to support newBlockFilter
* fix golint
* update readme; add log in travis_checker.sh
* add APIs
* update deploy.sh for duration
* enable sync by default
* testing getFilterChange
* fix ten-oneshard.txt
* add support for bloom indexer
* minior
* update
* [protobuf] generate the pb.go files
Signed-off-by: Leo Chen <leo@harmony.one>
* undo parameters
* remove bloombits
* fix bloom9_test
* remove service.go
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
7cd24dae6c
modify the naming of variables to make code cleaner
...
address pr comments
6 years ago
chao
69cfe9b633
* add view changing logic
...
* add view change message handler
* modify view change message constructor
6 years ago
Eugene Kim
3c1e7ce5b3
Fix golint
6 years ago
Eugene Kim
7445699909
More fixes/improvements
...
* Log the right shard number for wallet/getFreeToken
* Don't try to use empty commit bitmap from genesis block
* Fail hard if block reward or finalization fails
* Log the public key if message sig verification fails
* Extract and save chain state from received blocks in order to
eliminate deep tail recursion
* Properly deep copy chain config (previously ChainID was being shared
among chains)
* Eliminate chain use-before-init window in node.New()
* Save genesis epoch shard state in new blockchain database
* Do not check epoch of the received shard state message (temp
workaround – we should introduce the check elsewhere)
* Propose an empty block if no transactions have been received for 10
seconds
6 years ago
Eugene Kim
664c6c1513
A cumulative collection of fixes/improvements:
...
* Manage shard chains as first class citizen
* Bring core.BlockChain's read/write semantics cleaner
* Reimplement the block reward in terms of on-chain committee info, not
hardcoded genesis committee.
6 years ago
Peter Chung
d157dd2730
[rpc] add hmy_setLogVerbosity
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
3865c075de
[keystore] add functions to unlock/signtx
...
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
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
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
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