Skip to main content

Questions tagged [development]

The creation and ongoing work for different existing and future Bitcoin-related projects and source code.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
23 views

Transitioning career into the Bitcoin industry

I am an entrepreneur (3 startups) and a Technical Product Manager with extensive experience in building innovative authentication, identity, and digital payment solutions. As a co-founder of multiple ...
George Tuvell's user avatar
-3 votes
1 answer
60 views

How many ways are there to Read Satoshi era Wallets?

I've come acrossed a few - running the original Satoshi v.0.1.0 through v.0.1.5 Clients all the way up to Satoshi v.0.7.x - I believe all of these can read Original Satoshi Wallet.dat(s) - I have a ...
Thasthllfe's user avatar
-1 votes
2 answers
68 views

Bitcoin wallet in Rust

Could not find any resources on how to build a simple bitcoin wallet in Rust? Please share some relevant resources or repositories.
lladane's user avatar
  • 13
2 votes
0 answers
34 views

Intermittent connection issues - 'DataStream::read(): end of data: unspecified iostream_category error'

2 nodes run by me locally sometime connect sometime not and getting 'Connection refused' error on the node I am connecting from. On the node I am connecting to debug.log error message display the ...
Seccobit's user avatar
2 votes
1 answer
120 views

Is it possible to download only a part of the blockchain?

I am doing some investigation related to the bitcoin transactions graph and I don't need the whole blockchain, because it would be too much data (and I don't have much space). I just need a part of ...
Kareit's user avatar
  • 21
1 vote
0 answers
72 views

Can we get together a group of C++ devs that work on Bitcoin apps?

I've been trying to get into Bitcoin development and I've been having a horrible time. I tried multiple Bitcoin-related IRC channels for support but most responded with hostility, except for the ...
13fcali's user avatar
  • 11
1 vote
1 answer
274 views

Verifying a zkSNARK on Bitcoin/Hope for a future with OP_MUL

I am trying to write a script that can verify a SNARK, but from what I understand OP_MUL is still disabled in TapScript. Is anyone working on a BIP to provide OP_MUL or OP_MUL64? It seems ...
Carter Feldman's user avatar
0 votes
1 answer
80 views

bitcoin rpc submitblock merkle root + raw tx (bad-txnmrklroot)

I wanted to test the submitblock rpc call in regtest but I seem to have some issues with the transactions I try to submit. I have the following raw transactions: ...
FearXenon's user avatar
0 votes
0 answers
29 views

Which chain for developing a BTC based app? [duplicate]

There appear to be four chains you can use with bitcoin-cli. Main, test, signet, and regtest. Main is off the list obviously but I'm not sure which other chain I should be using. I'll need to be able ...
Cromulent's user avatar
  • 111
1 vote
2 answers
39 views

Why is this P2WSH spend triggering a verification failure when broadcasting?

I'm experiment with building SegWit transactions manually, and I've written a non-standard simple script just for testing. No signing or anything, just your usual "add two numbers, check equality&...
ursuscamp's user avatar
1 vote
1 answer
606 views

Webpack issue with tiny-secp256k1 and ECPair

I am developing a browser extension using Webpack v5 and incorporating the bitcoinjs-lib and ecpair libraries to create a Bitcoin wallet. However, I am encountering an error when attempting to load ...
Vaibhav Patel's user avatar
-2 votes
1 answer
97 views

What is the step-by-step algorithmic process to find the modular multiplicative inverse of (n-1) mod np, where (n-1) and np are not coprime?

Having perused the stackexchange, I found some similar questions, but am having difficulty understanding how to arrive at the solution to (n-1)*x=1 mod np, where: n: Finite group order of the Bitcoin ...
Alfhilðr ínn Seiðkona's user avatar
1 vote
2 answers
47 views

Where is a good source of information for procedural algorithm to program my own Bitcoin QR code generator?

Not trusting those already available QR code generators available, I would want to program my own. The idea is to input a Bitcoin key ( private or public ) and the program would simply generate the ...
Fred Cailloux's user avatar
-1 votes
2 answers
340 views

Configuring electrum wallet with command line only

I successfully installed electrum on an ubuntu server using the first ref from google search. But how I can configure it without GUI I didn't find.
geronimo's user avatar
0 votes
1 answer
176 views

decoding transaction hash returned in rpc call getrawtransaction

hex: ...
meanthatmuchtoyou's user avatar
1 vote
2 answers
695 views

Do I need to download the entire blockchain in order to use bitcoin-cli?

I want to try and compile and run bitcoin-cli locally. Do I need to download the entire blockchain first?
Niklas Rosencrantz's user avatar
0 votes
2 answers
108 views

Roadmap for beginners developers

I am Brazilian and would like to program functionality for Bitcoin and LN. But I have no knowledge of programming and am lost as to what to study. Could you help me? What do you recommend? *i do know ...
Pedro 7úcio's user avatar
0 votes
0 answers
677 views

RSZ value with witness data

Have anyone got a script on how to find the RSZ value of a bitcoin transaction with witness data, scanned just by inputting the hashes? Will you please share your code? Or at least, point me to the ...
Roy Nahar's user avatar
3 votes
1 answer
329 views

How do I maintain a continuously updated copy of a local mempool?

Let's say I want to build a database of transactions that is continuously being updated from a locally running Bitcoin Core node using JSON-RPC and ZeroMQ. My concern is how to make it robust against ...
Vojtěch Strnad's user avatar
0 votes
1 answer
313 views

