|
|
|
module github.com/harmony-one/harmony
|
|
|
|
|
|
|
|
go 1.13
|
|
|
|
|
|
|
|
require (
|
|
|
|
github.com/Workiva/go-datastructures v1.0.50
|
|
|
|
github.com/allegro/bigcache v1.2.1 // indirect
|
|
|
|
github.com/aristanetworks/goarista v0.0.0-20190607111240-52c2a7864a08 // indirect
|
|
|
|
github.com/aws/aws-sdk-go v1.30.1
|
|
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
|
|
github.com/btcsuite/btcutil v0.0.0-20190425235716-9e5f4b9a998d
|
|
|
|
github.com/cespare/cp v1.1.1
|
|
|
|
github.com/davecgh/go-spew v1.1.1
|
|
|
|
github.com/deckarep/golang-set v1.7.1
|
|
|
|
github.com/edsrzf/mmap-go v1.0.0 // indirect
|
|
|
|
github.com/ethereum/go-ethereum v1.8.27
|
|
|
|
github.com/fatih/color v1.7.0
|
|
|
|
github.com/fjl/memsize v0.0.0-20180929194037-2a09253e352a
|
|
|
|
github.com/garslo/gogen v0.0.0-20170307003452-d6ebae628c7c // indirect
|
|
|
|
github.com/golang/mock v1.3.1
|
|
|
|
github.com/golang/protobuf v1.3.2
|
|
|
|
github.com/golangci/golangci-lint v1.22.2
|
|
|
|
github.com/gorilla/handlers v1.4.0
|
|
|
|
github.com/gorilla/mux v1.7.2
|
|
|
|
github.com/harmony-ek/gencodec v0.0.0-20190215044613-e6740dbdd846
|
|
|
|
github.com/harmony-one/bls v0.0.6
|
|
|
|
github.com/harmony-one/taggedrlp v0.1.4
|
|
|
|
github.com/harmony-one/vdf v0.0.0-20190924175951-620379da8849
|
|
|
|
github.com/hashicorp/golang-lru v0.5.4
|
|
|
|
github.com/iancoleman/strcase v0.0.0-20190422225806-e506e3ef7365
|
|
|
|
github.com/ipfs/go-ds-badger v0.2.1
|
|
|
|
github.com/ipfs/go-log v0.0.1
|
|
|
|
github.com/karalabe/hid v1.0.0 // indirect
|
|
|
|
github.com/kylelemons/godebug v1.1.0 // indirect
|
|
|
|
github.com/libp2p/go-libp2p v0.5.2
|
|
|
|
github.com/libp2p/go-libp2p-core v0.3.0
|
|
|
|
github.com/libp2p/go-libp2p-crypto v0.1.0
|
|
|
|
github.com/libp2p/go-libp2p-discovery v0.2.0
|
|
|
|
github.com/libp2p/go-libp2p-host v0.1.0
|
|
|
|
github.com/libp2p/go-libp2p-kad-dht v0.5.0
|
|
|
|
github.com/libp2p/go-libp2p-net v0.1.0
|
|
|
|
github.com/libp2p/go-libp2p-peer v0.2.0
|
|
|
|
github.com/libp2p/go-libp2p-peerstore v0.1.4
|
|
|
|
github.com/libp2p/go-libp2p-pubsub v0.2.6
|
|
|
|
github.com/multiformats/go-multiaddr v0.2.0
|
|
|
|
github.com/multiformats/go-multiaddr-net v0.1.2
|
|
|
|
github.com/natefinch/lumberjack v2.0.0+incompatible
|
|
|
|
github.com/pborman/uuid v1.2.0
|
|
|
|
github.com/pkg/errors v0.9.1
|
|
|
|
github.com/prometheus/client_golang v0.9.3
|
|
|
|
github.com/prometheus/common v0.4.1 // indirect
|
|
|
|
github.com/prometheus/procfs v0.0.3 // indirect
|
|
|
|
github.com/rjeczalik/notify v0.9.2
|
|
|
|
github.com/rs/cors v1.7.0 // indirect
|
|
|
|
github.com/rs/zerolog v1.18.0
|
|
|
|
github.com/shirou/gopsutil v2.18.12+incompatible
|
|
|
|
github.com/spf13/cobra v0.0.5
|
|
|
|
github.com/spf13/viper v1.6.1
|
|
|
|
github.com/stretchr/testify v1.5.1
|
|
|
|
github.com/syndtr/goleveldb v1.0.1-0.20190318030020-c3a204f8e965
|
|
|
|
github.com/uber/jaeger-client-go v2.20.1+incompatible // indirect
|
|
|
|
github.com/uber/jaeger-lib v2.2.0+incompatible // indirect
|
|
|
|
github.com/whyrusleeping/go-logging v0.0.1
|
|
|
|
go.uber.org/atomic v1.5.1 // indirect
|
|
|
|
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550
|
|
|
|
golang.org/x/lint v0.0.0-20190930215403-16217165b5de
|
[rpc][availability][apr] Richer validator information, implement APR, unify EPoS computation, remove fall 2019 tech debt (#2484)
* [rpc][validator] Extend hmy blockchain validator information
* [availability] Optimize bump count
* [staking][validator][rpc] Remove validator stats rpc, fold into validator information, make existing pattern default behavior
* [slash] Reimplement SetDifference
* [reward][engine][network] Remove bad API from fall, begin setup for Per validator awards
* [header] Custom Marshal header for downstream, remove dev code
* [effective][committee] Factor out EPoS round of computation thereby unification in codebase of EPoS
* [unit-test] Fix semantically wrong validator unit tests, punt on maxBLS key wrt tx-pool test
* [reward] Use excellent singleflight package for caching lookup of subcommittees
* [apr][reward] Begin APR package itself, iterate on iterface signatures
* [reward] Handle possible error from singleflight
* [rpc][validator][reward] Adjust RPC committees, singleflight on votingPower, foldStats into Validator Information
* [apr] Stub out computation of APR
* [effective][committee] Upgrade SlotPurchase with named fields, provide marshal
* [effective] Update Tests
* [blockchain] TODO Remove the validators no longer in committee
* [validator][effective] More expressive string representation of eligibilty, ValidatorRPC explicit say if in committee now
* [rpc] Median-stake more semantic meaningful
* [validator] Iterate on semantic meaning of JSON representation
* [offchain] Make validator stats return explicit error
* [availability] Small typo
* [rpc] Quick visual hack until fix delete out kicked out validators
* [offchain] Delete validator from offchain that lost their slot
* [apr] Forgot to update interface signature
* [apr] Mul instead of Div
* [protocol][validator] Fold block reward accum per vaidator into validator-wrapper, off-chain => on-chain
* [votepower] Refactor votepower Roster, simplify aggregation of network wide rosters
* [votepower][shard] Adjust roster, optimize usage of BLSPublicKey as key, use MarshalText trick
* [shard] Granular errors
* [votepower][validator] Unify votepower data structure with off-chain usage
* [votepower][consensus][validator] Further simplify and unify votepower with off-chain, validator stats
* [votepower] Use RJs naming convention group,overall
* [votepower] Remove Println, do keep enforcing order
* [effective][reward] Expand semantics of eligibility as it was overloaded and confusing, evict old voting power computations
* [apr] Adjust json field name
* [votepower] Only aggregate on external validator
* [votepower] Mistake on aggregation, custom presentation network-wide
* [rpc][validator][availability] Remove parameter, take into account empty snapshot
* [apr] Use snapshots from two, one epochs ago. Still have question on header
* [apr] Use GetHeaderByNumber for the header needed for time stamp
* [chain] Evict > 3 epoch old voting power
* [blockchain] Leave Delete Validator snapshot as TODO
* [validator][rpc][effective] Undo changes to Protocol field, use virtual construct at RPC layer for meaning
* [project] Address PR comments
* [committee][rpc] Move +1 to computation of epos round rather than hack mutation
* [reward] Remove entire unnecessary loop, hook on AddReward. Remove unnecessary new big int
* [votepower][rpc][validator] Stick with numeric.Dec for token involved with computation, expose accumulate block-reward in RPC
* [effective][committee] Track the candidates for the EPoS auction, RPC median-stake benefits
* [node] Add hack way to get real error reason of why cannot load shardchain
* [consensus] Expand log on current issue on nil block
* [apr] Do the actual call to compute for validator's APR
* [committee] Wrap SlotOrder with validator address, manifests in median-stake RPC
* [apr] Incorrect error handle order
* [quorum] Remove incorrect compare on bls Key, (typo), remove redundant error check
* [shard] Add log if stakedSlots is 0
* [apr] More sanity check on div by zero, more lenient on error when dont have historical data yet
* [committee] Remove + 1 on seat count
* [apr] Use int64() directly
* [apr] Log when odd empty nil header
* [apr] Do not crash on empty header, figure out later
5 years ago
|
|
|
golang.org/x/sync v0.0.0-20190423024810-112230192c58
|
|
|
|
golang.org/x/tools v0.0.0-20191113232020-e2727e816f5a
|
|
|
|
google.golang.org/grpc v1.22.0
|
|
|
|
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15
|
|
|
|
gopkg.in/ini.v1 v1.51.0
|
|
|
|
gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
|
|
|
|
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
|
|
|
|
gopkg.in/urfave/cli.v1 v1.20.0 // indirect
|
[slash][consensus] Notice double sign & broadcast, factor out tech debt of consensus (#2152)
* [slash] Remove dead interface, associated piping
* [slash] Expand out structs
* [consensus] Write to a chan when find a case of double-signing, remove dead code
* [slash] Broadcast the noticing of a double signing
* [rawdb] CRUD for slashing candidates
* [slashing][node][proto] Broadcast the slash record after receive from consensus, handle received proto message, persist in off-chain db while pending
* [slash][node][propose-block] Add verified slashes proposed into the header in block proposal
* [slash][shard] Factor out external validator as method on shard state, add double-signature field
* [slash][engine] Apply slash, name boolean expression for sorts, use stable sort
* [slash] Abstract Ballot results so keep track of both pre and post double sign event
* [slash] Fix type errors on test code
* [slash] Read from correct rawdb
* [slash] Add epoch based guards in CRUD of slashing
* [slash] Write to correct cache for slashing candidates
* [shard] Use explicit named type of BLS Signature, use convention
* [slash] Fix mistake done in refactor, improper header used. Factor out fromSlice to set
* [slash][node] Restore newblock to master, try again minimial change
* [cx-receipts] Break up one-liner, use SliceStable, not Slice
* [network] Finish refactor that makes network message headers once
* [network] Simplify creation further of headers write
* [slash] Adjust data structure of slash after offline discussion with RJ, Chao
* [slash] Still did need signature of the double signature
* [consensus] Prepare message does not have block header
* [consensus] Soft reset three files to 968517d~1
* [consensus] Begin factor consensus network intended message out with prepare first
* [consensus] Factor out Prepared message
* [consensus] Factor out announce message creation
* [consensus] Committed Message, branch on verify sender key for clearer log
* [consensus] Committed Message Factor out
* [consensus] Do jenkins MVP of signatures adjustment
* [main][slash] Provide YAML config as webhook config for double sign event
* [consensus] Adjust signatures, whitespace, lessen GC pressure
* [consensus] Remove dead code
* [consensus] Factor out commit overloaded message, give commit payload override in construct
* [consensus] Fix travis tests
* [consensus] Provide block bytes in SubmitVote(quorum.Commit)
* [consensus] Factor out noisy sanity checks in BFT, move existing commit check earlier as was before
* [quorum] Adjust signatures in quorum
* [staking] Adjust after merge from master
* [consensus] Finish refactor of consensus
* [node] Fix import
* [consensus] Fix travis
* [consensus] Use origin/master copy of block, fix mistake of pointer to empty byte
* [consensus] Less verbose bools
* [consensus] Remove unused trailing mutation hook in message construct
* [consensus] Address some TODOs on err, comment out double sign
5 years ago
|
|
|
gopkg.in/yaml.v2 v2.2.7
|
|
|
|
)
|