Giter Site home page Giter Site logo

corestario / tendermint Goto Github PK

View Code? Open in Web Editor NEW
18.0 18.0 6.0 73.83 MB

Tendermint with an embedded BLS random beacon

License: Other

Shell 3.17% Dockerfile 0.08% Makefile 1.06% Go 73.27% Python 2.40% HCL 0.05% C++ 2.43% M4 0.69% C 15.27% Assembly 0.76% Java 0.80% HTML 0.02%

tendermint's People

Contributors

alessio avatar b00ris avatar bradyjoestar avatar brapse avatar caffix avatar cwgoes avatar dependabot-preview[bot] avatar ebuchman avatar ethanfrey avatar greg-szabo avatar jaekwon avatar jekamas avatar liamsi avatar mappum avatar melekes avatar mossid avatar odeke-em avatar petabytestorage avatar pr0n00gler avatar primalcs avatar rigelrozanski avatar silasdavis avatar srmo avatar tac0turtle avatar thanethomson avatar valardragon avatar xla avatar zavgorodnii avatar zmanian avatar zramsay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tendermint's Issues

DKG panic after a while

I[19026-02-19|12:05:39.548] Executed block                               module=state height=11110 validTxs=0 invalidTxs=0
I[19026-02-19|12:05:39.758] Committed state                              module=state height=11110 txs=0 appHash=FBAE78476CE901680D5686DB0867DA1E02C123BCE22286111094C7A75BABB584
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x3c0 pc=0x7f6fa16e8682]

runtime stack:
runtime.throw(0xf6d5ba, 0x2a)
	/snap/go/3129/src/runtime/panic.go:608 +0x72
runtime.sigpanic()
	/snap/go/3129/src/runtime/signal_unix.go:374 +0x2f2

goroutine 92 [syscall]:
runtime.cgocall(0xd25f5f, 0xc0008acf08, 0x29)
	/snap/go/3129/src/runtime/cgocall.go:128 +0x5e fp=0xc0008aced0 sp=0xc0008ace98 pc=0x40793e
github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/dgaming-crypto/go/bls._Cfunc_blsSign(0xc0001abcb0, 0xc00098b980, 0xc0008bc120, 0x30)
	_cgo_gotypes.go:186 +0x45 fp=0xc0008acf08 sp=0xc0008aced0 pc=0xa5ee65
github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/dgaming-crypto/go/bls.(*SecretKey).Sign.func1(0xc0008bc120, 0x30, 0x30, 0xc0001abcb0, 0xc00098b980, 0xc0008bc120, 0x30)
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/dgaming-crypto/go/bls/bls.go:323 +0xf8 fp=0xc0008acf60 sp=0xc0008acf08 pc=0xa64858
github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/dgaming-crypto/go/bls.(*SecretKey).Sign(0xc00098b980, 0xc0008bc0f0, 0x30, 0x30)
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/dgaming-crypto/go/bls/bls.go:323 +0xa1 fp=0xc0008acfb0 sp=0xc0008acf60 pc=0xa62671
github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/types.(*BLSVerifier).Sign(0xc00082be20, 0xc000893f80, 0x30, 0x30, 0x20, 0x1, 0xc00226de00)
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/types/signable.go:58 +0x84 fp=0xc0008ad018 sp=0xc0008acfb0 pc=0xa93fc4
github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/consensus.(*ConsensusState).enterPrecommit(0xc00054b500, 0x2b67, 0x0)
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/consensus/state.go:1098 +0xcbe fp=0xc0008ad688 sp=0xc0008ad018 pc=0xc9d26e
github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/consensus.(*ConsensusState).addVote(0xc00054b500, 0xc003f5e0c0, 0x0, 0x0, 0x4c75ed, 0xc0000df2c0, 0xc0022ed200)
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/consensus/state.go:1646 +0xeea fp=0xc0008ada88 sp=0xc0008ad688 pc=0xca40aa
github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/consensus.(*ConsensusState).tryAddVote(0xc00054b500, 0xc003f5e0c0, 0x0, 0x0, 0x42ff82, 0xc000000008, 0xc0008adb80)
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/consensus/state.go:1503 +0x59 fp=0xc0008adb08 sp=0xc0008ada88 pc=0xca2c99
github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/consensus.(*ConsensusState).handleMsg(0xc00054b500, 0x1185ea0, 0xc000f67920, 0x0, 0x0)
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/consensus/state.go:678 +0x696 fp=0xc0008adc28 sp=0xc0008adb08 pc=0xc97dd6
github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/consensus.(*ConsensusState).receiveRoutine(0xc00054b500, 0x0)
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/consensus/state.go:638 +0x555 fp=0xc0008adfd0 sp=0xc0008adc28 pc=0xc97585
runtime.goexit()
	/snap/go/3129/src/runtime/asm_amd64.s:1333 +0x1 fp=0xc0008adfd8 sp=0xc0008adfd0 pc=0x460d91
