Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

This tag should be used for questions pertaining to Bitcoin Core. Bitcoin Core is an MIT-licensed Qt 5 GUI application for the original Bitcoin codebase. Additional/previous names include "Bitcoin-Qt", "Satoshi-Client", and "Standard Client". This tag should be used when referring to the Bitcoin ...

0
votes
0answers
5 views

sending & receiving bitcoin transactions - Semi - Automated

Hi I'm looking for a way to send transactions and track incoming transactions using some kind of software&/database/code that will let me choose how much to send dependant on preset formulas from ...
0
votes
1answer
3 views

Best solutions to list USDT on an exchange?

I am build an exchange which allow user can deposit, withdraw, and trading Omni coin to others crypto currency. I created an Omni node to verify omni transactions. When user want to deposit, I create ...
0
votes
1answer
36 views

(Bitcoin Core, recovering my wallet) problem finding the address I sent coins to in Bitcoin Core 0.11.2

Im trying to find my Address I sent my Bitcoins to but I do not know how to get into my wallet and since it is quite some time ago, I do not remember from where I sent it. While trying to open ...
0
votes
0answers
22 views

How Min_Tx_Fee is Calculated - Changing to Variable

Hello Programming Friends! Will any experts in Bitcoin source code help provide working tips to change the MIN_TX_FEE to a percentage of the coins being sent/kB. MIN_TX_FEE = 1% of coins spent/kB. ...
2
votes
1answer
43 views

Difference between wallet,accounts and addresses

I know this question has been asked several times, But it never made any sense reading each of them. Can Anyone really explain deeply by using technical language so that I could really understand pros ...
0
votes
0answers
13 views

Error sending a raw transaction with hex

Why am I experiencing an error when trying to broadcast this transaction? of hex ...
-3
votes
0answers
15 views

9977 appeared in my FREE ROLL [on hold]

Attached is the screenshot of the result of ny FREE ROLL in FREEBitcoin account. It appeared 9977 but the amount of bitcoin is not correct. Can we check this and add the correct amount of Bitcoins i ...
0
votes
2answers
29 views

Bitcoin core setup how to prune without downloading?

I want to play around with code to learn about Bitcoin such as synchronizing the chain locally, verifying the Merkle tree, creating a new wallet programmatically. from what i've researched I will ...
6
votes
2answers
695 views

How is Bitcoin governed by mathematics?

I keep hearing talks from Bitcoin evangelists that claim Bitcoin isn't governed by any central authority, rather it's governed by mathematics. What exactly do they mean when they say "governed by ...
0
votes
0answers
18 views

bitcoin transaction error , mandatory-script-verify-flag-failed

