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
0
votes
1answer
577 views

Solo mining Altcoin (litecoin fork) [closed]

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
140 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
30 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 : ...
4
votes
4answers
3k views

Is there an API that exchanges USD to Bitcoin?

I'm looking for an API that literally exchanges USD to Bitcoin, not only value. I've been looking all over for an exchange that accepts USD in it's API. I've found tons that will do Crypto => Crypto ...
0
votes
1answer
206 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
677 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 ...
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?
6
votes
9answers
20k views

Displaying price in BTC based on USD exchange rate

This is a pretty classic programming question, but I think it is a very common one for the Bitcoin community, and would be helpful to have the code publicly available. My preference is for a php ...
8
votes
5answers
3k 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?
1
vote
2answers
202 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
1answer
58 views

How to programmatically send Bitcoins without requiring a local copy of the blockchain?

I'm quite new to Bitcoin development! I've seen the documentation about RPC commands, available when you have a local copy of the blockchain. But I'd like to know if it's possible to create and ...
0
votes
1answer
40 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 ...
0
votes
2answers
135 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 ...
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
5answers
2k views

Which programming languages support secp256k1?

Which programming languages have some ready libraries that support Bitcoin's ECDSA curve - secp256k1?
0
votes
0answers
21 views

What happened to Smartbit explorer?

I was using API located at http://smartbit.com.au to communicate with bitcoin testnet. Now API is not available anymore. Generally, whole service is gone. Some time ago (idk, like few weeks ago) chain....
1
vote
2answers
51 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 ...
72
votes
3answers
27k views

How to redeem a basic Tx?

Given a raw, standard Tx (wiki): 01000000 01 26c07ece0bce7cda0ccd14d99e205f118cde27e83dd75da7b141fe487b5528fb 00000000 8b ...
0
votes
1answer
45 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
113 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
22 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
0answers
12 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
174 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 ...
4
votes
1answer
529 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
41 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
120 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
9k 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
116 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
115 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
141 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 ...
5
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
384 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
4k 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 ...
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
56 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
63 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
345 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
50 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
102 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
38 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
5answers
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
73 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
793 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
47 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 ...

1 2 3 4 5 9