created by github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/consensus.(*ConsensusState).OnStart
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/consensus/state.go:327 +0x132

goroutine 1 [select (no cases), 974 minutes]:
github.com/dgamingfoundation/flipcoin/vendor/github.com/cosmos/cosmos-sdk/server.startInProcess(0xc00000c840, 0x10b6220, 0x1d, 0x0, 0x0)
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/cosmos/cosmos-sdk/server/start.go:150 +0x639
github.com/dgamingfoundation/flipcoin/vendor/github.com/cosmos/cosmos-sdk/server.StartCmd.func1(0xc00020ec80, 0x1bc7008, 0x0, 0x0, 0x0, 0x0)
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/cosmos/cosmos-sdk/server/start.go:42 +0xab
github.com/dgamingfoundation/flipcoin/vendor/github.com/spf13/cobra.(*Command).execute(0xc00020ec80, 0x1bc7008, 0x0, 0x0, 0xc00020ec80, 0x1bc7008)
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/spf13/cobra/command.go:762 +0x473
github.com/dgamingfoundation/flipcoin/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc0000fca00, 0xc00000c9e0, 0xc0004cfe90, 0x80c9cd)
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/spf13/cobra/command.go:852 +0x2fd
github.com/dgamingfoundation/flipcoin/vendor/github.com/spf13/cobra.(*Command).Execute(0xc0000fca00, 0x80c27b, 0xc00007cc70)
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/spf13/cobra/command.go:800 +0x2b
github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/libs/cli.Executor.Execute(0xc0000fca00, 0x10b6648, 0x2, 0xc000aaa040)
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/libs/cli/setup.go:89 +0x4e
main.main()
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/cmd/flipd/main.go:63 +0x1ef

goroutine 19 [syscall, 974 minutes]:
os/signal.signal_recv(0x0)
	/snap/go/3129/src/runtime/sigqueue.go:139 +0x9c
os/signal.loop()
	/snap/go/3129/src/os/signal/signal_unix.go:23 +0x22
created by os/signal.init.0
	/snap/go/3129/src/os/signal/signal_unix.go:29 +0x41

goroutine 11 [select]:
github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc000ac82a0)
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:206 +0x12a
created by github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb/util.NewBufferPool
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:237 +0x177

goroutine 12 [select, 375 minutes]:
github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0xc000abe9c0)
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go:90 +0xd3
created by github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb.openDB
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb/db.go:142 +0x40c

goroutine 13 [select]:
github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).mpoolDrain(0xc000abe9c0)
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb/db_state.go:101 +0xe7
created by github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb.openDB
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb/db.go:143 +0x42e

goroutine 14 [select, 375 minutes]:
github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).tCompaction(0xc000abe9c0)
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go:825 +0x242
created by github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb.openDB
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb/db.go:149 +0x58c

goroutine 15 [select, 375 minutes]:
github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0xc000abe9c0)
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go:762 +0x12e
created by github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb.openDB
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb/db.go:150 +0x5ae

goroutine 16 [select]:
github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc000ac8460)
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:206 +0x12a
created by github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb/util.NewBufferPool
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:237 +0x177

goroutine 27 [select, 172 minutes]:
github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0xc000abf520)
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go:90 +0xd3
created by github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb.openDB
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb/db.go:142 +0x40c

goroutine 28 [select]:
github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).mpoolDrain(0xc000abf520)
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb/db_state.go:101 +0xe7
created by github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb.openDB
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb/db.go:143 +0x42e

goroutine 29 [select, 172 minutes]:
github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).tCompaction(0xc000abf520)
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go:825 +0x242
created by github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb.openDB
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb/db.go:149 +0x58c

goroutine 30 [select, 172 minutes]:
github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0xc000abf520)
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go:762 +0x12e
created by github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb.openDB
	/mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/syndtr/goleveldb/leveldb/db.go:150 +0x5ae

