Questions tagged [development]

This tag should be used for questions related to creation and ongoing work for different existing and future Bitcoin-related projects and source code.

Filter by
Sorted by
Tagged with
1
vote
1answer
34 views

Test environment for bitcoin transactions/wallets

I want to build a pet project which would use bitcoin for sending/receiving and see balance of wallets involved changed. What are my options for having a local env that would allow me to perform these ...
9
votes
2answers
2k views

Is there developer documentation for the Bitcoin Core source code?

Is there a documentation somewhere to understand the C++ code of Bitcoin Core (available on Github) "from a to z" and being able to recreate it ?
1
vote
2answers
2k views

How do I use Blockchain.info's Receive Payments API with node JS / Express?

Blockchain has great documentation for PHP, but nothing really for node! Does anyone here have any projects,where they used the blockchain.info Receive Payments API, in their node apps, to receive ...
0
votes
0answers
13 views
0
votes
1answer
112 views

Unable to sweep account using WIF, Green wallet says “No UTXO found”

I am trying to learn the process BTC transactions. In the process, I generated Private key : 82e8034869c77744655899d450f9fe2f01fad030bf8af4ea75b310d1a140f554 Corresponding address generated : ...
3
votes
3answers
76 views

Problems about update of protocol of bitcoin

I am new to crypto. I want to ask if in the future, bitcoin has a significant protocol update, will there be a recycle (or some kinds of buy-back or repurchase?) of old tokens or an automatic update ...
0
votes
1answer
245 views

Applying additional oauth scopes to coinbase

I am trying to apply the coinbase wallet API with oauth to use its send functionality. I have been able to connect to the API and use its endpoints, but whenever I try to use the send functionality, I ...
-1
votes
1answer
49 views

How to add new btc block to blockchain [duplicate]

Please let me known that "How I add a new BTC block to blockchain?" as a sole miner.
0
votes
1answer
832 views

Running a bitcoind docker

Thanks to the bitcoin.stack community I have successfully launched a bitcoind docker with an external volume which has the block data Currently its in 100% sync but I am facing an issue to get ...
0
votes
0answers
20 views

how to identify as soon as possible that a new block was mined

From the miner perspective: You have a worker, fetching data from a full-node with getblocktemplate to create a candidate block and push it to the miners, to effective mine it. As soon as your miner ...
1
vote
0answers
51 views

Stratum: How many shares should I submit per job?

I'm implementing a bitcoin CPU miner just for fun in python. I've been reading a lot about bitcoin and the protocol pools use for communication and coordinating workers but there is a key concept I ...
1
vote
1answer
89 views

Manual work as source of entropy

Working on an opensource air-gapped crypto vault, in which I have the regular method of relying on OS to provide cryptographically secure random source and use that to generate the mnemonic phrase. ...
3
votes
1answer
180 views

What is the Bitcoin Foundation?

The Bitcoin Foundation launched recently. What is it all about and what are its goals?
1
vote
1answer
304 views

What is the incentive behind using platforms such as XDP/Dogeparty?

ELI5: What can one do with XDP that s/he cannot do with DOGE? Is Dogeparty similar to projects such as Ethereum/Ripple? If I understand correctly one receives 1 XDP/1000 DOGE "burned". How are these ...
1
vote
1answer
101 views

What is a correct extranonce2 value in the stratum protocol?

I'm developing a stratum mining client. I read on stratum v1 docs on braiins.com how mining work is done on the stratum protocol and that the coinbase is done by concatenating coinb1+extranonce1+...
1
vote
2answers
55 views

What exaclty does owning cryptocurrency mean?

Assuming owning mean individual custody of valuable asset, does owning cryptocurrency mean owning the tokens/coins? Does it mean owning a private key and owning a record in the "public ledger&...
1
vote
2answers
93 views

Mitigating a Double Spend Attack by Punishing the Attacker?

One of the main reasons it's not safe to accept Bitcoin with 0 confirmations is due to the possibility of a double spend (where Mr. Scammer first sends 1 BTC to Alice and then creates an identical ...
0
votes
1answer
31 views

Pay to script hash address transaction not accepted by miners

