Skip to main content

Unanswered Questions

83 questions with no answers
2 votes
0 answers
243 views

Editing bitcoinJ for Android Altcoin App

So there is an altcoin created by another party and i want to edit the bitcoin-wallet app for android so that it connects to the new network. Is it enough to edit core/params/MainNetParams.java in ...
2 votes
0 answers
114 views

Why does bitcoinj need block headers and how it gets transactions

From log files and database it's obvious, that bitcoinj downloads block headers for whole blockchain history. If I'm not mistaken, it's only 80bytes hash. Why do we need to do this. I understand ...
2 votes
0 answers
162 views

Send BTC with attachment using BitcoinJ

is there an example of how using BitcoinJ send BTC with an attachment? Lets say I want to write to blockchain "Vaclav Bilek Born 1991". If I understand it correctly, its just about sending minimum ...
2 votes
0 answers
566 views

Creation of P2SH MultiSig Input Script

In the createP2SHMultiSigInputScript() function of BitcoinJ according to this: public static Script createP2SHMultiSigInputScript(@NullableList signatures,Script multisigProgram) Create a program ...
2 votes
0 answers
440 views

Creation of <20-byte hash of redeem Script> in a P2SH Transaction

According to this example: Redeem Script: 2 PubKey1 PubKey2 PubKey3 PubKey4 PubKey5 5 OP_CHECKMULTISIG Locking Script: OP_HASH160 <20-byte hash of redeem script> OP_EQUAL Unlocking Script: Sig1 ...
2 votes
0 answers
425 views

Bitcoin raw transaction hash signing

I was just wondering when you're at the double hashing part of making a transaction do you need to specify the scriptpubsig like: 01000000 01 ...
2 votes
0 answers
113 views

Problem while trying to set up bitcoinj

I'm fairly new to programming and have only built some basic java applications, so bear with me. I'm trying to run the basic wallet application from the bitcoinj repository (using intellij and maven). ...
2 votes
0 answers
156 views

Bitcoinj Multisignature Address

In multisignature address contract, how to set multisigoutput while sending bitcoin back to the client? I tried this, byte[] bytes = Utils.HEX.decode("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");...
2 votes
0 answers
703 views

on testnet: 'transaction already in blockchain'.. but it isn't

At least I don't think so! I'm trying to create a wallet infrastructure to minimise fees, and so I've been experimenting with raw transactions. I'm quite clueless but fortunately have enough sense to ...
2 votes
0 answers
2k views

Can't send raw transaction. Bitcoind error: {"code":-22,"message":"TX rejected"}

I have this raw transaction: ...
2 votes
0 answers
207 views

DnsDiscovery vs SeedPeers in bitcoinj

First look in screenshot number one of davlik debug monitor server after running Bitcoin Wallet: http://piccy.info/view3/5090102/7074a1d99a96e67bdbea36a04073c21f/orig/ I suppose, that is normal work ...
1 vote
0 answers
63 views

Import BitcoinCore's blockchain into bitcoinj

I'm a newbie in bitcoin. I've started programming some software using bitcoinj to make some transactions in bitcoin's testnet. But there is a huge problem I faced with. I cannot normally download the ...
1 vote
0 answers
210 views

Send transaction with 2 inputs and 2 outputs using Blockcypher

I'm using a node.js client of Blockcypher in order to broadcast a Bitcoin transaction. My code: const originWalletBalance = getBalance(originAddress) const fee = calculateFee() const txBody = { ...
1 vote
0 answers
347 views

How do you sign an unsigned transaction using Electrum in a multisig setup?

I am experimenting with multisig in testNet between Electrum and Caravan by Unchained Capital. I created a 2-of-2 multisig in Electrum with BIP 39 seeds. I then created a watch-only wallet in Caravan ...
1 vote
0 answers
73 views

bitcoinj sendCoins method and Coin value

I'm trying to use bitcoinj to transfer the balance of the address derived from a random private key if that balance is non-zero. I generate the private key and derive the address fine, then I use ...

15 30 50 per page