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
2answers
30 views

What testnet environment and configuration for Bitcoin?

Every tutorial I have gone through to download bitcoind, I haven't been able to complete because my computer can't handle the full node download. These are my specs: 2017 Processor - 2.3 GHz Intel ...
71
votes
3answers
25k views

How to redeem a basic Tx?

Given a raw, standard Tx (wiki): 01000000 01 26c07ece0bce7cda0ccd14d99e205f118cde27e83dd75da7b141fe487b5528fb 00000000 8b ...
0
votes
1answer
559 views

Solo mining Altcoin (litecoin fork)

i have made a fork of the current Litecoin code version 0.15.1. I have already generated the genesis block and now i want to solo mine the coin. What is the correct way to do it solo? I tried ...
1
vote
2answers
133 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 ...
0
votes
1answer
201 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 ...
0
votes
1answer
598 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
1answer
35 views

I started build my own blockchain based on mastering bitcoin book using git on win7 and i have a problem

I started learning how to build a blockchain from Antonopoulos book using Git Bash and i have a problem. I used commands: git clone github.com/bitcoin/bitcoin.git cd bitcoin git tag git checkout v0....
0
votes
1answer
24 views

Strange re-connection problem with python-bitcoinrpc

I am using https://github.com/jgarzik/python-bitcoinrpc to access the bitcoin core rpc. I have found a very strange re-connection problem. from bitcoinrpc.authproxy import AuthServiceProxy, ...
0
votes
0answers
21 views

Where can I find a detailed network protocol spec? [duplicate]

I have been trying for a while to understand how the bitcoin network works, which I (kind of) do on a high level. However, all of the sources I read don't go into the details of the protocol that ...
0
votes
2answers
114 views

What is the source of initial transactions of bitcoin?

Sorry, if I am wrong or silly! It is understood that: a) Satoshi Nakamoto sent the first transaction to developer Hal Finney on January 12, 2009, the genesis block contains 1,073 transactions and he ...
0
votes
0answers
11 views

Adding own h files to Makefile.am

I need some help with own adding files(.h ) to code base to resolve undefined reference problem . CXXLD bgoldd /usr/bin/ld: libbitcoin_consensus.a(libbitcoin_consensus_a-interpreter.o): in ...
1
vote
1answer
162 views

Bitcoin Wallet Creation

I'm new to this Bitcoin and everything seems confusing to me. I have a requirement where I need to create wallets for every user in my application screen. So, he will transfer some Bitcoins from ...
15
votes
6answers
1k views

Is there a list of core Bitcoin committers?

Where can I find a list of people that can commit directly to the github project?
4
votes
1answer
358 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.
12
votes
3answers
2k views

What will happen when SHA 256 needs to be replaced?

MD5 used to be the hash algorithm. Everyone loved it, but now, not so much. What will happen to bitcoin if flaws are found in SHA256 in the future?
1
vote
1answer
38 views

Is Block Finalization a valid development to remove the threat of 51% attacks?

https://www.reddit.com/r/btc/comments/bq8cqo/btctop_currently_has_51_hashing_power/eo2p4md?utm_source=share&utm_medium=web2x A recent comment from a Reddit user in response to BTC.top acquiring ...
1
vote
0answers
54 views

Exchange development good practices

Is there any guide or good practice rules to follow when developing a service that uses the Bitcoin and other cryptocurrencies protocols? For instance, how is the best way to know if a user deposited ...
6
votes
2answers
1k views

Bitcoin Script tutorial

Are there any tutorials with examples on Bitcoin Script: from basics to complex scripts?
4
votes
1answer
116 views

What languages can I write plugins for c-lightning in?

I know that there's a Python library available for writing plugins for c-lightning. What would I need to do to for example use a JVM language like Scala?
20
votes
2answers
8k views

How will multisig addresses work?

How will multisig addresses work? Will they consist of multiple traditional addresses, or will they have some different structure? Will one be able to specify whether they will require 2 out of 2, 2 ...
4
votes
1answer
105 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 ...
8
votes
8answers
4k views

bitcoin programming book

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 it aside from trudging through ...
2
votes
2answers
76 views

Script Bitcoin represent number > 16

I'm studying Script language, but I don't understand How can I rappresent the number > 16, for instance 210 I want to do a simple sum OP_10 210 OP_ADD how I have to represent 210? I'm trying with ...
4
votes
1answer
128 views

How would the gossip protocol announce channels from a channel factory?

I was just listening to SLP59 with Christian Decker. They mainly discussed channel factories. While the construction of multiparty channels and higher order systems (sub channels) being derived from ...
4
votes
2answers
2k views

Bitcoin private key, location on ECC curve

In the ECDSA algorithm, the Bitcoin private key is supposedly a point on the graph (or is it?). But the private key is a single integer, and not x,y coordinates. Is the integer, by itself, the x ...
4
votes
4answers
370 views

How can I test and verify a vanity key before I send coins to it?

I ran vanitygen and oclvanitygen on the same machine, and realized after my run that both exe's share the same output file. I've had experience in the past where many programs append to the same TXT ...
6
votes
2answers
3k views

