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
3
votes
3answers
731 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....
0
votes
1answer
40 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 ...
-4
votes
1answer
72 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
19 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
41 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 ...
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
95 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 ...
1
vote
0answers
23 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 ...
0
votes
2answers
54 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
1answer
41 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. ...
1
vote
1answer
29 views

Can a regtest bitcoind node use SignRawTransactionWithKey + prevtxs for a mainnet raw transaction?

I want to know if a regtest nnode can sign a raw mainnet transaction with the signrawtransactionwithkey rpc provided that I pass the correct keys and prevtxs as the regtest node will not be aware of ...
1
vote
0answers
53 views

Do invalid keys in BIP44 path matter?

I understand not all private keys are usable as they fall outside of Secp256k1, but do they really matter when the master node or path being derived in BIP44 generates a private key which isn't usable ...
3
votes
1answer
34 views

Can 2 bitcoin-cli's use the same blocksdir

I am trying to set up 2 clients with both using the same block directory is this possible?
0
votes
1answer
66 views

Is there such a service as an unlimited Bitcoin wallet with an API?

Well, I did tons of research and currently I'm using bitcoinlib for python to have a wallet which should be able to hold over one million addresses and occassionally broadcast transactions. It has ...
1
vote
1answer
56 views

What kind of bug does bitcoin core possess that have to be replicated

In order to build a bitcoin client accepted by the current bitcoin nodes we to have to emulate the C++ code present in the bitcoin core client, with all its attributes even the bugs. For example the ...
0
votes
1answer
61 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 : ...
1
vote
2answers
544 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
102 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
vote
1answer
121 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 ...
1
vote
2answers
101 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 ...
0
votes
1answer
51 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
251 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 ...
1
vote
1answer
44 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 ...
5
votes
1answer
129 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 ...
2
votes
2answers
196 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 ...
5
votes
1answer
155 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
1answer
124 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?
1
vote
0answers
68 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
71 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 ...
4
votes
1answer
717 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.
0
votes
2answers
189 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
1answer
480 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
53 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
120 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 ...
3
votes
2answers
523 views
1
vote
2answers
46 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 ...
2
votes
1answer
76 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 ...
1
vote
1answer
35 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. ...
1
vote
1answer
104 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. ...
0
votes
1answer
36 views

Are sockets kept open when connections are made?

The bitcoin protocol says that any given node is connected to at least 8 other nodes. Does that mean that when a client connects to a node and learns about new peers... will the client keep the socket ...
2
votes
2answers
54 views

Mining Bitcoins on PC - Experiment, looking for advice or simple instructions [closed]

I am absolutely new to Bitcoin and mining, I know that mining at home using a PC is not worth even the time and takes years to get any income out of it. The thing is I need to mine at home using a PC ...
1
vote
0answers
55 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 ...
2
votes
0answers
92 views

Why is the Serialization limit set to 0x02000000?

In addition to the block size limit, there is a limit on the maximum message size. Is there a rationale behind the 32MB limit set in src/serialize.h or was it picked because it's just a nice round ...
0
votes
1answer
44 views

History of ideas behind a bitcoin protocol [closed]

Could you outline the logical sequence of main ideas (concepts) that contributed to the evolution of the bitcoin protocol from the beginning to now?
0
votes
1answer
232 views

Debugging Bitcoin Unit Tests

I am running the unit tests from bitcoin source using make check, and would like to debug the tests using LogPrint in the bitcoin source files. I read in the Test Docs that logs are only output to ...
0
votes
1answer
347 views

How to setup a Bitcoin private net that can simulate the public net?

I have some experience in Ethereum-related development and it was very easy to set up a private net with Ethereum that simulate the public main net, I just create a custom genesis block json config, ...
0
votes
1answer
600 views

HD Wallet Child Private Key Derivation Function

I was trying to understand the specs on CKD function from both the bip32 standard and Mastering Bitcoin book, I couldn't understand how a private key is derived from the left side of the extended key. ...
0
votes
1answer
55 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