When I use bitcoin-cli sendrawtransaction and only get -25 errors. I have tried to push the transaction using different blockchain explorer sites, but that didn't work. I have tried:
0100000001659d0ebe45e4446113776807a0160ab487a56f8386405e07d8d15275f18bb832010000006b483045022100e642093c9a56c76aeae91c68c19fd3f5f487d9d63c4f07259c5899a4df6f9bdf02203228b7f33a662fd5f3dc6fb3c361169392f91f74fe82ada1ce09bae55720ece70121029e033dda03e6cf9e0c93ac5b2689d047fd8e559ea0b5cfd1c86062387c672dcdffffffff0180d1f008000000001976a91476d2d121a1bbbc7e4c51f7a7c84437bb3aa1d66d88ac00000000
at https://live.blockcypher.com/btc-testnet/pushtx/ it decodes well, I get the message "Transaction Successfully Broadcst" but at the same time:
" No transaction found with the hash 7f1aa3a20163a9d4058940dd6af29b3f7aefc037b2f3b21133a1413a990bc4e7"
I can send transactions using sendtoaddress and this seems equivalent. I started from: https://live.blockcypher.com/btc-testnet/tx/32b88bf17552d1d8075e4086836fa587b40a16a0076877136144e445be0e9d65/ used:
bitcoin-cli createrawtransaction '[{"txid": "32b88bf17552d1d8075e4086836fa587b40a16a0076877136144e445be0e9d65", "vout": 1}]' '{"mrMEaWKfkJZcAN52VqNxKkF21uvf9HF9G7":1.5}'
0100000001659d0ebe45e4446113776807a0160ab487a56f8386405e07d8d15275f18bb8320100000000ffffffff0180d1f008000000001976a91476d2d121a1bbbc7e4c51f7a7c84437bb3aa1d66d88ac00000000
bitcoin-cli signrawtransaction 0100000001659d0ebe45e4446113776807a0160ab487a56f8386405e07d8d15275f18bb8320100000000ffffffff0180d1f008000000001976a91476d2d121a1bbbc7e4c51f7a7c84437bb3aa1d66d88ac00000000 { "hex" : "0100000001659d0ebe45e4446113776807a0160ab487a56f8386405e07d8d15275f18bb832010000006b483045022100c139f0601bcef52dca990a7a5ae73a6e30ce5f521e2be25e80376338c4d0a84a02201f691b9295c32660d023ff65e8b2793b563f29b66d0c704577785d353e2f66620121029e033dda03e6cf9e0c93ac5b2689d047fd8e559ea0b5cfd1c86062387c672dcdffffffff0180d1f008000000001976a91476d2d121a1bbbc7e4c51f7a7c84437bb3aa1d66d88ac00000000", "complete" : true }
It decodes, can be signed, I have funds and I've sent similar transactions before, but now seems impossible.