PoS testing: Can't mnbudget prepare/submit
Summary
Unable to submit a budget proposal
Steps to reproduce
Possibly only repros with my wallet (@ashot has a copy) but attempt to prepare a proposal, eg:
mark@x230:~/.crownpos/testnet3$ pcrowncli mnbudget prepare "walk02" "walkjivefly.com" 10 15500 tCRWPFou6bJ3ya1zjrDhdCrGXVhN5oaGVa5XN 20
eb96bc6c5210b0818825a5ca5f46f0b32842ff594b70ddfadd1206bca54aba89
(this did NOT produce an error like issue #281 (closed) in debug.log) a few blocks later
mark@x230:~/.crownpos/testnet3$ pcrowncli mnbudget submit "walk02" "walkjivefly.com" 10 15500 tCRWPFou6bJ3ya1zjrDhdCrGXVhN5oaGVa5XN 20 eb96bc6c5210b0818825a5ca5f46f0b32842ff594b70ddfadd1206bca54aba89
Proposal FeeTX is not valid - eb96bc6c5210b0818825a5ca5f46f0b32842ff594b70ddfadd1206bca54aba89 - Collateral requires at least 6 confirmations - 0 confirmations
mark@x230:~/.crownpos/testnet3$ pcrowncli gettransaction eb96bc6c5210b0818825a5ca5f46f0b32842ff594b70ddfadd1206bca54aba89
{
"amount" : -25.00000000,
"fee" : -0.00009740,
"confirmations" : 0,
"bcconfirmations" : 0,
"txid" : "eb96bc6c5210b0818825a5ca5f46f0b32842ff594b70ddfadd1206bca54aba89",
"walletconflicts" : [
"13dca819b179823374e6f46f4e030ea5df273fb3927a34c66189c235d73f9b73",
"fe5cb1b6d3470c7a0b31299086cd2badb517e061fcc2ff984388b326596470b6"
],
"time" : 1547627766,
"timereceived" : 1547648522,
"details" : [
{
"account" : "",
"category" : "send",
"amount" : -25.00000000,
"vout" : 0,
"fee" : -0.00009740
}
],
"hex" : "01000000060d67fbcd831be8cf6f837509b68a747078210b9c0b20fe9c712049299894e355000000006a47304402201eae7e40acb61ff5deb9975cdce95ab09a9a07680e2c7dbcb630cf6b5a9b42cc02203375d27d4f3756e0c16df11c14d8c12512f536de0e0eb898e0b484b44ebd0953012103ca0b6a9e65449b2fe3fd773b9085b766b6be0e3b2684ba87999075bd41ae8fa8ffffffff412df96f15dc869a00033364dff54e75ac5df600b1eebb9a042ad2c7adcd06bb010000006a473044022054fa81f04bdd792bb7b449c67617e92aa780e9fb696940f3bf6adc2e4beb3305022029c918c491212487adcbcce73e940784d6b19bc973c6da4e8ed8bf33942ae2ae012102de24850e78d9ba5314df87dc912a78a9c47c097204024b44fa1c4f8deb063ca9ffffffff23a0080465eba0eb6b5d75d814feb02e91d2d0a3c05c7e1c497336a7deea7b57010000006a473044022069c1c1ad65dfbdc2498c0d0a1d9799ef06c49acaf8f1a69c7104585645a5c37202202f89ff13cbbf385e76bb758808463b70b23ad21ca821873437cef77e846e3496012102de24850e78d9ba5314df87dc912a78a9c47c097204024b44fa1c4f8deb063ca9ffffffffa41b890fd564b9d110fc05ffb6c168c9792db3b80ed9c4b97206f04121e9eec1010000006b4830450221009b854413046e4fe55adc7dd56a99773d8a7a63aff4767847ad09da66dbc6167a02203172f1708801e3429705a09f47beeebda0263d4566c07cf6f7523312b903eb70012102de24850e78d9ba5314df87dc912a78a9c47c097204024b44fa1c4f8deb063ca9ffffffffee303aa8e98cea6cd88e0ba5849946820c89e30e5956f097ab818c3e3d39c931010000006a47304402206ec2c237c3abe23337b7a7892dad2fd343f97d0e66edc7e3b6f946b780340db602204d7c736237b43998dacb6fa43f4745594bff39f37028fbd3d2e1694f8b1ea799012103cb5902808f134911ca230cb6577875d217a95c9001da789f3058c539f3591e8cffffffff269c2750d6d922830c10cc63c4ab1162376d122d4f32d929d0380c4856545924020000006b483045022100dda498f020a40e617ee8c6e714b43002060a36e3183872f5122d8219a5a46efb02202fc8a63d0dfb52c07797c30f581bc855f17ded38ae45edce33af02353de1dd320121022c3ac1d27419162afeb75a46d832184d514a445c96691e15cd17e81f20bcec40ffffffff0200f9029500000000226a20d15ce2e49abfa6dd08c2cbc0f1305a35e858ae327ebe7821f4424f247640e55f4e8fb504000000001976a91441ae02d9036b60e3e9c45534f2b21cf08b0adbb188ac00000000"
}
and debug.log shows
2019-01-16 14:57:57 CBudgetProposalBroadcast::IsBudgetCollateralValid - Collateral requires at least 6 confirmations - 0 confirmations - 0 confirmations
2019-01-16 14:59:42 CWalletTx::GetAmounts: Unknown transaction type found, txid eb96bc6c5210b0818825a5ca5f46f0b32842ff594b70ddfadd1206bca54aba89
Expected behavior
proposal is submitted
Problematic behavior
The prepare didn't give an error on the terminal, nor in the debug.log but the txid it reported is conflicted and can't be used for the submit.
Unfortunately the UTXO selection process for the prepare keeps picking invalid txns so I can't prepare/submit anything.
Crown-core environment info
MX 17.1 linux
Crown-core application info
Crown version v0.12.7.1-2029222a pipeline 873 build 5011
Relevant logs, dumps and/or screenshots
20190116_walkjivefly_wallet_2.log uploaded to https://nextcloud.crown.tech/nextcloud/s/znd8HiiAsRX3C6B
Possible fixes
Another variation on issue #280 (closed) and issue #281 (closed)
/cc @artem