A Java library for processing Bitcoin, stores blockchain headers only

learn more… | top users | synonyms

1
vote
2answers
31 views

How to get synchronous bitcoin chain block using BitcoinJ?

I want to download all the block chain of bitcoin using bitcoinj and insert into mongoDB .Can any help me to proceed further ??
0
votes
1answer
29 views

How to find a block containing a transaction using transaction hash only?

Well, the title says it all. I have a transaction hash and I want to find this transaction in the blockchain. I am working with bitcoinj. I am probably missing something very obvious here, but I ...
0
votes
1answer
44 views

How to get senders address with bitcoinj (no duplicate)?

I am using bitcoinj (java implementation). I have read many answers here but none of them answers my question. How to get senders address using bitcoinj? I have transaction variable tx. I can get ...
0
votes
0answers
18 views

multiple wallets in bitcoinj ?

Is there a possibility of using multiple Wallets, that are running synchronous in Bitcoinj? I've alredy tried to use several WalletAppKits but this does not work.
2
votes
2answers
51 views

How to check if user sent me the BTC?

I am developing JSP web. User will be redirected to another page only if he sends the certain amount of BTC, is there any listener which could check if money arrived to my wallet from the certain ...
0
votes
0answers
86 views

Howto partially sign a multisig rawtransaction with BitcoinJ?

I am trying to partially sign a 2of2 transaction which I created in bitcoind. Unfortunately I am not seeing a valid raw output after signing. The expected raw output is: ...
0
votes
0answers
31 views

Can't broadcast transaction

I am trying to create android wallet for some cryptocurrency (litecoin similar). My altcoin wallet is based on bitcoinj-0.10.1. Everything works except transactions broadcast. There are logs from my ...
1
vote
1answer
56 views

What is proofOfWorkLimit?

Look at the code below from android bitcoin wallet: proofOfWorkLimit = Utils.decodeCompactBits(0x1d00ffffL); And look at the code from bitcoin qt wallet: static CBigNum ...
0
votes
1answer
150 views

How to build a bitcoinj checkpoint file

How can I build a bitcoinj checkpoint file like the Bitcoin-wallet checkpoints?
1
vote
1answer
153 views

Using bitcoinj to discover peers and download the block chain

I'm sorry everyone, I have looked and stared at the API and I'm coming up with nothing. I've got a public static void main (naturally), but have no idea how to: Connect to the network Download the ...
1
vote
0answers
36 views

Bincoinj without PeerNetwork

I am writing a system which generates wallets on a per user basis. It must be capable to receive and send payments. So I have to keep the private keys encrypted on the system. Generating the ...
0
votes
0answers
25 views

getaddr list - can't connect to any node

I am getting the following list of nodes asking one node with "getaddr" but I can't connect to any of them afterwards, is it the usual situation or I am missing something. [24.107.176.214]:0 ...
0
votes
2answers
113 views

Does there exist a SPV-client in another language than Java?

The only (active) project I know that implements a full SPV client is BitcoinJ, which is in Java. Does somebody if there are any SPV implementations in other languages (like C) too?
0
votes
0answers
51 views

Network ignoring transaction

I am attempting to forward coins from one address to another without having a blockchain. I am assembling the Transaction in bitcoinj from the public api of blockchain.info. The steps are as follows: ...
1
vote
1answer
94 views

Why do my futures keep getting cancelled using BitcoinJ?

I am trying to write an application that queries bitcoin nodes for the results of a particular transaction. I am attempting to imitate FetchTransactions.java, one of the examples that comes with ...
8
votes
6answers
480 views

Accepting Bitcoin payments on my website using bitcoind? Many questions… no apparent answers

I am trying to design a system that lets me accept Bitcoins on my website. I would like to use bitcoind, or bitcoinj. However, I have many questions regarding this setup. FYI, I already read similar ...
0
votes
2answers
90 views

BitcoinJ encrypt message

I came across this in the source code for ECKey.java: "Represents an elliptic curve public and (optionally) private key, usable for digital signatures but not encryption." Why can you not encrypt ...
1
vote
1answer
81 views

BitCoinJ custom transaction

I'm trying to learn a few things about the API. I've managed to send coins on testnet via wallet.sendCoins(Peergroup,Address,BigInteger) so I don't think I have a network problem. Here's what I'm ...
3
votes
1answer
87 views

In bitcoinj, why is MemoryBlockStore not used by default?

My understanding of bitcoinj is that it is used to implement a "thin client" that doesn't store the entire blockchain- just the headers. When I use the WalletAppKit, it creates a file ...
1
vote
0answers
53 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 ...
1
vote
0answers
78 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 ...
3
votes
1answer
322 views

Creating Base58 public key & private key in Java?

