chain stick with proposal submission
Summary
Blockheight was 15416. I prepared a budget proposal. Proposal txid was c34f070beaeed3a85a0a14af762dc289bf6c5cb50630581a261c3e6a56031945 and was processed as instantsend.
gettransaction immediately reports 5 confirmations.
mnbudget submit says too soon, need 6 confirmations, have 5.
debug.log shows instantx sent to 10 MNs, I think 5 gave it the thumbs up.
30 minutes later the chain is still at height 15416.
Steps to reproduce
See above
Expected behavior
Chain shouldn't stick on mnbudget proposal
Problematic behavior
Chain (appears to) sticks
Crown-core environment info
MX 17.1 linux
Crown-core application info
Crown version v0.12.5.1-5184c558 (2018-12-07 13:59:07 -0700) pipeline 848
Relevant logs and/or screenshots
2018-12-13 11:04:28 CreateCoinStake -- Must be masternode or systemnode to create coin stake!
2018-12-13 11:04:28 CheckProofOfStake : OutPoint: 515d767719f2053061a85ef21264bdeb312bb870e11ecfad339b91471d1d99f2:2 Modifier=5a1ae6a68738c317c2cd307f1fe8b3a581cbf8b6d93b80da3876ebe4cfef6715 timeblockfrom=1544621802 time=1544699097 amount=500
2018-12-13 11:04:28 UpdateTip: new best=dcb25bc028a4913cf517860e1db4bf4644a8e23c8d0dad65f80c0fe0f5b08ce0 height=15416 log2_work=39.432116 tx=21036 date=2018-12-13 11:04:57 progress=1.000052 cache=0.4MiB(1802tx)
2018-12-13 11:04:28 ProcessNewBlock : ACCEPTED
2018-12-13 11:04:28 ProcessNewBlock : ACCEPTED
2018-12-13 11:04:32 ResendWalletTransactions()
2018-12-13 11:05:04 CreateCoinStake -- Must be masternode or systemnode to create coin stake!
...
2018-12-13 11:07:16 connect() to 23.95.16.95:19340 failed after select(): Connection refused (111)
2018-12-13 11:07:17 CreateCoinStake -- Must be masternode or systemnode to create coin stake!
2018-12-13 11:07:18 CreateCoinStake -- Must be masternode or systemnode to create coin stake!
2018-12-13 11:07:19 CreateCoinStake -- Must be masternode or systemnode to create coin stake!
2018-12-13 11:07:20 CreateCoinStake -- Must be masternode or systemnode to create coin stake!
2018-12-13 11:07:21 keypool reserve 76
2018-12-13 11:07:21 keypool keep 76
2018-12-13 11:07:21 CreateCoinStake -- Must be masternode or systemnode to create coin stake!
...
2018-12-13 11:07:48 CreateCoinStake -- Must be masternode or systemnode to create coin stake!
2018-12-13 11:07:48 GetBudgetSystemCollateralTX: Error - Signing transaction failed
2018-12-13 11:07:49 CreateCoinStake -- Must be masternode or systemnode to create coin stake!
...
2018-12-13 11:08:42 CreateCoinStake -- Must be masternode or systemnode to create coin stake!
2018-12-13 11:08:42 keypool added key 1076, size=1000
2018-12-13 11:08:42 init message: Loading wallet... (107.49 %)
2018-12-13 11:08:42 keypool added key 1077, size=1001
2018-12-13 11:08:42 init message: Loading wallet... (107.59 %)
2018-12-13 11:08:43 CreateCoinStake -- Must be masternode or systemnode to create coin stake!
2018-12-13 11:08:44 CreateCoinStake -- Must be masternode or systemnode to create coin stake!
2018-12-13 11:08:45 CreateCoinStake -- Must be masternode or systemnode to create coin stake!
2018-12-13 11:08:45 keypool reserve 77
2018-12-13 11:08:45 keypool return 77
2018-12-13 11:08:45 CommitTransaction:
CTransaction(hash=c34f070bea, ver=1, vin.size=6, vout.size=2, nLockTime=0)
CTxIn(COutPoint(b6e9398573a793e2cb7296d3ed995e8e62d72acc82d673aa5efea957181dc167, 1), scriptSig=304402200f7a717224afa28f)
CTxIn(COutPoint(6255a058c1400336349c59c841ebed91962550ae50b6f9ac386dd65862f68cf2, 1), scriptSig=3045022100f9b27197e28d97)
CTxIn(COutPoint(94fa29f23ba6499f4a2caef465bd8de1b7fee5b09974ee66a88d2d62bb3b1e01, 0), scriptSig=3045022100bd8075dc9e0135)
CTxIn(COutPoint(a28c41ac0ca84894aa1d4ef3f4418a5e62d6a200df007733f986c869dc2bb562, 1), scriptSig=3045022100d1cd3c37f5320e)
CTxIn(COutPoint(7401a1c4cd2351ff9aa8db2ac29878e35bd4a9be59a9cbf036c9946fa236ad59, 1), scriptSig=3045022100c19caa4f05fea8)
CTxIn(COutPoint(010d8fba71f021a7179b44177a6a513df21eaad3148f718d8b600dbae869e1e2, 0), scriptSig=3044022040949b97c0693da1)
CTxOut(nValue=25.00000000, scriptPubKey=OP_RETURN 0003f4b40cda6d631201)
CTxOut(nValue=0.98874569, scriptPubKey=OP_DUP OP_HASH160 8c7fe00ae0f1)
2018-12-13 11:08:45 AddToWallet c34f070beaeed3a85a0a14af762dc289bf6c5cb50630581a261c3e6a56031945 new
2018-12-13 11:08:45 AddToWallet c34f070beaeed3a85a0a14af762dc289bf6c5cb50630581a261c3e6a56031945
2018-12-13 11:08:45 Relaying wtx c34f070beaeed3a85a0a14af762dc289bf6c5cb50630581a261c3e6a56031945
2018-12-13 11:08:45 CWalletTx::RelayWalletTransaction() - Instant send to address: 3QJmnh
2018-12-13 11:08:45 CreateNewLock - New Transaction Lock c34f070beaeed3a85a0a14af762dc289bf6c5cb50630581a261c3e6a56031945 !
2018-12-13 11:08:46 InstantX::ProcessConsensusVote - Masternode ADDR 23.95.16.96:19340 5
2018-12-13 11:08:46 CreateCoinStake -- Must be masternode or systemnode to create coin stake!
2018-12-13 11:08:46 InstantX::ProcessConsensusVote - Masternode ADDR 196.52.70.12:19340 1
2018-12-13 11:08:46 InstantX::ProcessConsensusVote - Masternode ADDR 196.52.70.4:19340 4
2018-12-13 11:08:46 InstantX::ProcessConsensusVote - Masternode ADDR 196.52.70.5:19340 3
2018-12-13 11:08:46 InstantX::ProcessConsensusVote - Masternode ADDR 196.53.107.122:19340 9
2018-12-13 11:08:46 InstantX::ProcessConsensusVote - Masternode ADDR 195.52.70.9:19340 10
2018-12-13 11:08:46 InstantX::ProcessConsensusVote - Transaction Lock Is Complete
2018-12-13 11:08:46 InstantX::ProcessConsensusVote - Masternode ADDR 195.52.70.8:19340 2
2018-12-13 11:08:46 InstantX::ProcessConsensusVote - Transaction Lock Is Complete
2018-12-13 11:08:46 InstantX::ProcessConsensusVote - Masternode ADDR 165.231.40.4:19340 6
2018-12-13 11:08:46 InstantX::ProcessConsensusVote - Transaction Lock Is Complete
2018-12-13 11:08:46 InstantX::ProcessConsensusVote - Masternode ADDR 89.238.138.93:19340 8
2018-12-13 11:08:46 InstantX::ProcessConsensusVote - Transaction Lock Is Complete
2018-12-13 11:08:46 InstantX::ProcessConsensusVote - Masternode ADDR 196.52.70.11:19340 7
2018-12-13 11:08:46 InstantX::ProcessConsensusVote - Transaction Lock Is Complete
2018-12-13 11:08:47 CreateCoinStake -- Must be masternode or systemnode to create coin stake!
...
2018-12-13 11:09:20 CreateCoinStake -- Must be masternode or systemnode to create coin stake!
2018-12-13 11:09:20 CBudgetProposalBroadcast::IsBudgetCollateralValid - Collateral requires at least 6 confirmations - 5 confirmations - 5 confirmations
2018-12-13 11:09:21 CreateCoinStake -- Must be masternode or systemnode to create coin stake!
...
2018-12-13 11:43:39 CreateCoinStake -- Must be masternode or systemnode to create coin stake!
2018-12-13 11:43:40 CreateCoinStake -- Must be masternode or systemnode to create coin stake!
Possible fixes
(Any comments on what you think might be responsible for the problem, if you have particular insight.)
/cc @finjosh