The full stack is, Possibly unhandled Error: Validation Error: BitcoindException(super=com.neemre.btcdcli4j.core.BitcoindException: Error #-26: 16: mandatory-script-verify-flag-failed (Script ...
0
votes
3answers
39 views

Reject or refuse to relay a valid transaction

Under the Bitcoin protocol, how much control does a node have on how a transaction is dealt with once received? Can a node reject a valid transaction? Can a node refuse to relay a valid transaction to ...
0
votes
0answers
17 views

It's empty in “Insight->Commits” of bitcoin GitHub repo https://github.com/bitcoin/bitcoin/graphs/commit-activity [closed]

It's empty but with the message "We need at least one non-empty commit with an email to generate this graph" when I check "https://github.com/bitcoin/bitcoin/graphs/commit-activity" - the commits ...
0
votes
0answers
8 views

gitian-builder fails when building a windows wallet

GItian-builder fails when I run deps-win32.yml. I am using bitcoin's earlier version so that to learn creating new coin. I'm using 0.8.7.4 and in that gitian-builder version there's a package ...
0
votes
2answers
37 views

How do I solo mine my own modified altcoin

I forked DASH a week ago. I am able to generate genesis block hash, merkle hash. I created one VM (ubuntu 16.04) for rpc server. Another one VM For mining. I am able to establish connetion between two ...
2
votes
0answers
17 views

Issue on configuring the bitcoin core build on Ubuntu-18.0.4

I am trying to configure the bitcoin core build , as I use make , I received the following issue . ~/Desktop/bitcoin$ make Making all in src make[1]: Entering directory '/home/fu/Desktop/bitcoin/src'...
0
votes
1answer
17 views

How accounts, wallets and addresses are related

I have downloaded litecoin code (version of 14 september,2014) and built it. so right now I have a wallet. i have account which's name is just "". then i connected my miner to my node. It solved the ...
1
vote
1answer
13 views

How Bitcoin-Core does decide whether high fee during sendrawtransaction?

I am testing commands through Bitcoin testnet and Bitcoin Core. During the test, I intentionally attempted to create and broadcasts transactions by charging high fees.(1 BTC) During the final phase, ...
1
vote
1answer
26 views

What the difference between SendToAddress and (CreateRawTransaction + SignRawTrasaction + SendRawTransacrion) RPC methods?

Can I create, sign and broadcast transaction using sendtoaddress RPC method? And what the between sendtoaddress and (createrawtransaction + signrawtransaction + sendrawtransaction) RPC methods?
3
votes
1answer
746 views

How does timejacking enable double spending?

http://culubas.blogspot.com/2011/05/timejacking-bitcoin_802.html I went over this blog, but I am still not clear how double spending is achieved by this attack. From what I read, the attackers submit ...
3
votes
1answer
60 views

When are Bitcoin transaction outputs generated more than two?

When are Bitcoin transaction outputs generated more than two? In my understanding, if my wallet has only UTXOs that have more values than i wanted to spend(send), then two outputs are generated which ...
0
votes
0answers
24 views

How SHA-256 Algorithm works

I just want to know how SHA-256 algorithm exactly how it works.Example the word "CODE" and i want to convert it to SHA-256 ,can someone explain me step by step of each procedure ?
2
votes
3answers
37 views

When a node receives a transaction, what steps does it do to verify that transaction?

I know that it verifies the block hash by calculating each hash of the contiguous blocks in order, but does it verify the balance of each wallet sending the transactions as well? And does it do the ...
0
votes
1answer
27 views

How miners validate each transaction?

There is a locking to each transaction? and sender also attach his digital signature to that transaction? When this transaction comes to miners then how they validate this transaction is valid. ...
0
votes
1answer
22 views

Smaller transactions are easier to validate; larger transactions take more work in Bitcoin

I am working on Bitcoin and trying to understand how transaction fee is calculated. Bitcoin support site states that the reason for selection of small and large transaction by miner: Again due to ...
1
vote
3answers
158 views

bitcoin testnet is mining about 50 blocks per minute right now - why? [duplicate]

The bitcoin test network is mining about 50 blocks every minute for the last several hours. What is going on? You can see here: https://www.blocktrail.com/tBTC
0
votes
1answer
30 views

Double transaction on same hash (transaction ID) - Loosing 0.01 btc each time [duplicate]

Each time I send some btc to another bitcoin wallet there is a second transaction on the same transaction ID (hash) and each times i am loosing around 75 USD. You can see by yourself here; https://...
0
votes
3answers
23 views

Problem in understanding other miners validating puzzle solving miner's claim

I understand that miner's role is to validate the block of transactions by calculating nonce based on difficulty level and finding hash of {block + nonce + hash of previous block} . Then it adds this ...
0
votes
1answer
17 views

Where can one find the Bitcoin core roadmap?

Is there a site where it shows the current Bitcoin core roadmap on what features will be implemented in the future?
0
votes
1answer
16 views

How to Curl into Bitcoin node with Swift?

I am running a full node which accepts incoming connections. Here is my config file: rpcuser=bitcoinrpc rpcpassword=somePassword server=1 rest=1 daemon=1 Here is my swift code to curl to the node: ...
1
vote
1answer
28 views

where are the 21.co bitcoin tutorials?

I had a bunch of links for the 21.co bitcoin tutorials. It was quite extensive, and I thought I would start working on them for some day. The day has come, but I can't find the material. They have ...
0
votes
0answers
8 views

cannot send transaction

Here is my nodejs code... const request = require('request') Promise = require('bluebird') host = 'https://chain.so/api/v2' bitcore = require('bitcore-lib') wif = ...
2
votes
1answer
19 views

How to edit the label of an existing address exactly like in bitcoin-qt but instead using RPC calls?

I am trying to edit the label of a bitcoin address in my wallet outside of bitcoin-qt. Currently I only know of 'setaccount' but it results in two addresses after editing one, it assigns a new address ...
0
votes
1answer
34 views

Network Time of Bitcoin

Bitcoin uses UNIX time for timestamp. Unix Time is really accurate. I want to know why there is a "70 minutes" offset is allowed in Bitcoin network adjusted time. Is there any distribution used to get ...
4
votes
1answer
208 views

From where does the 2 hours limitation on bitcoin time stamp come?

Bitcoin wiki says that: A timestamp is accepted as valid if it is greater than the median timestamp of previous 11 blocks, and less than the network-adjusted time + 2 hours My question is why 2 ...
0
votes
1answer
23 views

Can SPV clients offer “proof of absence” of a transaction?

So light SPV clients give the user the ability to obtain merkle proofs (from a full node) that a given transaction is included in a block. Is there some cryptographic mechanism by which an SPV client ...
1
vote
1answer
28 views

Adding Dependencies to Bitcoin Core

I am currently editing a fork of Bitcoin Core. I have three libraries I would like to add as dependencies. One is my own creation (CPISync) and it depends on a second library (NTL) which in turn ...
0
votes
2answers
23 views

Slow sync running Bitcon full node on Mac Mini OSX

It is Jul 2018, I need help after several attempts to sync a full node running on a Mac Mini. I have tried several times and Bitcoin-qt starts pretty well for the initial sync, downloading with ...
0
votes
0answers
13 views

Missing MtGox transaction

I had some Auroracoin which I changed to BTC and then sent to MtGox. Now I would like to find transaction to MtGox but I dont know how. I have saved only transtaction of my Auroracoins to some hash. ...
1
vote
1answer
24 views

Possibility of broadcasting new block to only a fraction of honest nodes?

Consider in a block-withholding attack (aka selfish mining attack), attacker after creating a new block decides to broadcast this new block only to a fraction of network, such that eventually only a ...
0
votes
1answer
24 views

why block minning not interrupted when block found?

I am working with bitcion version < ver. 0.13.0 which contains the setgenerate true functionallity. I could see in some situations during minning process that when I find a solution, but the other ...
0
votes
1answer
43 views

Does Electrum provides any API?

Does Electrum provides any API? If yes, please let me know if there's any dedicated documentation available. Also, does Electrum support Bitcoin Cash? Purpose: I want to integrate Electrum into my ...
0
votes
0answers
17 views

Can't specify rpcport for testnet

Was there a recent change where it is no longer possible to specify rpcport? I noticed these two warnings: Warning: Config setting for -addnode only applied on test network when in [test] section. ...
0
votes
2answers
25 views

How to secure a Linux node running satoshi 0.16.1?

Everyone in the BTC space seems to suggest that running a full node is the way to go. But Linux has a huge attack surface and I don't want to lose my BTC by having my wallet on an insecure OS. What is ...
1
vote
2answers
42 views

Bitcoin core wallet - got 0 balance after transaction [duplicate]

I did a test lightning transaction by sending 0.00001 btc to some exchange with using bitcoin core 0.16 (downloaded from bitcoin.org and installed to dedicated pc) and... it took the rest balance of ...
0
votes
1answer
25 views

How to import an extended public key into bitcoin core 0.16

I exported an xpub key from a HW wallet and want to import it into my own node to keep track of changes to the balance. My node is running satoshi 0.16.1 Can someone help me find the right syntax for ...
2
votes
1answer
27 views

Derive the bech32 address from the transaction 'txinwitness' witness data in Bitcoin Core 0.16

I'm trying to extract the bech32 address associated to an input or output using the txinwitness field included in every pure SegWit transaction. An example with transaction ...
0
votes
1answer
36 views

Bitcoinjs-lib help with deterministc wallet

i'm learning about bitcoin, and bitcoinjs-lib (https://github.com/bitcoinjs/bitcoinjs-lib) I created a dummy wallet on coinomi using this mnemonic ('eight better wealth display father cave suffer ...
0
votes
1answer
20 views

How is the ExtraNonce calculated in Bitcoin Core

The Extra nonce for the genesis block in bitcoin core is 0x010445, how was this value calculated?
0
votes
2answers
18 views

How does createrawtransaction get the pubkey hash from the provided address?

The createrawtransaction RPC takes as parameters the source TX ID and the UTXO index (to create the new unsigned input) and the destination address and amount of bitcoins (to create the new output). ...
1
vote
1answer
337 views

How is PSZ Timestamp encoded in Bitcoin core code?

In Chainparams.cpp of the Bitcoin Core source, the encoded PSZTimestamp is as follows ...