Hello
I am trying to use RCP with native client + testnet3
Prepared and create raw transaction
//We save the txid and output -> bitcoin-cli -regtest getnewaddress
String newAddress = getApi().getNewAddress();
//bitcoin-cli -regtest createrawtransaction
List
have got valid data after decodeRawTransaction
RawTransactionOverview(super=Entity(),
txId=386f447310db1eea491291d67f21d310ff586fe3367d7c7e5a4ad56e7683e178,
version=1,
lockTime=0,
vIn=[RawInput(super=Entity(),
txId=70422d040ea45a546dc60e7d5a6aa0d03e92ed7597ca261da48f52eb6d882011,
vOut=1,
scriptSig=SignatureScript(super=Entity(),
asm=,
hex=),
coinbase=null,
sequence=4294967295)],
vOut=[RawOutput(super=Entity(),
value=0.00010000,
n=0,
scriptPubKey=PubKeyScript(super=SignatureScript(super=Entity(),
asm=OP_DUPOP_HASH16068b38e95592fbee924899b8264b0391d638e41a6OP_EQUALVERIFYOP_CHECKSIG,
hex=76a91468b38e95592fbee924899b8264b0391d638e41a688ac),
reqSigs=1,
type=ScriptTypes(name=pubkeyhash),
addresses=[mq4Zfqjo9tB25jwJRc3NQPExk4mwsFRwQQ]))])
Try to sign tx.
SignatureResult signatureResult = getApi().signRawTransaction(raw);
bitcoind freezes. I am waiting for response ...
Any advice ?
Regards!