-
Notifications
You must be signed in to change notification settings - Fork 229
-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
omni_funded_send fail #795
Comments
Anyone hlep me, thanks.. |
If restart omnicore, it works one time, do it again then fail.
Tx: bb989c1933c5e2314549578507617371b25e03208e1196319aab3172b4567a09
error code: -212 |
@dexX7 I am also experiencing this problem. If you have a solution please help me! thanks you! |
+1 #791 |
Anyone can solve this problem ? |
@dexX7 help me |
I guess you receiving this messsage because the from ( from, not the feefrom ) have 0 balance in BTC, you need some balance in BTC in from to create a transaction. But If you transfer some btc to address X ( 0.0005 for example ) , you can repeat the transfer without problem. |
@marucelo Fail still. omni_funded_send "1KBZqsy22w8AJ2dPuYMc4W3hykosWey98R" "16ovigXQdfPsbUCm9BYNGjFL31cNXTkduE" 31 0.6 "1MaLGJYdXSDva7zPkLaEBmugX7JSvjhXNT" 1KBZqsy22w8AJ2dPuYMc4W3hykosWey98R 1MaLGJYdXSDva7zPkLaEBmugX7JSvjhXNT |
I just made the tests again: 3BMEtyRXqVGRujANXNEXyTZ3tY3kRqraQQ 0 BTC BALANCEomnicore-cli omni_funded_send "3BMEtyRXqVGRujANXNEXyTZ3tY3kRqraQQ" "1BNY3BKk6AhWNq8iYrCuJxiNMtHHSGbg4o" 31 "3" "3AJyCVDv5Nb55tpCnMxYxsqc3cAYQXZWEP" Send 0.0005 BTC to 3BMEtyRXqVGRujANXNEXyTZ3tY3kRqraQQomnicore-cli sendtoaddress "3BMEtyRXqVGRujANXNEXyTZ3tY3kRqraQQ" 0.0005 "" "" true 3BMEtyRXqVGRujANXNEXyTZ3tY3kRqraQQ 0.0005 BTC BALANCEomnicore-cli omni_funded_send "3BMEtyRXqVGRujANXNEXyTZ3tY3kRqraQQ" "1BNY3BKk6AhWNq8iYrCuJxiNMtHHSGbg4o" 31 3 "3AJyCVDv5Nb55tpCnMxYxsqc3cAYQXZWEP" 3BMEtyRXqVGRujANXNEXyTZ3tY3kRqraQQ 0 BTC BALANCEomnicore-cli omni_funded_send "3BMEtyRXqVGRujANXNEXyTZ3tY3kRqraQQ" "1BNY3BKk6AhWNq8iYrCuJxiNMtHHSGbg4o" 31 3 "3AJyCVDv5Nb55tpCnMxYxsqc3cAYQXZWEP" Send 0.0005 BTC to 3BMEtyRXqVGRujANXNEXyTZ3tY3kRqraQQomnicore-cli sendtoaddress "3BMEtyRXqVGRujANXNEXyTZ3tY3kRqraQQ" 0.0005 "" "" true 3BMEtyRXqVGRujANXNEXyTZ3tY3kRqraQQ 0.0005 BTC BALANCEomnicore-cli omni_funded_send "3BMEtyRXqVGRujANXNEXyTZ3tY3kRqraQQ" "1BNY3BKk6AhWNq8iYrCuJxiNMtHHSGbg4o" 31 3 "3AJyCVDv5Nb55tpCnMxYxsqc3cAYQXZWEP" Please, can you run omnicore-cli listunspent 0 9999999 and send the output? |
I try again. Thanks. |
@marucelo Thank you very very much. Marucelo solve my problem. |
@marucelo why you use |
@Laizhongsheng omnicore.log shows "CreateFundedTransaction: ERROR: sender 1CSbGg9gD2rp6rcYcwrfNsgiTEpgaFygYz has no coins " https://bitcoin.stackexchange.com/questions/10090/how-to-get-an-addresss-balance-with-the-bitcoin-client Addresses are merely entry points to a wallet; they do not have balances, and should only ever* be used once. Addresses are associated with an account: when coins are received on the address, it credits that account - note that this is a one-way association: the account is not associated with the address, nor the coin received; its balance is simply increased by the amount received. When you spend bitcoins, your wallet chooses coins to spend at (more or less) random, with no concern for how they were received, and will usually use a completely new invisible address internally with itself, that you will not see as an end-user. Overall, these are some of the reasons why it makes little sense to talk about an "address balance".
|
I use omni_funded_send to transfer usdt, but fail:
[]#omnicore-cli omni_funded_send "14r9FgrbXfseDcYaE2GuDQjbLuTY4ehZZ7" "14r9FgrbXfseDcYaE2GuDQjbLuTY4ehZZ7" 31 "0.001" "1PRvBopKSQBCD3P8e2RQ1eLTukZCCczSgW"
error code: -212
error message:
Error choosing inputs for the send transaction
omnicore.log shows "CreateFundedTransaction: ERROR: sender 1CSbGg9gD2rp6rcYcwrfNsgiTEpgaFygYz has no coins "
However, If transfer to same address ,it works,
[]#omnicore-cli omni_funded_send "14r9FgrbXfseDcYaE2GuDQjbLuTY4ehZZ7" "14r9FgrbXfseDcYaE2GuDQjbLuTY4ehZZ7" 31 "0.001" "1NCtyNY5idbc2WBYYsfea2sTmtyyoDHDZ5"
Txid: 5b702fb27caa195b4ab012a4ed1cf234ba10caaba20e4ecb90504c795c266ecf
[]# omnicore-cli omni_funded_send "14r9FgrbXfseDcYaE2GuDQjbLuTY4ehZZ7" "14r9FgrbXfseDcYaE2GuDQjbLuTY4ehZZ7" 31 "0.0001"
Txid: "1NCtyNY5idbc2WBYYsfea2sTmtyyoDHDZ5"
Please help me. @dexX7
The text was updated successfully, but these errors were encountered: