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

Questions tagged [bitcoin-core]

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
10 views

Function of Bitcoin Nodes vs. Bitcoin Miners [duplicate]

I have some questions about bitcoin full nodes vs bitcoin miners. Can someone explain the basic difference between the two? What's the difference between a full node and a node? Are there different ...
0
votes
1answer
46 views

Bitcoind list all transactions from all accounts with listtransactions cli command

If you run bitcoin-cli listtransactions "" 9999999 you receive a list of transactions from your default bitcoind account. I would like to receive the transactions of all accounts on my daemon, ...
0
votes
1answer
55 views

Does exist some library for decode/encode raw transaction?

I want to parse raw transaction into JSON then change some values and encode back to hex. JSON like this: { "addresses": [ "346vcZZ6QV4nr68fybMEuA7qxxQeyKWoPS" ], "block_height": -1, "...
0
votes
1answer
25 views

“tx” array inside blocks contains transactions hashes?

When I use the "getblock " command on my bitcoin core client, it returns, beside other things, an array called "tx" with hundreds of hashes. Are these the individual transactions hashes or something ...
0
votes
2answers
32 views

Bitcoin: can transaction and its parent be in the same block [duplicate]

I'm trying to understand bitcoin transactions verification specified here. Item 10 states, that parent transaction (mentioned as input for current) should be searched not only in already confirmed ...
0
votes
1answer
23 views

Extracting Bitcoin historical ticker data by setting up Bitcoin Node?

How do I extract the ticker data (historical values such as day price, day open, day close etc) by setting up a Bitcoin Node? Bitcoin Node is setup using Bitcore.io All blocks are syncing right now, ...
1
vote
1answer
28 views

Bitcoin Code and Transaction Model [closed]

I'm Studying bitcoin from a while, focusing transaction model and I'm looking to extract transaction model only to try out some experiments to make the structure better from the current one. If anyone ...
1
vote
1answer
34 views

How do I get credentials on the bitcoin network?

I'm setting up an LND node so I can learn about Lightning Networks. I apparently need a set of user credentials so that I can connect to the network. How do I get the credentials that I need to set ...
0
votes
1answer
23 views

Serve Bitcoin Core Wallet Remotely [duplicate]

It is possible to serve the Bitcoin Core GUI remotely via a web page running on a server running in Digital Ocean (or any other provider)? If so, where can I find instructions on how to do this?
0
votes
1answer
20 views

Is there any way to access my btc without my bitcoin core wallet? [duplicate]

I recently bought some bitcoins and got them transferred to my bitcoin core wallet. My fault is that I did not do any research on bitcoin core and found out that it synchronizes with the bitcoin ...
0
votes
1answer
20 views

are all nodes validate each transaction added in a new block?

are all nodes validate each transaction added in a new block? Because what if someone said I have completed block and added invalid transaction? and if others node just accepts a block without ...
0
votes
3answers
26 views

What they stored in cold wallet? All bitcoins anyone owned is already in blockchain

I just want to understand what actually they store in the cold wallet because all bitcoins anyone owned is already in the blockchain. Do they store the private key of users in cold wallet?
0
votes
1answer
39 views

Insanely High Fee

Hello Programming Friends, Can any experts quickly tell me how to disable the insanely high fee feature or raise it so it will not cause any warnings/errors in the future, see example below Solved. ...
0
votes
0answers
33 views

How is the network topology of peers ensured to be whole via bitcoin peering?

Say the entire bitcoin network topology looked this: A -- B -- C | D -- E -- F Then I bring up bitcoin clients on all nodes at the same time and the minimum number of bitcoin peers was only 2. ...
0
votes
0answers
26 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
105 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
61 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 ...
2
votes
1answer
110 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
2answers
59 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 ...
9
votes
3answers
792 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
3answers
51 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
33 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
146 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
1answer
95 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
24 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
61 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
49 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
781 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
66 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
46 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
89 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
44 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
25 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
480 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
35 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
28 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
60 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
52 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
33 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 ...
2
votes
1answer
53 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
44 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 ...
5
votes
1answer
255 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 ...
2
votes
2answers
111 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
64 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
133 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 ...
1
vote
1answer
30 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
32 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
158 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
1answer
71 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
42 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 ...