How do I generate coins on testnet? CPU, GPU, FPGA? Are there pools?

Is it possible to mine coins on testnet using CPU? GPU? How about FPGAs? Are there any pools running on testnet? The reason I am looking for this is so I can master the new API's relating to ...
6
votes
3answers
2k 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 ...
8
votes
2answers
4k 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 ...
1
vote
0answers
49 views

Question about modify Vanitygen

I follow the instruction on this post to create bitcoin address from given hex private key In vanitygen.c Replace EC_KEY_generate_key(pkey); with BIGNUM *res; BN_init(&start); ...
0
votes
1answer
51 views

How do I catch the unconfirmed transactions?

I'm catching all the deposit transactions with walletnotify and insert them into my database. Then on every blocknotify call I fetch all the transactions under 6 confirmations from the db and update ...
10
votes
3answers
3k views

How to implement a game like SatoshiDice?

Everyone knows what SatoshiDice is. Their core mechanic is gambling through the use of Bitcoin transactions with the payout being directly linked to the transaction that fuelled the bed to avoid ...
0
votes
1answer
195 views

Modify vanitygen to generate from massive amount of given private key

I just using vanitygen recently & figure how to create address from a given hex private key, this is my code while (!vcp->vc_halt) { if (++npoints >= rekey_at) { ...
1
vote
1answer
49 views

Why Ardor does not use Maven?

Are there some reasons why maven and standard maven directory layout are not used in Ardor?
0
votes
1answer
83 views

How does bitcoin broadcast information?

On Bitcoin's Blockchain, how is information transmitted instantly to all other nodes and do nodes 'talk to each other' through an API? Do Blockchain nodes communicate with each other through HTTP ...
1
vote
2answers
36 views

Would bitcoin core work on a big endian system? Or even a system where C++'s `int` is not 32-bit?

Looking at the source code of bitcoin core, the serialization part, I see that there's no serialization abstraction layer that accounts for a possible different endianness or different binary layouts ...
4
votes
6answers
4k views

What programming language should be used to develop Bitcoin exchange software? Why?

I've only heard PHP is terrible (e.g. in the context of Mt. Gox) and a more efficient/more security-oriented language would be preferable for matching orders and account security. Which programming ...
2
votes
1answer
70 views

Create a new receiving address in the behalf of another wallet?

I want to create an API service that will trigger my local wallet to generate new account with receive address and return that address to a user. User => API => my_local_wallet => API => User The ...
5
votes
2answers
734 views

How do I program smart contracts?

Is there a guide to learn how to program smart contracts for the Bitcoin blockchain?
0
votes
1answer
39 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
5answers
2k views

Is it possible to schedule function calls to an Ethereum smart contract?

I am wondering - is it possible to schedule or somehow trigger function calls to an Ethereum smart contract based on the current block height or timestamp? This would involve some pre-payment of gas ...
1
vote
1answer
34 views

I am web developer, can i use my working pc to mine and work at same time? [duplicate]

Guyz, i am a web developer, i have single pc but i am thinking to add a good GPU in it, my question is that if i add good GPU, will i be able to mine crypto currencies like BTC/ETH and work on my pc ...
1
vote
0answers
35 views

What Off-Chain programming languages are important in Blockchain development

I am looking at getting into Blockchain development, and I would like to have some idea about general programming languages that are relatively important compared to the general developer-market. ...
21
votes
3answers
12k views

How do I implement a Merkle Tree?

I`m slowly implementing some Bitcoin protocols, and I'm not sure how to properly understand the Merkle Tree from the Bitcoin wiki: https://en.bitcoin.it/wiki/Protocol_specification#Merkle_Trees I have ...
6
votes
5answers
3k views

Is there a remote, trustless bitcoin API that doesn't require anything (blockchain/SPV headers) to be stored locally?

This question asks about how to work with bitcoin via an API without requiring a local blockchain. The only answer is about blockchain.info's JSON API, but it appears that unlike the web version of ...
2
votes
2answers
1k views

What is the correct Base58 encoding for this uncompressed Public Key RipeMD hash with a zeros in bits 31, 32, or 33?

My understanding is that Base58Checked is always 34 bytes long, and isn't going to be less than 34 bytes even if the first or last bytes of the RipeMD are zero. If this statement isn't true, then ...
5
votes
2answers
4k views

Is this the proper way to use Bouncy Castle to generate a Bitcoin compatible key?

I'd like to use Bouncy Castle to generate the keypair for use with all *coin variants. Is this the correct implementation to get the correct ECC curve that the *coin variants use? Org....
0
votes
1answer
164 views

Bitcoin cash with bicore and addressindex

Bitcore runs a version of bitcoind where theres address index and we can search any addresses I have implemented the bitcoin insight block explorer and its working perfectly I need to implement ...
1
vote
1answer
78 views

Blockchain gets stucked if no blocks are mined

Yesterday I decided to fork a project, just for fun and to learn more about it. So, I forked a project, I generated my own genesis block, changed timestamps, nounce, keys, reset the min chain work. ...