How to "Autoforward" incoming BTC using Electrum

We would like to generate multiple addresses in Electrum, receive BTC to these addresses on a daily basis and auto-forward them to another address automatically. So the flow would be this: BTC Sent ...
electrumhelp's user avatar
1 vote
2 answers
85 views

I'm creating a bitcoin wallet but I can't figure out how to send transactions with a low fee

I created a bitcoin wallet https://github.com/Grantrocks/bitcoingadgets. After 2 days of constant errors, I got it to send btc. But I can't seem to get it to send btc somewhat fast at a low fee. I use ...
Grant's user avatar
  • 13
3 votes
1 answer
1k views

Is there a bitcoin api?

Sorry if my question sounds silly, I get downvoted for some reason everytime I ask it. I just need some help Today I saw the "richest bitcoin wallets" chart and I was inspired to program the ...
Daniil's user avatar
  • 33
0 votes
1 answer
128 views

do Bitcoin full node onions also relay non-bitcoin traffic?

During the past week or so I am setting up a Bitcoin core full node on Raspberry Pi and making it as secure as possible. In the public mind, the onion sites and Darknet are associated with many things ...
Maniaak's user avatar
1 vote
1 answer
217 views

Handling 'Has SIGHASH_SINGLE' flag for psbt2 (BIP370)

BIP370 specifies a bit flag (bit 2) in PSBT_GLOBAL_TX_MODIFIABLE field, that "indicates whether the transaction has a SIGHASH_SINGLE signature who's input and output pairing must be preserved&...
Dmitry Petukhov's user avatar
0 votes
0 answers
91 views

Can I integrate a decentralised wallet in a website in PHP?

Can I integrate a decentralised wallet in a website in PHP? A decentralised wallet will act as service but I won't have access to the funds of users however users should be able to access their wallet ...
ratal viper's user avatar
0 votes
2 answers
66 views

Help a newbie. Need software [closed]

I want to invest in a mining farm. Everywhere I find only pieces of information. Help please - you need: What software is needed and for what. Where to begin. Equipment and installation conditions. ...
sopli777's user avatar
0 votes
1 answer
81 views

Can you program a transaction to automatically run once fees are low?

Can i program a bitcoin transaction to run when the network is not as busy or when fees are low? If you are not in a rush to complete trx.
Vision's user avatar
  • 3
0 votes
1 answer
72 views

How to develop bitcoin sidechains/second layer solutions?

If I have an idea for a use case that requires transparency and ultra-secure final settlement, how do I go about programming this to be a side chain/2nd layer solution on the bitcoin network? Is there ...
Runeaway3's user avatar
  • 329
1 vote
1 answer
217 views

How to call `getblocktemplate` without running a full node?

I was trying to get into bitcoin mining but I could not find any useful information on calling getblocktemplate without downloading the entire blockchain. Is there a way to get blocks for mining ...
adventure2334's user avatar
6 votes
1 answer
170 views

Will LN liquidity advertisements and dual funding allow for third-party purchased liquidity ("sidecar channels")?

Third-party purchased liquidity ("sidecar channels") are a feature of Lightning Pool where Alice pays Bob to fund a new channel to Carol. Although this seems like an indirection (Alice ...
David A. Harding's user avatar
1 vote
1 answer
227 views

Why is my target different from a miner?

I'm developing a miner to study how mining works and I've connected it to a pool using Stratum. When I use the bits provided by the pool to calculate the target, it is different from the miner that I ...
bot's user avatar
  • 11
1 vote
0 answers
143 views

complete bitcoin script example

I am trying to learn how to write my own script from scratch. I have seen about a dozen examples by googling but non of them are complete. I am aware of btcdeb as well. Is there a tutorial that covers ...
noone392's user avatar
  • 422
-3 votes
1 answer
155 views

If the Lightning Network is so great, why is it "level 2", not stable and not built into Bitcoin Core? [duplicate]

Lightning Network, as it's described, seems to solve all the problems with Bitcoin. I'm unable to accept payments due to the insane fees, but would be able to if Lightning Network were supported. But ...
Kohlton's user avatar
  • 21
1 vote
1 answer
60 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 ...
Sergei Basharov's user avatar
-1 votes
1 answer
91 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.
Usaid's user avatar
  • 1
1 vote
0 answers
190 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 ...
PHAN's user avatar
  • 111
3 votes
1 answer
895 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+...
AhmadBenos's user avatar
1 vote
2 answers
85 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&...
user avatar
3 votes
3 answers
105 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 ...
user avatar
0 votes
1 answer
136 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) ...
Saxtheowl's user avatar
  • 2,810
0 votes
0 answers
533 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. ...
Paris's user avatar
  • 101
0 votes
1 answer
44 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?
Kingindanord's user avatar
0 votes
1 answer
144 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 ...
Flame's user avatar
  • 3
0 votes
1 answer
44 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 ...
János's user avatar
  • 388
2 votes
1 answer
625 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 ...
Saxtheowl's user avatar
  • 2,810
1 vote
2 answers
151 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 ...
S.O.S's user avatar
  • 419
5 votes
1 answer
162 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 ...
cloudhead's user avatar
  • 189
-1 votes
2 answers
266 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 ...
dakkelotenflea's user avatar
3 votes
3 answers
843 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....
Vlad's user avatar
  • 277
0 votes
1 answer
64 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 ...
Patrick Staight's user avatar

1
2 3 4 5
10