DKG tests implementation

  • Success test
  • A node sends an incorrect deal
  • A node hasn't sent a deal
  • A node hasn't sent any deals
  • A node hasn't sent a response
  • A node hasn't sent any responses
  • A node hasn't sent a justification
  • A node sends an incorrect justification
  • A node sends more than one deal
  • A node sends more than one Response
  • A node sends more than one justification
  • A losers nodes are slashed
  • A node can't fail dkg if it sends messages from further steps
  • A node adds an incorrect data to NumEntities in DKGCommits
  • A node sends more than one secret commit
  • Messages with wrong round id
  • not validator dkg messages can't fail dkg
  • msgInfo with low round can't fail ConsensusState.handleDKGShare
  • msgInfo with huge round can't fail ConsensusState.handleDKGShare

Post-PR Kyber refactoring

There was some after-review propositions that were cumbersome and not a dealbreaker for PR acceptance. This is an issue to deal with them

Cluster panics after mock-dkg PR

Mar 19 09:39:31 flipcoin-node0 flipd[17387]: I[19036-03-19|09:39:31.683] Starting ABCI with Tendermint                module=main
Mar 19 09:39:31 flipcoin-node0 flipd[17387]: I[19036-03-19|09:39:31.713] Starting multiAppConn                        module=proxy impl=multiAppConn
Mar 19 09:39:31 flipcoin-node0 flipd[17387]: I[19036-03-19|09:39:31.713] Starting localClient                         module=abci-client connection=query impl=localClient
Mar 19 09:39:31 flipcoin-node0 flipd[17387]: I[19036-03-19|09:39:31.713] Starting localClient                         module=abci-client connection=mempool impl=localClient
Mar 19 09:39:31 flipcoin-node0 flipd[17387]: I[19036-03-19|09:39:31.713] Starting localClient                         module=abci-client connection=consensus impl=localClient
Mar 19 09:39:31 flipcoin-node0 flipd[17387]: I[19036-03-19|09:39:31.713] ABCI Handshake App Info                      module=consensus height=0 hash= software-version= protocol-version=0
Mar 19 09:39:31 flipcoin-node0 flipd[17387]: I[19036-03-19|09:39:31.714] ABCI Replay Blocks                           module=consensus appHeight=0 storeHeight=0 stateHeight=0
Mar 19 09:39:31 flipcoin-node0 flipd[17387]: I[19036-03-19|09:39:31.716] Completed ABCI Handshake - Tendermint and App are synced module=consensus appHeight=0 appHash=
Mar 19 09:39:31 flipcoin-node0 flipd[17387]: I[19036-03-19|09:39:31.716] Version info                                 module=node software=0.28.1 block=8 p2p=5
Mar 19 09:39:31 flipcoin-node0 flipd[17387]: I[19036-03-19|09:39:31.716] This node is a validator                     module=consensus addr=EC1983192C1C87C83D258770A6E5C623FCFEE6F6 pubKey=PubKeyEd25519{869DF2536623E3E3ECAD083077C1A561FFCA6B75765A173A62496BC0C409FD5A}
Mar 19 09:39:31 flipcoin-node0 flipd[17387]: load bls from /root/.nsd/config/bls_key.json
Mar 19 09:39:31 flipcoin-node0 flipd[17387]: panic: runtime error: invalid memory address or nil pointer dereference
Mar 19 09:39:31 flipcoin-node0 flipd[17387]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xd24776]
Mar 19 09:39:31 flipcoin-node0 flipd[17387]: goroutine 1 [running]:
Mar 19 09:39:31 flipcoin-node0 flipd[17387]: github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/consensus.(*ConsensusState).startDKGRound(0xc000088a80, 0x3ff0000000000000)
Mar 19 09:39:31 flipcoin-node0 flipd[17387]:         /mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/consensus/dkg.go:69 +0x46
Mar 19 09:39:31 flipcoin-node0 flipd[17387]: github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/consensus.(*ConsensusState).updateHeight(0xc000088a80, 0x1)
Mar 19 09:39:31 flipcoin-node0 flipd[17387]:         /mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/consensus/state.go:459 +0x9b
Mar 19 09:39:31 flipcoin-node0 flipd[17387]: github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/consensus.(*ConsensusState).updateToState(0xc000088a80, 0x8, 0x0, 0xc000981380, 0x6, 0xc0009813f0, 0xc, 0x0, 0x0, 0x0, ...)
Mar 19 09:39:31 flipcoin-node0 flipd[17387]:         /mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/consensus/state.go:556 +0x15c
Mar 19 09:39:31 flipcoin-node0 flipd[17387]: github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/consensus.NewConsensusState(0xc0000a7560, 0x8, 0x0, 0xc000981380, 0x6, 0xc0009813f0, 0xc, 0x0, 0x0, 0x0, ...)
Mar 19 09:39:31 flipcoin-node0 flipd[17387]:         /mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/consensus/state.go:189 +0x58c
Mar 19 09:39:31 flipcoin-node0 flipd[17387]: github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/node.NewNode(0xc000101180, 0x12c8ba0, 0xc000a9ad20, 0xc00003f010, 0x12b25a0, 0xc00000ffe0, 0xc00003f250, 0x1179900, 0xc00003f260, 0x12ce5e0, ...)
Mar 19 09:39:31 flipcoin-node0 flipd[17387]:         /mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/node/node.go:345 +0x2243
Mar 19 09:39:31 flipcoin-node0 flipd[17387]: github.com/dgamingfoundation/flipcoin/vendor/github.com/cosmos/cosmos-sdk/server.startInProcess(0xc00000ed20, 0x117a150, 0x1d, 0x0, 0x0)
Mar 19 09:39:31 flipcoin-node0 flipd[17387]:         /mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/cosmos/cosmos-sdk/server/start.go:124 +0x4c2
Mar 19 09:39:31 flipcoin-node0 flipd[17387]: github.com/dgamingfoundation/flipcoin/vendor/github.com/cosmos/cosmos-sdk/server.StartCmd.func1(0xc00018ef00, 0xc000a84a20, 0x0, 0x3, 0x0, 0x0)
Mar 19 09:39:31 flipcoin-node0 flipd[17387]:         /mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/cosmos/cosmos-sdk/server/start.go:42 +0xb5
Mar 19 09:39:31 flipcoin-node0 flipd[17387]: github.com/dgamingfoundation/flipcoin/vendor/github.com/spf13/cobra.(*Command).execute(0xc00018ef00, 0xc000a84990, 0x3, 0x3, 0xc00018ef00, 0xc000a84990)
Mar 19 09:39:31 flipcoin-node0 flipd[17387]:         /mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/spf13/cobra/command.go:762 +0x465
Mar 19 09:39:31 flipcoin-node0 flipd[17387]: github.com/dgamingfoundation/flipcoin/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc0000dea00, 0x2, 0xc00000ef00, 0x10288da)
Mar 19 09:39:31 flipcoin-node0 flipd[17387]:         /mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/spf13/cobra/command.go:852 +0x2ec
Mar 19 09:39:31 flipcoin-node0 flipd[17387]: github.com/dgamingfoundation/flipcoin/vendor/github.com/spf13/cobra.(*Command).Execute(...)
Mar 19 09:39:31 flipcoin-node0 flipd[17387]:         /mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/spf13/cobra/command.go:800
Mar 19 09:39:31 flipcoin-node0 flipd[17387]: github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/libs/cli.Executor.Execute(0xc0000dea00, 0x117a578, 0x2, 0xc000a86060)
Mar 19 09:39:31 flipcoin-node0 flipd[17387]:         /mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/vendor/github.com/tendermint/tendermint/libs/cli/setup.go:89 +0x3c
Mar 19 09:39:31 flipcoin-node0 flipd[17387]: main.main()
Mar 19 09:39:31 flipcoin-node0 flipd[17387]:         /mnt/sdb/go/src/github.com/dgamingfoundation/flipcoin/cmd/flipd/main.go:72 +0x244

