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
26 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
23 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
49 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
33 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
60 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
52 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
44 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
402 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 ...
0
votes
1answer
82 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
75 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
0answers
27 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
79 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
50 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
199 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
42 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 ...
4
votes
1answer
123 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
144 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
152 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
65 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
66 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
632 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
171 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
424 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
114 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
471 views
1
vote
2answers
44 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
98 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
34 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
52 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
89 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
200 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
328 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
552 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
50 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 ...
0
votes
1answer
30 views

Custom bitcoin confirmation process

I am implementing a payment module for bitcoins. I have the following case. I need customers to be able to pay in bitcoins. But for some reasons I cannot use existing solutions like Bitpay. ...
1
vote
2answers
187 views

Is the UTXO set size important for non-mining full nodes?

Recently, I have seen a lot of development effort going into techniques for different ways of storing, pruning UTXO/TXOs. The main motivation cited is reducing block orphaning, which is mining-...
6
votes
2answers
1k views

Bitcoin Script tutorial

Are there any tutorials with examples on Bitcoin Script: from basics to complex scripts?
0
votes
0answers
401 views

How much disk space does it take to run a blockchain explorer?

I understand that you can use existing explorers like blockchain.info for quick access to individual transactions and address balances, however I would like to run an explorer of my own Like ...
-1
votes
1answer
331 views

How to disable mining functionality in wallet debug console?

I am creating a new altcoin and i cant seem to figure out how to disable mining functionality with wallets using the debug console window. I am trying to mine all the coins myself, is there way to ...
0
votes
1answer
396 views

Electrum Gap Limit from CLI

Is there any way to change wallet gap limit in Electrum from command line? If yes, how? If not, could it be bypassed using some kind of external script? I really need to avoid GUI. Thank you in ...
0
votes
1answer
198 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 ...
0
votes
1answer
21 views

How can a cryptocurrency demotivate investment in favour of continued transactions?

Is it economically and practically possible to create a system where investment cannot take place?(or if it does, it doesn't affect the system in a big way like Bitcoin had extremely high prices due ...

1
2 3 4 5
9