Skip to main content

Unanswered Questions

67 questions with no upvoted or accepted answers
4 votes
0 answers
675 views

Bitcoinj: How to fix error "You should use Context.propagate() or a ContextPropagatingThreadFactory"

I'm using bitcoinj from a Scala application... and when I start it, I always get the following errors: [error] o.b.c.Context - Performing thread fixup: you are accessing bitcoinj via a thread that ...
3 votes
0 answers
742 views

Can I quickly check the cofactor of secp256k1 is 1

I was wondering if there was a quick way to check that the group underlying the elliptic curve secp256k1 was indeed cyclic with the usual point G a generator. I am given the prime number underlying ...
3 votes
0 answers
158 views

Does a bitcoinj SPV node forward transactions for itself?

The bitcoinj library offers a rather convenient WalletAppKit class, which I'd like to accept payments from customers. In order to facilitate the payments I'd offer the customers to send the ...
3 votes
0 answers
257 views

Bitcoin-qt database for BitcoinJ downloadBlockChain()

I am using bitcoinJ to develop a bitcoin based payment module for my project. I have the complete block chain downloaded/in sync with the network on the bitcoin-qt client. Is there a way I can use ...
3 votes
2 answers
815 views

How to sign a transaction using BitcoinJ

I am having problem signing the transaction using BitcoinJ library without the Wallet instance, I only have the Transaction class instance and the ECKey in order to sign the transaction. Is there a ...
2 votes
0 answers
176 views

spend founds from p2wsh address,non-mandatory-script-verify-flag (Signature must be zero for failed CHECK(MULTI)SIG operation) (code 64)

i want spent coin from p2wsh address on btc testnet3 network, i use bitcoinj 0.15.2 build transaction and sign it, use 2/3 multiSig when i send raw transaction by bitcoin core 0.17.0 command line by ...
2 votes
0 answers
340 views

Broadcasting signed transaction from Watching wallet using bitcoinj

I am working with watching wallet and Offline wallet using bitcoinj, I created Watching Wallet using tpub key of Offline Wallet I am receiving payment on watching wallet Fine, now I want to ...
2 votes
2 answers
631 views

Transaction history with bitcoinj

I am new to bitcoinj. I want to print out the list of transactions like as follow for a wallet: 1- Sent 1 BTC to Adress1 on 'A' Time 2- Received 5 BTC from Adress2 on 'B' time 3- Sent 2 BTC to ...
2 votes
0 answers
69 views

Broadcast a transaction, issue with Context missing from thread created by BitcoinJ

In this code i receive an already signed transaction in the form of a byte array and i would like to broadcast it to the Bitcoin network. override fun onHandleIntent(intent: Intent?) { org....
2 votes
0 answers
90 views

Why is my node being flooded with bitcoinj clients from 138.197.0.0/16?

I'm not the only one to have noticed this (discussions on reddit here and here): out of 70 or 80 incoming connections on my bitcoin core full node, about 50 are from just one single network (138.197.0....
2 votes
0 answers
151 views

Specific fee in transaction

Is there any possible way to send transaction with specific fee (not fee per kb) from wallet in bitcoinj? Where should I look to find a solution :)? My code: Address address = Address.fromBase58(...
2 votes
0 answers
125 views

Java bitcoinj: semantics of 'decompress' on encrypted key

Calling the decompress method on an encrypted ECKey object yields an ECKey object which has no private key (only public). I personally would have expected to get the same encrypted key in uncompressed ...
2 votes
0 answers
187 views

Java bitcoinj: Failure of getPrivateKeyEncoded or getKey?

I have the feeling something is not right with the method getPrivateKeyEncoded (which returns a DumpedPrivateKey object) of the ECKey class. If I attempt to recover the orginal key from the ...
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 ...

15 30 50 per page
1
2 3 4 5