Leo Chen
6756a69293
[go.mod] update go.mod to pass travis
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
e194e144ef
[build] upgrade to 1.13 for travis build
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Edgar Aroutiounian
b033a6d45e
[rpc] Simplify Pending txn ( #2065 )
5 years ago
Rongjian Lan
7bbd162425
Fix condition for explorer node to update consensus info ( #2060 )
5 years ago
Edgar Aroutiounian
cf7d737c88
[rpc] Expose nodes role into Metadata RPC ( #2052 )
5 years ago
Edgar Aroutiounian
b216666de1
[security] Audit fixes ( #2051 )
...
* [txn-pool] Limit size of pending staking transactions pool
* [node][cross-txn] Add two sanity checks on incoming receipts before adding to pending map
* [node][cross-txn] Protect against DDoS of pending cx receipts map
* [node] Move pending staking txn limit size check to inside loop
* [node] Fix log message in incoming cx receipt
* [node] Add crypto verification for cx-proofs
5 years ago
flicker-harmony
edebbfd4cc
Merge pull request #2039 from flicker-harmony/pr_enable_logs_master
...
Enable logs for master
5 years ago
Edgar Aroutiounian
868c4c896c
Extend failure sink ( #2045 )
...
* [project] Rename specs to specifications b/c gcc thinks specs is a special file
* [rpc][node] Refactor failed stking txn buffer as container/ring, track failed plain txn as well
* [rpc] Expose RPC for staking, plain txn error sink
5 years ago
Leo Chen
de34b1753c
Merge pull request #2041 from LeoHChen/option_to_change_base_port_in_nodesh
...
[node] option to specify the pub port
5 years ago
Leo Chen
64e48cfd2d
[node] set shard_id to -1 by default to avoid override
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
a872f29fa3
[node] fix the default network type
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
fcb04eeded
[node] add -M support multi-key mode
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
246ede3e0f
[node] option to specify the pub port
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
flicker-harmony
f4b45c89f3
Uncomment logs for receipt
5 years ago
Rongjian Lan
33905bc2ed
Merge pull request #2037 from chaosma/evm-fix
...
fix mint new tokens when transfer money to validator addr
5 years ago
chao
dd7809cbfa
checking to.address() is staking validator addr or not; avoid create cxReceipts when smart contract call failed
5 years ago
Daniel Van Der Maden
627ffdb598
Merge pull request #2036 from Daniel-VDM/localnet_config
...
[config] Add localnet config for staking
5 years ago
Daniel Van Der Maden
637216f51e
[config] Add localnet config
5 years ago
Edgar Aroutiounian
c37a89455e
[rpc] Expose median raw stake for explorer nodes only, remove dead st… ( #2035 )
...
* [rpc] Expose median raw stake for explorer nodes only, remove dead staking field
* [rpc] Only pick 320, only beaconchain explorer
5 years ago
Eugene Kim
f89f0fd8e1
Merge pull request #2034 from harmony-ek/libp2pctl
...
Add libp2pctl
5 years ago
Eugene Kim
8dcc070050
Fix -libp2pctl_port default
5 years ago
Eugene Kim
0597e38987
golint
5 years ago
Eugene Kim
e6d386e5f8
goimports
5 years ago
Eugene Kim
9b1356764c
httpWriteJSON(w, d) → json.NewEncoder(w).Encode(d)
...
Suggested-by: Edgar Aroutiounian <edgar@harmony.one>
5 years ago
Eugene Kim
ca50c622c9
Simplify -libp2pctl_port by removing offset logic
...
Suggested-by: Edgar Aroutiounian <edgar@harmony.one>
5 years ago
Eugene Kim
9d1d77ffb2
Hook libp2pctl into harmony main
...
For now it requires TLS certificate auth for security.
5 years ago
Eugene Kim
745149af94
Add libp2pctl, a control interface of libp2p
...
For now, it handles connection setup/teardown/listing/stats.
5 years ago
Eugene Kim
f455056d25
Add utils.Fatal, a print-to-stderr-and-exit helper
5 years ago
Edgar Aroutiounian
352833d773
[votepower] Need to loop for right ShardID for BLS key ownership ( #2032 )
5 years ago
Edgar Aroutiounian
f84ebfa7f4
[node] Exit program if either shardchain or beaconchain is nil ( #2030 )
5 years ago
Rongjian Lan
e7cd387677
Fix create validator balance reduce bug; Add LastEpochInCommittee ( #2029 )
...
* Fix undelegation non-pointer modification bug
* Fix lint
* fix import
* Fix create validator balance reduce bug; Add LastEpochInCommittee
5 years ago
Edgar Aroutiounian
1a9f769595
[project] Remove staking-standalone tool, use hmy now ( #2028 )
5 years ago
chaosma
56dc8e04d8
add debug flag to avoid too much log info in crosslink verification ( #2021 )
5 years ago
Edgar Aroutiounian
887eeaef75
[rpc][staking] Simplify validator information RPC, expose ValidatorMetrics RPC ( #2024 )
5 years ago
Eugene Kim
4277c94d4e
Merge pull request #2022 from harmony-ek/fatal_errors_on_stderr
...
Emit fatal init error details to stderr w/o panics
5 years ago
Eugene Kim
c9febf402a
Emit fatal init error details to stderr w/o panics
5 years ago
flicker-harmony
9ffa6e1be4
Merge pull request #2015 from flicker-harmony/pr_add_timestamp
...
Add timestamp to transactions json
5 years ago
flicker-harmony
a7b2617f10
Fix jenkins
5 years ago
flicker-harmony
4aad0e20a9
Fix travis
5 years ago
flicker-harmony
01c76abacd
Add timestamp to transactions json
5 years ago
Edgar Aroutiounian
df1ec49859
[staking] Richer errors ( #2012 )
...
* [state] Add more information to insufficient balance for stake errors
* [staking] Wrap Sanity check errors with more information
* [errors] Add gas information to insufficient balance in gas to pay fee error message
* [errors] Fix mistaken use of Wrapf
5 years ago
chaosma
c730ab585b
Merge pull request #2007 from chaosma/crosslink
...
refactor crosslink code out of cross-shard-tx; add more strict verifi…
5 years ago
chao
7ebabd0d79
Merge branch 'master' of github.com:harmony-one/harmony into crosslink
5 years ago
Edgar Aroutiounian
37935bb29f
[engine] Set ShardID Provider in VerifyWithSignature ( #2005 )
5 years ago
chao
50bb3d86a8
refactor crosslink code out of cross-shard-tx; add more strict verification logic
5 years ago
Rongjian Lan
3403395398
Fix undelegation non-pointer modification bug ( #2004 )
...
* Fix undelegation non-pointer modification bug
* Fix lint
* fix import
5 years ago
Edgar Aroutiounian
b995bb02f2
[rpc][staking] Quick way to add an staking transaction error sink for… ( #1986 )
...
* [rpc][staking] Quick way to add an staking transaction error sink for rpc consumption
* [staking] Satisfy Travis
* [rpc][staking] Expose staking transaction errors using slice, protect mutex
* [staking][rpc] Use string name of Directive
* [staking][rpc] Change func signature in tests
* [staking][rpc] Protect read with lock
5 years ago
Edgar Aroutiounian
f17e76fe1b
[engine] Verify quorum achieved by mask in VerifySeal ( #2003 )
...
* [engine] Verify quorum achieved by mask in VerifySeal
* [engine] Use RJs PR comment on how to pull slotList, move parentQuorum inside else
* [node] Use votingpower logic check in node explorer message handler
* [explorer][node] Simplify explorer quorum by mask
* [engine] Additional check for quorum voting power in VerifyHeaderWithSignature
5 years ago
Edgar Aroutiounian
53a86a144a
[quorum] Optimize counting up of already voted voters ( #2000 )
...
* [quorum] Optimize counting up of already voted voters
* [quorum] By Mask cache of computation not needed - talked w/Chao
5 years ago
Rongjian Lan
c79e8a8687
Merge pull request #2001 from rlan35/staking_pangaea
...
Fix shard state epoch number after staking
5 years ago