|
|
|
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/davidlazar/go-crypto v0.0.0-20190912175916-7055855a373f // indirect
|
|
|
|
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/gorilla/websocket v1.4.2 // indirect
|
|
|
|
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/jackpal/gateway v1.0.6 // indirect
|
|
|
|
github.com/jbenet/go-temp-err-catcher v0.1.0 // indirect
|
|
|
|
github.com/karalabe/hid v1.0.0 // indirect
|
|
|
|
github.com/kylelemons/godebug v1.1.0 // indirect
|
|
|
|
github.com/libp2p/go-libp2p v0.7.3
|
|
|
|
github.com/libp2p/go-libp2p-core v0.5.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.2.2
|
|
|
|
github.com/libp2p/go-libp2p-pubsub v0.2.7-0.20200325112436-d3d43e32bef3
|
|
|
|
github.com/libp2p/go-nat v0.0.5 // indirect
|
|
|
|
github.com/libp2p/go-reuseport-transport v0.0.3 // indirect
|
|
|
|
github.com/multiformats/go-multiaddr v0.2.1
|
|
|
|
github.com/multiformats/go-multiaddr-net v0.1.4
|
|
|
|
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
|
|
|
|
go.uber.org/zap v1.14.1 // indirect
|
|
|
|
golang.org/x/crypto v0.0.0-20200323165209-0ec3e9974c59
|
|
|
|
golang.org/x/lint v0.0.0-20200302205851-738671d3881b
|
|
|
|
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e // indirect
|
|
|
|
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e
|
|
|
|
golang.org/x/sys v0.0.0-20200331124033-c3d80250170d // indirect
|
|
|
|
golang.org/x/tools v0.0.0-20200402223321-bcf690261a44
|
|
|
|
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
|
|
|
|
)
|