I have fixed my initial transactions and have been able to send coins to a p2sh address Now I want to spend those coins but when I try to broadcast my transactions either the website (blockcypher) ...
9
votes
2answers
5k views

Transaction signature generation

When one sets up a transaction, the input of the transaction needs to have a script with a signature to show that you can spend those coins. Which fields of the previous and current transactions need ...
0
votes
0answers
33 views

Process for finding nonce

Assume we have a transaction in hex (tx_hex) and we want to find a nonce such that SHA-256(SHA-256(nonce|| tx_hex)) = new_transaction_id ('||' denotes concatenation) first bits consist of 32 zeros. ...
0
votes
1answer
21 views

Is it possible derive pathes without prive key? If so in which wallet?

I implement a webshop, basically it is more than a wehshop a marketplace and I would offer Bitcoin payment. There are 3 roles: buyer, seller, and the marketplace. The procedure I imagined, that that ...
0
votes
1answer
62 views

Invalid p2sh transaction accepted by the network

I have try to build a 2 of 2 p2sh transaction from scratch using the book "programming bitcoin" by Jimmy Song, we are not directly guided to make one of those so I had to modify some of the ...
2
votes
2answers
2k views

What IDE to use for Bitcoin development?

I want to experiment with Bitcoin's code (both Core and Unlimited, if it makes a difference). I really wanted to use CLion, but was unable to compile it and make it work (something to do with using a ...
0
votes
1answer
30 views

Does it make sense to create cryptocurrency based totally on go programming language?

The question is straightforward. Would such implementation be practical from performance prespective? or C/C++ and JAVA are the gold standart?
0
votes
1answer
49 views

What is the official explorer and value API for Bitcoin?

I am new to cryptocurrency development, and I have noticed that Bitcoin has an official wallet for both Desktop and Mobile (correct me if I am wrong). My question is, does Bitcoin have an official ...
5
votes
1answer
161 views

What are the major technical differences between Bitcoin and Bitcoin Cash?

For a research project I'm trying to detect the major technical differences between Bitcoin and Bitcoin Cash. I know that BCH uses a larger block size and does not support SegWit. But what other ...
6
votes
2answers
942 views

How to find all UTXOs?

It is known, that UTXOs stored in chainstate database. But how to get them in simple txt view? Not ballances, but each UTXO.
5
votes
1answer
109 views

Why should BIP157 compact filters be processed in-order?

In BIP157, under "Client Operation", we have the following paragraph: Starting from the first block in the desired range, the client now MAY download the filters. The client SHOULD test ...
1
vote
1answer
62 views

Is there a difference between OP_PUSHBYTES and OP_PUSHDATA

In some documentation about Script we sometimes have to use OP_PUSHBYTESx or OP_PUSHDATAx to indicate that some number of bytes will be an element to read. They seem to do the same thing so is there a ...
1
vote
2answers
772 views

Non SegWit P2SH bytes structure

I'm working on a bitcoin block explorer in golang, in which I'd like to gather as much informations as possible about transactions. I am able to extract addresses from every type of output, and mostly ...
1
vote
2answers
155 views

Bitcoin library vs script to develop application

I'm curious about the development of application of Identity management in Blockchain platform, but I'm a bit confused about the technologies to use. In short words, when is more convenient to develop ...
-2
votes
1answer
583 views

how to build altcoin in mingw?

OS : Windows 10 Installed Dependencies: -qt4.8.6 gcc 6.3.0 boost 1_55_0 berkeleyDB 4.8.30NC openssl 1.0.2l I tried compiling with the following commands: qmake "USE_UPNP=1" coin-pt.pro mingw32-...
-1
votes
2answers
67 views

Does this accurately show how a crypto-currency miner software works? [closed]

just got a question here: Does this flowchart accurately show the step-by-step workings of a typical crypto-miner software? I'm a newbie in the cryptocurrency business. Though I welcome comments and ...
1
vote
1answer
636 views