How can I create a base58 private key and public key in Java? I'm pretty familiar with Java and I have the bitcoinj-minimal code, but it's not clear to me how I can generate a base58 key pair from the ...
1
vote
1answer
4k views

How to use my own web hosting server to mine a bitcoin? [duplicate]

I have a web hosting with unlimited bandwidth and unlimited disk space, Cpanel and much more. Can anyone guide me. How to mine a bitcoin by using my own web hosting?. Then there is any mining software ...
0
votes
1answer
61 views

BOP: Not authorized to receive from the temporary destination

I'm trying to run my own BOP (BitsOfProof) server and connect to it. I appear to be able to connect, but I am unable to execute any commands. I am connecting with the following: ...
1
vote
2answers
1k views

Security advise on setting up a gambling Bitcoin site

I have written a Bitcoin gambling site and am planning on the best approach to host it/manage it securely. The site is implemented in Java using the BitcoinJ API and servlets etc are handled via the ...
4
votes
2answers
322 views

What is the difference between bitcoinj and BitsOfProof?

bitcoinj is a bitcoin library, bitsofproof is a full server (standalone 'exe'). Beyond the above - can anyone elaborate on the difference between them? What problems they were designed to solve, ...
6
votes
2answers
552 views

Tutorials for BitcoinJ

Beside the examples that come with BitcoinJ and the documentation on Google Code, does anyone know of any tutorials for using BitcoinJ?
1
vote
0answers
157 views

How to get hex string from transaction in bitcoinj

I want to use this tool: http://blockchain.info/pushtx to push transaction. I don't understand the input data. It says it is hex string representation. I've read information about that in the raw ...
0
votes
1answer
262 views

How to receive transaction in bitcoinj wallet

I am a real noob with bitcoin and bitcoin. I have a lot of questions and I don't know where to start. Let me try. I have a bitcoin-qt client and I downloaded the chain (took me one day) and now I am ...
0
votes
1answer
226 views

Open bitcoin-qt wallet with bitcoinj

I try to open the bitcoin-qt wallet with bitcoinj, I write this code: private static final File WALLET_FILE = new File("C:\\Users\\Bapt\\AppData\\Roaming\\Bitcoin\\wallet.dat"); public static void ...
2
votes
0answers
146 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 ...
5
votes
1answer
483 views

How to run Bitcoinj on Heroku?

Does anyone know where I might find a tutorial on how to deploy a bitcoinj server (essentially a replica of a bitcoind server with an rpc API) on Heroku?
2
votes
0answers
249 views

Test Network Genesis Block

I am using BitCoinJ for my java application which fetches the test network's genesis block. I referred to the basics mentioned at JavaWorld and BitCoins Google Code wiki. I am able to get it running ...
3
votes
1answer
109 views

BitCoinJ for Cloud based application

I am currently working on a cloud based project that will be accepting payments using bitcoins. I intend to use BitCoinJ to handle the payment. Unfortunately the only help I am able to get is from the ...
3
votes
3answers
1k views

How do I create an offline transaction in java to broadcast via blockchain.info?

Blockchain.info has a PushTX API. How do I create & sign a raw transaction in Java for use in this API? Should I use bitcoinj? Are there any code samples?
6
votes
3answers
669 views

Getting balance/downloading blockhain with bitcoinj

I am playing around with bitoinj and I can't seem to even get the most basic functionality running. What I want to do: I have one wallet with one address. I want to dowload blockchain and from that, ...
4
votes
1answer
194 views

Load a transaction with bitcoinj

I am developing simple Bitcoin application using the bitcoinj library: The user enters the hash of a transaction and my application should return detailed information about that transaction. How can ...
6
votes
3answers
3k views

Is there a known way to export my wallet private key from the “Bitcoin Android” app (com.bitcoinandroid)?

A while back, I installed the Bitcoin Android app and moved 5 BTC on it. Fast forward to now, new phone, new ROM, and the app seems completely unwilling to update its blockchain, meaning I have no way ...
2
votes
1answer
273 views

How to get destination address from bitcoinj TransactionOutput?

I believe TransactionOutput represents one of the outputs of a transaction. I have a list of such output objects, and a String that represents my own address. I would like to check that this output ...
5
votes
1answer
468 views

How do I generate offline transactions in Java?

I'd like to develop a Java binding to the Stratum Overlay Network (a server for thin clients). This requires signing on offline transactions. Can I directly use bitcoinj's API to do this? Can I ...
4
votes
1answer
257 views

How can you find how many keys you wasted in bitcoinj?

Supposed you create a new wallet and pre-populate it with 100 keys (so you don't need to back it up after each transaction). How do you know, given an instance of Wallet, which keys have been "used ...