Add bad random evidance

As it defined in types/evidence.go we should add new evidence and the handle for wrong random//BLS signature case.
Such evidence should be added to consensus/state.go tryAddVote method.

related to tendermint/tendermint#2871

Chose type of key for signing messages

Problem

We don't understand well which type of key should we use for signing dkg messages
The current implementation uses a key from the first part of dkg which is incorrect.

Acceptance Criteria

A comment here which justifies which key we should use and why.

related to:
#64
#65

StressTest/LoadTest CI

Problem

We are interested in a sort of ci which allows us to run a stress test by clicking a button.
Parameters:

The deployed cluster should also send stats to our Prometheus node.

Implementation

TBD after discussion.

Build a simple application to demonstrate random number usage

Build a simple Tendermint ABCI application to demonstrate random number usage.

It should be a simple Flip Coin game. The game generates Heads or Tails randomly. A user tries to guess what side is generated by sending a corresponding flip-coin transaction to the application. If the user sends the value (Heads or Tails) which is the same as the guessed one, s/he wins the game.

For simplicity reasons, let's suppose that a user can flip a coin once per block only.

Save stats about last blocks in benchmarks

In terms of testing scenarios, we should check block time and stop stress testing if it's too high. Also, we need to show some data about the last blocks.

After the issue, we can make our CI with stress tests - #19

Massive testnet

At least 30 geodistributed validators, at least for a day

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.