Bitcoin QT - why do I have an undefined reference to `qInitResources_bitcoin() error [closed]

I have built the Bitcoin source code, created my own genesis block and everything was working great! Now that I have changed the word bitcoin to GELF in some places of the program to suit my own ...
3
votes
3answers
768 views

A Bitcoin locking script to force a certain payment to the receiver?

Is there a way to use Bitcoin script to force payment for the receiver? I do not mind if it's a non-standard transaction, just curious if Bitcoin script itself allows expression of something like that....
10
votes
3answers
1k views

Merkle Tree hashing

I'm trying to implement my own Markle Tree, currently I'm working on getting the hashing done correctly. I've used some hashes from http://blockexplorer.com/rawblock/...
2
votes
1answer
1k views

How To Calculate Merkle Root?

I found this example: Current merkle hash list: 32650049a0418e4380db0af81788635d8b65424d397170b8499cdc28c4d27006 30861db96905c8dc8b99398ca1cd5bd5b84ac3264a4e1b3e65afa1bcee7540c4 Current merkle ...
0
votes
1answer
48 views

Are there any Bitcoin payment providers with an API’s for allowing unconfirmed transactions? [closed]

I want to design my web app to instantly accept crypto currency like Bitcoin as a payment for a subscription to the app. I will design it to cancel the subscription and ban the user’s account if the ...
10
votes
9answers
4k views

Is there a reference, authoritative resource or book on Bitcoin programming?

Is there any reference or authoritative resource, or book on Bitcoin programming? Bitcoin is dubbed "programmable money" but there is no obvious resource for how to do that aside from ...
0
votes
1answer
57 views

bitcoin repo sighash.json data format

Bitcoin enthusiast here. Learning "the hard way" how bitcoin works (andreas books, looking in js/python implementations), I'm writing (as an hobby) some code here and there to understand things and to ...
-4
votes
1answer
75 views

The complete indifference by Bitcoin people is making me lose my enthusiasm for Bitcoin [closed]

I've been eagerly trying to spread the word about Bitcoin and running "Bitcoin Core" for a decade now. Every day, I hold on to this hope that it's going to explode "any day now"... ...
0
votes
0answers
23 views

python-bitcoinlib: Synchronise block headers

I am trying to run a simple python script to synchronise the Bitcoin block headers for an SPV client, using the python-bitcoinlib. This is the code that I am running, after doing the handshake: msg = ...
2
votes
1answer
87 views

Refer to UTXO by output index or output full address in blockchain?

I'm writing my own simple crypto and wondering whether input in a transaction should refer to unspend output only by it's TXID and vout (index in outputs vector in a transaction) OR by it's TXID and ...
9
votes
6answers
4k views

Are there any C# wrappers for the Bitcoin REST API?

Are there any C# wappers that take an OOO approach to the Bitcoin REST API, and encapsulate it in an easy to use format?
6
votes
3answers
3k views

Paying for testnet coins?

If testnet coins are this difficult to get, what's the chance people start throwing in some real money to speed along the process? If only to just have to not wait to test, say if you have an ...
0
votes
1answer
43 views

Chat online using Bitcoin addresses?

I was surfing on the web and trying to find a chat app that uses Bitcoin address instead of phone numbers or any other identifier. Do you know about any project in this field?
2
votes
3answers
176 views

Is there a way to see the precise time of when a transaction was sent out?

I'm a developer. I'm not really knowledgeable in bitcoin development, yet. Say, I'm using Electrum wallet. I share an address with someone. The thing is that I need this someone to pay a certain ...
0
votes
2answers
97 views

How Bitcoin nodes validate a new wallet

I have a cuple of questions about how wallet creation works. If I create a Bitcoin wallet offline, is there any way of like validate the new wallet, I mean, what if this wallet already exist? I know ...
1
vote
0answers
25 views

Is there any 'Metamask-like' app for Bitcoin? [duplicate]

9 months ago someone asked this same question: Metamask-like web3 inject for bitcoin but I was wondering if there had been be any changes since then. I'm currently looking for a Chrome extension that ...
1
vote
1answer
142 views

Metamask-like web3 inject for bitcoin

Is there a browser extension that works similarly to Ethereum's Metamask? I am wondering that if there isn't one, is it because of some technical limitation, or that just no one has gotten around to ...

1
2 3 4 5
9