texts: What does the Bitcoin Core linearize script do? What use cases would make use of it?

texts:
What does the Bitcoin Core linearize script do? The Bitcoin Core docs state it will:

Construct a linear, no-fork, best version of the Bitcoin blockchain.

By "linear, no-fork" blockchain does that mean throwing away orphan/stale blocks (blocks that were successfully mined but didn't make it into the blockchain due to competing mined blocks)?
What use cases would make use of this linearize script?


texts: Can I win some money mining bitcoin with an old computer

texts:
I went to nicehash.com, a website that allows users to mine bitcoins.

I have my old computer on the side, it still work perfectly, but it's pretty slow. I could use it just for the fun of trying, if I win 50$/month I'm happy.

So I'm wondering, if I try to mine bitcoins, will I win a little money or will I lose some ??

I see 2 ways of actually losing money:

-if my computer is up all day, it will use electricity. If I never get paid, then I lose money in global.

-if my computer dies, I have to buy a new one.

So the two questions are: will I ever get paid, and how much ?

For the first question, I read somewhere that for each new transaction, several computers are ask to do so calculus, and the fastest computer often wins. The computer that wins get paid, the other are not. Is it exact ?

Thank you guys !


texts: How do new coins come into existence in a blockchain with Proof-Of-Stake where there are no miners

texts: In Proof-of-Stake consensus there are no miners, there are validators. These validators validate the transactions in a block and charge some fee for it so when and how are new coins generated?


texts: how do i convert an uncompressed key to an extended bip 32?

texts: I am completely new to bitcoin. My question is how do you convert an uncompressed key to an extended bip32 key? Are there any tools that do that? Thank you


texts: Hi I would like to ask you guys for some details about getting reward from minning block when there is a fork - two miners get different blocks at the same time. Both of these block will have the coinbase transaction. Does it means that both of users wallets will have information about this transaction? If yes what will happen when both users will quickly go to bitcoin's ATM and take fiat currency from this reward?


texts: BIP44 Account Discovery using Bitcoin Core

texts:
I have an address I suspect that I generated after I made a backup of wallet.dat, and I read about account discovery in BIP44. Does Bitcoin Core support this, and if so, how can I initiate it?
I’d like to restore the address to the wallet.
The wallet file is from 2019, and the current Bitcoin Core version I'm using is 0.21.0.
getwalletinfo output:
{
    "result": {
        "walletname": "main",
        "walletversion": 169900,
        "format": "bdb",
        "balance": xxx,
        "unconfirmed_balance": 0,
        "immature_balance": 0,
        "txcount": 4,
        "keypoololdest": 1615166340,
        "keypoolsize": 1000,
        "hdseedid": "<seed_id>",
        "keypoolsize_hd_internal": 1000,
        "paytxfee": 0,
        "private_keys_enabled": true,
        "avoid_reuse": false,
        "scanning": false,
        "descriptors": false
    },
    "error": null,
    "id": <id>
}


texts: How to estimate/get network fees via blockchain.info API?

texts: I am using blockchain.info API to send payments. but i need to know that what will I be charged by the network. So any way to get the network fee with specific amount to sent.. or how to generate it to show to user.


texts: How does Bitcoin Core manage its peer nodes? Is it possible to let it automatically switch to faster nodes?

texts:
It's usually frustrating when my Bitcoin Core full node is syncing, especially just catching up from merely several hours/days ago.

I wonder how does Bitcoin Core manage its peers? Will it disconnect with slower nodes, and then turn to faster ones?

I once heard of the eclipse attack issue. However, as far as I know, Bitcoin Core syncs the block headers first, then it will always download full block data. It doesn't seem to hurt if Bitcoin Core could behave in such way (switching to faster nodes) when it's downloading blocks.

EDIT: According to my rough observation, fast nodes often seemed to be "stuck", as long as slow peers were still not disconnected, in other words, manually disconnecting slow peers often seemed to "accelerate" the syncing process.

Is that merely some sort of illusion, or a real phenomenon? Will manually disconnecting nodes introduce any risk?


texts: Does a bitcoin node broadcast that it is full synced?

texts: When a bitcoin core node is fully synced, does it broadcast to the rest of the network that is has finished syncing? If yes, where in the bitcoin-core source code is this implemented?


texts: What if same transaction is added in more than one block of different miners?

texts:
I know that miners have freedom to choose transactions from memory pool,

Let say there are 5 transactions Tx1 Tx2 Tx3 Tx4 and Tx5 in memory pool,

There are 3 miners M1 M2 and M3

M1 has created block with Tx1 Tx2 and Tx3

M2 has created block with Tx2 Tx3 and Tx4

M3 has created block with Tx2 and Tx5

==

M1 successfully solves the block and get reward in terms of bitcoin and transaction fee

at same time M2 and M3 successfully solves the block,
In this case, will M2 and M3 gets reward and transaction fee? as Tx2 was already part of M1's block which was already confirmed.


texts: What's the exact formula where I can calculate my liquidation price on Bitfinex for a leveraged position?

texts:
The following variables are given:

Exchange: Bitfinex

Funds: $10,000 USD
BTC Price: $1000
Use Leverage of: 2x = $20,000 USD

Say I wanted to go long Bitcoin thinking it would be above $1000 in the next 6 months. I buy 20k USD worth of BTC (20 btc) at the $1000 price.

What does the price of btc have to drop before I lose my initial investment of $10,000?
What is the formula for something like this when using Bitfinex exchange?


texts: Are there any Bitcoin alt-coin creation tutorials above version 0.15.0?

texts:
There are many How to make an alt-coin tutorials out there, but all the ones I have seen are from 2015 or earlier (most are around 2013-2014). Bitcoin has changed dramatically since then, and I am pulling my hair out trying to follow tutorials that are completely outdated.

Are there any tutorials on creating Altcoins using Bitcoin for version 0.15.0 or higher?


texts: When miners find a solution to a block and broadcast it, what is the incentive for the other miners to actually validate that it is correct? It seems that they might save time by just starting to work in the next block instead of validating. Do they get some kind of reward or penalty?


texts: Can two or more transactions sent from the same address be mined in the same block in Bitcoin's blockchain?

texts:
Imagine a person Bob has 10 bitcoins in his wallet. He wants to send 5 bitcoins to Alice and another 5 bitcoins to Uncle Tom simultaneously (in separate transactions). Will both Bob's transactions be confirmed in the same block?

If yes, than consider the case when Bob sends all 10 bitcoins to Alice in one transaction and simultaneously issues another transaction to send Uncle Tom the same 10 bitcoins. How is the double spending problem prevented in this case (I would like a technical answer for this one)?


texts: Bootstrap.dat on Mac OSX 10.9 - Difficulty

texts:
Been trawling through a lot of information (I know this similar issue has probably come up a fair bit) on this issue and going round in circles a bit. I am not the most tech savvy individual, and would be really grateful if someone could has some advice that could save me time.

Here is where I am at:

I have a Mac running OSX 10.9.2
I have downloaded and installed the Bitcoin-QT. The synching process was just getting started and I have subsequently quit the application and downloaded the bootstrap.dat file - this torrent is currently downloading via the Deluge application.

Thinking ahead, I have read a bit about where to place this dat file once it has downloaded. For starters, I cannot seem to locate the ~/Library/Application Support/Bitcoin/ on my mac? and I also tried the /Users/username/Library/Application Support/Bitcoin but could not find anything. From selecting the 'Show Package Contents' for the Bitcoin-QT application itself, should I be creating a folder in here manually?

I'd massively grateful for any tips.

John


texts:
I'm just kind of an enthusiastic beginner in this topic. I have created an altcoin using one of the many public available sources (cryptonote in this case). I want now to create a new coin with premine. After I read a lots of comments I still don't get the exact point which would I need to modify in the code to have my coins premined.

What I have in my mind (correct me if I'm wrong): There is a two-step compilation. First is without genesis block, this is actually for generating the genesis block. Second is the final with genesis block included in the config.

So my idea is to include the premined coins' transaction in the genesis block in first run. Is this a good way doing it?

If yes, I assume Currency.cpp needs to be modified. Here is I'm a bit stuck, how can I manually 'mine' 10% of my total coins? Should I modify baseReward to totalcoins * 10% in the first compilation?

Thanks.


texts: What will be the price for BCC bitcoin cash on August 1st?

texts: Will there be an "initial price of a chain fork" type of opening when this new BCC comes out? Or the price will be same to the regular BTC that we currently use?


texts: Bitcoin QT restore old wallet.dat - needed for Israel supreme court

texts:
Though I am sure it's probably not the first time you get this inquiry,
I am pretty sure it has some unique characteristics.
My name is Roy Arav. I am from Israel. In Israel, banks totally forbid getting/sending money that is related to crypto. So in 2018 I sued the bank in Israel's highest court. In February 2021, I won. (For those of you that know Hebrew, it was published in Israeli newspapers and the verdict was published online.)
Well, the bank appealed this verdict to Israel's supreme court. Winning or losing, it's going to be compelling precedence for all similar cases from now on.
Why am I telling you all this?
I need to prove that there is no money laundering (there isn't) by showing
the route of the money (how I bought it, what transactions I did, and how I sold it back to shekels). One of the nodes in this route is an old bitcoin-qt wallet I had till 2019. It's empty now, but I can't access the wallet to see the transactions or even to see some public addresses.
I have my password and an old wallet.dat (I am not sure it's the most up to date one), and I am trying now to re-sync the whole thing (it's going to take at least a week). Any advice? (I don't mind publishing the wallet.dat and password since the wallet should be empty.)


texts: No bitcoins in my multibit wallet, but I have some when I look in the blockchain

texts:
I got an old version of multibit (the one like in my picture)

It says I don't have any funds even when I reset my wallet (multiple times which takes about half an hour each time).

When I look at blockchain.info and search my wallet address it says I still have some bitcoin left.

I got a wallet.dat file somewhere but I don't know how to import it into the new multibit (multibit HD) since they require you to have some mnemonic or something. There is no simple open wallet button like in the old multibit.

What can I do?


texts: ScriptHash from bitcoin address with BitcoinJS

texts:
I need to interact with Electrum server API, in order to get UTXOs of a bech32 address.

Electrum doesn't support bech32 but supports searching by ScriptHash, which is  be obtainable from an address.

I think that the name ScriptHash is a little ambiguous here (i think locking script hash can make more sense)

So how can i get the scripthash from the address as in the following example using bitcoinjs :

       {'priv': 'L8g5V8kFFeg2WbecahRSdobARbHz2w2STH9S8ePHVSY4fmia7Rsj',
        'pub': '03e9f948421aaa89415dc5f281a61b60dde12aae3181b3a76cd2d849b164fc6d0b',
        'address': 'bc1qqmpt7u5e9hfznljta5gnvhyvfd2kdd0r90hwue',
        'minikey': False,
        'txin_type': 'p2wpkh',
        'compressed': True,
        'addr_encoding': 'bech32',
        'scripthash': '1929acaaef3a208c715228e9f1ca0318e3a6b9394ab53c8d026137f847ecf97b'}


texts:
I sent this transaction and it took a long time to confirm as you can see
023d90420161bbb5f97480d673405d19b79de1c4a7383c8977b62b16926d881c.

Now I have asked the recipient and they have said that I used the wrong address. If that is the case. Where are my bicoin now please?


texts: Moved Bitcoin Core wallet.dat to a new PC and after the block chain was updated it's shown as almost empty

texts:
I moved Bitcoin Core wallet.dat to a new PC and after the block chain was updated it's shown as almost empty. On the old PC that is also synced it shows what I think it the correct amount.
The wallet shows the same transactions with the same dates as the old PC. The new PC did have some of the block chain already downloaded before I moved the wallet DAT file.


texts:
We're in the process of setting up bitcoin payments to fund accounts in our system. Using the C# BitcoinLib (https://github.com/GeorgeKimionis/BitcoinLib) to interact with the Bitcoin Daemon.

Our concern is how to manage the Address gap. My understanding is we can only generate 20 unpaid addresses in a row. Each account would have atleast one bitcoin address associated with it. Preferably with the option to generate a new address. So we have to consider the scenario, 20 users generate an address but never pay anything into the address.

How can this problem be dealt with?


texts:
Im trying to open bitcoin core withthe command
bitcoind -daemon
My node is working perfectly with GUI
But When trying to run bitcoind -daemon
error: Could not connect to the server
Make sure the bitcoind server is running and that you are connecting to the correct RPC port.

Any help?
For some reason its showing i am in Prune mode?
Im not sure if this is the cause of the error if so please instruct me to fix this
Cheers


texts:
Which good VPS server vendor to accept monthly payment with Bitcoin(BTC) ?
Please help to provide the reliable listing website for registration.


texts: Why every node needs to validate a transaction in Bitcoin

texts: I am just understanding the Bitcoin network, and now understand that every block and every transaction is propagated to every node in the Bitcoin network (not sure yet the difference between full vs. validating vs. other nodes). But my question is, why a transaction needs to be propagated and validated by every node. I get that if only 1 node were to validate someone's transaction, they could team up perhaps and so bypass the rules for the system. So everyone checking that it is acceptable means no one can cheat or team up and cheat. But wondering if there is anything else to it. I wonder why you can't just trust that the user submitting the transaction is trustworthy and their transaction is correct, or if this is the whole point of the validation mechanism.


texts: How to get block height, if I have only block header?

texts:
Imagine I executed ReadBlockFromDisk and now I have valid instance of CBlock.

How do I read height of this block?

CBlock block = ...;
CBlockIndex index(block);
assert (index.nHeight != 0); // fails, nHeight is default initialized


texts: How do you know how much a product costs in Bitcoins?

texts:
When paying with Bitcoins how does that affect the price of the service or item? For example If I buy something that costs 20 CAD using Bitcoins and the exchange rate is 1 CAD = 0.01 BTC does that simply mean I pay 0.20 BTC? I'm not very knowledgeable about currency exchange to begin with. If the value of the Canadian dollar goes up and 1 CAD = 0.02 BTC then I would've lost money if I had did the exchange at the lower rate, is that right?

Take Privateinternetaccess for example. They have an option to pay in Bitcoins but doesn't say how much?


texts: How do i transfer bitcoins from bitcoin qt to multi bit?

texts: Im very new to this so forgive me. I downloaded bitcoin qt and after 16 hours there was no progress whatsoever with this 'blockchain' stuff. I bought some bitcoins to send to the bitcoin qt client. which i cannot access. my question is how do i transfer the coins which i can't even access in qt to multi bit? I've found some other links on here which I've tried following but they don't work. Im on a macbook if this makes any difference. can someone please give me a step by step on how to transfer them to multi bit? or have i just wasted my money on those bitcoins? thank you


texts: What OSes don't yet have Bitcoin clients?

texts:
Bitcoin has clients created for many OSes already, but which (semi-)significant operating systems don't yet have a Bitcoin client created for them?

Is there some opensource code I can use as a template to create a Bitcoin client for an OS that doesn't yet have a client?


texts: Under what circumstances will a full node disconnect a peer?

texts:
I know a full node will disconnect from a node if that node "misbehaves". For example, a node's connection will be dropped if it sends too many messages that don't follow the rules (what rules?) and nodes that send a lot of expired, duplicate, or otherwise useless messages. What other reasons do full nodes disconnect from a peer?

For example, do full nodes disconnect from connections that don't send enough data?


texts: Different redeemScript for the same scriptPubKey?

texts:
Most transaction outputs to P2SH addresses have the following scriptPubKey:

HASH160 f45d94733d430261962932e0c847075195916a04 OP_EQUAL

As I understand it, this transaction do not need to be signed. Is it true?

The user just needs to provide a redeemScript whose HASH160 is equal to f45d94733d430261962932e0c847075195916a04.

So, if we know that:

HASH160(data1) = hash1
HASH160(data2) = hash2

and the user creates two transaction outputs to P2SH addresses with the scriptPubKeys:

HASH160 f45d94733d430261962932e0c847075195916a04 OP_EQUAL

then the scriptPubKey is the same for both transaction outputs, but why is the redeemScript is always different?

HASH160(data1) = hash1
HASH160(data2) = hash1
....
????


texts: How do I get started with mastercoin? What tutorial or guide is a good start?

texts: How do I get started with Mastercoin? Are there useful tutorials or guides? I am looking at creating a cryptocurrency on Mastercoin so as to leverage on the features of the Bitcoin blockchain and Mastercoin.


texts:
What options are available to purchase bitcoins in bulk (e.g. a buy in the range of ten thousand dollars or more) without having to mess around with a market exchange?

How can it be determined if the price is fair?

What payment methods are accepted?


texts:
In Satoshi’s original paper, it is written that “we need timestamp to prevent double-spending”.

However, I think timestamp is unnecessary, because every block has a previous block hash and merkle tree root and these are enough to check if a transaction contained in a block is double-spending or not.

I think timestamp is just used to gurantee the current ‘difficulty target’, and I found posts here that it is even possible that a successor of a block can contain a timestamp which is earlier than that of the predecessor.

Am I correct? What’s actually the role of timestamp?


texts: how does solving hashes and building blockchain help the human race?

texts: I guess I am naive about what miner really does to benefit the human race.  What kind of problems does miner's computer solve?  The hash just looks like a whole string of numbers and letters to me.  How does that translate into solving problems that will benefit people?


texts: How can I track all trades at an exchange such as GDAX

texts: Can I track all trades on an exchange, not just my own. Is it possible to assign a trade to an anonymous figure then continue to track that figure?


texts:
I am writing an app which trades bitcoins and one of the biggest problems I have run into is that it takes so long to move them from one wallet to another. I thinks it due too mtgox and other sites using a 6 confirmation system before registering that data.

I have two thoughts on how the time might be brought down and I am wondering how feasible each is.

Process my own bitcoin transactions. Would it be possible to route my transactions through my own computer so that it gets top priority?
Use fewer conformations before excepting a transaction as complete. Would the system allow me to use a bitcoin if it has only has 4 conformations?

Is there another way that I'm not thinking of?


texts: In case of the Bitcoin split - when holding BTC on blockchain.info - will I receive coins on both forks?

texts:
Everyone says:

  If you do not hold private key to your BTC, you do not own BTC.

Technically speaking I do not hold the private key, but I do have the 12 words backup phrase.

I would like to know if my funds are safe - will I receive coins on both forks - in case of the chain split?


texts:
Please explain something about OP_RETURN to me?
https://bitcointalk.org/index.php?topic=1166928.0

I saw a discussion that the contents of OP_RETURN can open the value of access to the private key. I am not good at client scripting language. But I assume this is something related to the values of RawTX (R, S) where, when summing the additional value, you can calculate the value of X (that is, the private key). Am I right or wrong?


texts: I have been a victim of a phishing attack today, and the perpetrator stole my bitcoin hosted at coinbase.com. I have an IP address that the attacker used. Is there anything I can do? Any info would be helpful.


texts:
I know we have blockchain.info for bitcoin

I am trying to track a missing FTC transaction going to btc-e (seems a very common thing money going missing with these jokers)

Are there any similar tools for both Litecoin and Feathercoin FTC so I can hold these guiys to account or confirm that my funds where sent etc ?


texts: Would writing one's own cryptocurrency in a language other than C/C++ be stupid?

texts:
I'm curious from a performance perspective if writing a cryptocurrency from the ground up in a language other than C/C++ be stupid?

For example, if I wanted to write a cryptocurrency and protocol in Python or Nodejs, would I run into performance and speed issues later down the rode since these languages aren't as "low-level"?

Or are there any other issues besides performance I would run into?

Any thoughts are appreciated. Thanks


texts: Looking at this dev reference guide I found a returned field called label. Is this the same label specified to each key when using importmulti?


texts:
Does block verification time (by all nodes in the network) takes up a large portion of the total block propagation time?
What is the percentage, on average?


texts: How do nodes validate that a UTXO in a new transaction is unspent?

texts: Does it check every block in between where the UTXO first appeared and the current time to make sure it didn't get spent then? Or is there some other caching or other method to make the check faster?


texts: How can I find the sender's address from the transaction hash?

texts:
Possible Duplicate:
  How to findout the sender of a transaction

I am trying to use blockchain.info API to receive a payment and store the sender's address. However, the API only indicates the transaction hash, not the sender's address. Perhaps this is simply ignorance about the BTC Protocol, but how can I find the sender's address from any given transaction hash?

The two API's I am using:

https://blockchain.info/api/api_receive
https://blockchain.info/api/blockchain_api


texts:
I'm running BitcoinUnlimited's giga_perf branch of bitcoin in regest mode, and I'm noticing a different format than P2PKH in the scriptPubKey when running listunspent over rpc.

Typically I see scriptPubKey's in the P2PKH format:

'76a914' + b58check_to_hex(address) + '88ac'

But with this implementation I'm seeing:

'2103' + ??? + 'ac'

Some examples below, what format are these scriptPubKey's in?

{
  "txid": "07ad742b0bab1c5e65fe720459747aa687d293fef0d0f168297bcaafbe73f17b",
  "vout": 0,
  "address": "mrjTCJGC7aYdZsy3gUJMpBesgtH1ymybsN",
  "scriptPubKey": "21031f5ce0854d50e632bd7002ae5aff977396376082e45329fcdf1af52ab68f766bac",
  "amount": 50.00000500,
  "confirmations": 101,
  "spendable": true
},
{
  "txid": "d7f623f59d8fa37eea5fafeb3819ecd76750bea9bb48d453e0eb13426c7e707e",
  "vout": 0,
  "address": "n2Faf95smgYu6e9aBVAwwzp6oULnL7SSSs",
  "scriptPubKey": "21039ff795e5433e67b418e100938ac72e2713a1661c15f48a5c198a5086d96285beac",
  "amount": 50.00000000,
  "confirmations": 108,
  "spendable": true
}


texts:
I'm looking into the re-use of ASIC miners to perform other mathematical tasks; for example, the sum of a prime and a random number producing a massive (arbitrarily long) integral value

  i.e. sum(121 ^ 98435903485039)

Note: I require the result of the sum, not the hash of the result of the sum.

What mathematical tasks can an ASIC perform?
Do they have to be targetted specifically, or will the host machine naturally offload mathematical processing tasks to the ASIC?
If ASICs need to be targetted specifically, how does mining software target the hardware capabilities of an ASIC?


texts: End-user security measures to protect your Bitcoins

texts:
I am trying to make a presentation on Bitcoin for my Security and Risk Analysis class.
Currently, my research question is : What bitcoin security measures can enhance user-protection and reduce theft?

My professor needs the topic to be scientific, atleast that it sounds like one.

I need your help to paraphrase my question to make it more worthwhile for research.


texts:
I am looking to use an transfer an existing Wasabi Wallet to BlueWallet.
I tried using the extended private key but no luck.
Is this even possible?


texts: How long does it take for a transaction with 0 fees to be confirmed or rejected?

texts:
I have a problem with a transaction that has 0 btc fees:
https://blockchain.info/tx/256301465d77affb6bc7087432a9130db48dd64efa28b0460fb674eda704f382

From what I understand, eventually this transaction will either be confirmed or rejected. My question is: how long will this take, and is there anything I can do to speed up this process?

(There is an interesting answer to this question here What happens if my transaction is not accepted because I did not pay fees? but it's two years old and assumes that one is running the official bitcoin client, which I'm not)


texts: relating the UTXO set to the total supply of bitcoins

texts:
If the number of Bitcoins in the UTXO is always equal to the number of mined Bitcoins

See:
How is a wallet's balance computed?

then why do the number of bitcoins mined depicted here:
https://blockchain.info/charts/total-bitcoins
differ drastically from the UTXO set depicted here:
https://blockchain.info/charts/utxo-count


texts: Which method is preferable: sender to send Bitcoins to eWallet/mixer first or to wallet on the PC?

texts:
Suppose a friend wishes to send some Bitcoins to me.

In terms of anonymity, which of the following would be preferable?

Have the Bitcoins sent to an eWallet/mixer first and then I withdraw them to my Wallet on my PC; or
Have the Bitcoins sent to my Wallet on my PC first. As and when I need to spend them, I will send a portion of them to the eWallet/mixer from where it will be spent.


texts:
What happens to a double spend during a fork where one of the transactions are in a orphaned block and the other in the main chain?

2 transactions get broadcasted in the network and 2 conflicting blocks gets mined at the same time. The transaction that gets broadcasted first is for the seller and the second transaction is fraudulent. First transaction gets in the orphaned block and the second transaction goes in a block that becomes part of the main chain.

With the knowledge I have now, I assume the 2nd transaction is considered valid. While the first one gets returned to the memory pool and the pool sees that there is already a transaction in the main chain so it gets dropped. Is this true? And how do the confirmations show up?


texts: Blockchain.info Receive Payment callback problem

texts:
I am setting up a website to accept bitcoins using blockchain.info API, it's all set, code is ok, tested and working, I receive payments and everything but blockchain.info just won't call the callback url.
Since my websites traffic is going through cloudflare, I thought at first disabling firewall and few other security measurements would fix this but still not calling the callback..

Thanks

SOLVED

I just noticed that I had not adjusted firewall for callback file properly which blocked blockchain.info access, tested this on some other site and it's working, thanks everyone for trying to help.


texts: Is BTC and Crypto Currency Illegal in USA

texts:
My close friend who is the biggest currency rebellion I know. He introduced me to Bitcoin. Earlier he told me about some guy called Nothaus who created currency, in HI. However he got arrested for it.

Honestly he turned me onto BTC by advertising it as no banks, decentrized currency out of government control. Sounded great but is it legal, and is there something that is different in Nothaus's case as to why he was arrested?


texts: Is it possible for multisig wallets to have trusted addresses? (Dynamic amount of permissions required)

texts:
I've been wondering if it is by design possible to have a multi-signature wallet which has a set of trusted addresses which require less signatures.

Let's say I have a 3-of-5 wallet, but all address holders agree there is a certain address which is trusted and should only require 2-of-5 or even 1-of-5 signatures.

Is it possible to implement such a wallet? If so, do any mainstream wallets currently have this feature?

Thanks


texts: What are the ways to secure bitcoin daemon on linux?

texts: I just integreated mining pool on my server. which means miners connect to my pool and get paid. before they get paid, it goes to my address and that address is located in bitcoin daemon. What are the ways to secure coin daemon? so that no one can access it ever? if accessed , they can steal money.


texts: What coin to mine to maximise volume of return

texts:
I'm interested in mining some of the newer, more obscure coins. This is mainly for learning purposes.  I'm not too worried about profitability.  But I want to maximise the volume of coin that I can mine in the shortest period of time so that I actually have something to play with.

How can I find out what to mine that will give the shortest time to first payout in a mining pool? I have 1xR9280x.

For example. Looking at ethereum, all of the mining pools I can see don't payout until you have mined 1ETH which could take me months.


texts: Is Electrum's label sync a decentralized service?

texts:
I have some questions about the electrum tool plugin "label sync".
How does it work?
I had a look into in the QA's here how electrum server/client do work, the random server setup sounds quite resilent.

Do the electrum server save IP information by default?
How and where are the labels stored?
Does the plugin direct to a central server or is the information some how stored on all the server nodes?
Is the transmission of the labels encrypted?

thanks in advance


texts: From my understanding, an unconfirmed transaction can be accepted into the mempool provided that it has a fee that is generally at least 5460 satoshi, which is set as default in the current version of Bitcoin Core (assuming input=148B, output=34B, and relay node hasn't changed default settings). If a spammer sent a transaction like that, wouldn't it most likely not get picked up from the mempool by any miner (because of low fees) and thereby be returned to the original spammer at no loss? Couldn't this happen for a large number of similar transactions?


texts: Is there anyway I can recover my passphrase?

texts: I have a wallet for the bitcoin qt wallet but I accidentally deleted the only copy of my encryption passphrase... I have read about something called brute force but I'm not entirely sure on how its code is used. Can anyone help me please!? I am desperate to recover my bc!


texts: Can a Bitcoin server have a .onion ToR address?

texts:
Is it possible for a Bitcoin server to have a .onion ToR address?

If so, are there any in existence today?

(Note: this is an alternative to hiding addresses via the Azure Service Bus)


texts: What is the right method to calculate Relative Strength Index (RSI) for incoming real time data?

texts:
I am working on a trading bot that computes values for several indicators including the RSI. I subscribe to real time minute-level market data from an exchanges, and as new data arrives, I get the most recent tick, and re-compute indicators.
Let's assume the RSI calculation period is 1 hour.

Average gain is computed as:

05:00 as [Prev Avg Gain x 13 + (Price at 05:00 - Price 04:00)]/14.

06:00 as [Prev Avg Gain x 13 + (Price at 06:00 - Price 05:00)]/14.

What is the right way to compute RSI at a minute level? I generate trade signals (buy/sell) every 5 minutes. What is the right way to update RSI at 05:05 i.e, at a smaller granular period (5 minutes) than the calculation period (1 hour)? I don't want to wait one until 06:00 to get the RSI for the one hour period. I have two options:

Compute Current Gain = (Price at 05:05) - (Price at 05:00).

OR

Compute Current Gain = (Price at 05:05) - (Price at 04:05).
And do this for each of the previous intervals so that average gain also follows this formula - essentially adding a 5 minute shift to each computation.

Any suggestions are welcome.


texts:
I've started a mining account of Wemineltc.com, and have decided to go down the track of CPU mining.  I looked up the relative tutorials on how to do so, and I got some different results.  I set the proxy batch file to

mining_proxy.exe -o freedom.wemineltc.com -p3339

and the minerd batch file to

minerd -a scrypt -o stratum+tcp://freedom.wemineltc.com:3339 -O USER.1:12345

One of the tutorials says instead to use the minerd command line of

minderd -a scrypt http://127.0.0.1:8332 -O USER.1:12345

I tried the latter minerd command line and it didn't mine, so I tried my own version.  Is there any explanation to this? Am I doing something wrong?


texts: How do I compute the coinbase in for a stratum pool?

texts:
I searched around Google and didn't get a correct answer, some one says I should use:
hashed_coinbase_ = coinbase1 + extranonce + extranonce2 + coinbase2;

And some other pages says:
hashed_coinbase_ = coinbase1 + extranonce2 + coinbase2;

Which one is correct?

If the first one is correct, is the coinbase1, coinbase2, extranonce are all hex represent values that I received from the stratum server? for extranonce2, should I also use its hex and concat all these hex strings together, and the hash it to get the hashed_coinbase?

Seems all received hex values are big-endian, should I change them into little-endian before computing the coinbase?

Is there any existing test case (values) that I can test my algorithm to make sure everything works fine?


texts: Why I can't do a transaction by use sendtoaddress?

texts:
It's seems like this question, but it's no clear show. I have followed this step by step, and after finish last step which generate a block to confirm the transaction, I couldn't see my second address have add money (bitcoin). Anyone who encountered such problem?

My bitcoin.conf

[frank@localhost bin]$ cat ~/.bitcoin/bitcoin.conf
rpcpassword=this_is_a_password_for_api_call

Run my bitcoind like

[frank@localhost bin]$ ./bitcoind -regtest -daemon
Bitcoin server starting

Run my bitcoin-cli as

[frank@localhost bin]$ ./bitcoin-cli -regtest getbalance
0.00000000

[frank@localhost bin]$ ./bitcoin-cli -regtest generate 101
[
  "7b611f41281c882c7b786c74e01b70e990c102aefb5fc28ee12c1d5b90156fb3",
  "505699b3bcb9faa394cb3533ed970ca48195643e1a034fc8fe64a34e019e12cd",
  "3845286183586d91f3b6a64aa5fb7f741378747b82ed781bc32e2a9d79ac22af",
  "342c881a888de56524368fc04735edfbb23ab1767717df8f9c68218a57b852ee",
....]
[frank@localhost bin]$ ./bitcoin-cli -regtest getbalance
50.00000000

You can see what I've done at above, everything so far so good. When I try to do the following thing, I meet some trouble.

[frank@localhost bin]$ ./bitcoin-cli -regtest getnewaddress
2N6UDwsexfRwRmRYwDFeWjmPvaXtkrsRnFV

[frank@localhost bin]$ ./bitcoin-cli -regtest sendtoaddress 2N6UDwsexfRwRmRYwDFeWjmPvaXtkrsRnFV 10
89d08e5517a8f40cfca50b0323c835056c166255d8430897affa6c1cde797b18

For now, I will list all transactions to you:

[frank@localhost bin]$ ./bitcoin-cli -regtest listunspent 0
[
  {
    "txid": "89d08e5517a8f40cfca50b0323c835056c166255d8430897affa6c1cde797b18",
    "vout": 0,
    "address": "2N6UDwsexfRwRmRYwDFeWjmPvaXtkrsRnFV",
    "account": "",
    "redeemScript": "0014b24df37ce7d779a84b06b35517fae3c8229daa3c",
    "scriptPubKey": "a914910f020cef414bcafc49ab1236c82be6367045f287",
    "amount": 10.00000000,
    "confirmations": 0,
    "spendable": true,
    "solvable": true,
    "safe": true
  },
  {
    "txid": "89d08e5517a8f40cfca50b0323c835056c166255d8430897affa6c1cde797b18",
    "vout": 1,
    "address": "2NDjzxeozTK8uZ567tCBvCY9aqCL5wKL4rs",
    "redeemScript": "00143a1c7678f95db28e17c47ab32e9a7e8be5b5150a",
    "scriptPubKey": "a914e0d3b4074fdb1a3defd5ca0e660d3c656b0b054087",
    "amount": 39.99996240,
    "confirmations": 0,
    "spendable": true,
    "solvable": true,
    "safe": true
  }
]

You can see the transaction's confirmations is 0, it's mean no confirmed. so last step I will generate a block to confirm it. but before confirm I simply check both account's balance.

[frank@localhost bin]$ ./bitcoin-cli -regtest getbalance
49.99996240
[frank@localhost bin]$ ./bitcoin-cli -regtest getbalance 2N6UDwsexfRwRmRYwDFeWjmPvaXtkrsRnFV
0.00000000

And we absolute sure the transaction is submit, so go on.

[frank@localhost bin]$ ./bitcoin-cli -regtest generate 1
[
  "0636e8cba682cc382833923e23028664e49ade44764cdf81b375b59675b84e7e"
]

Okay, We have generate a new block and it's also successful. How about the balance? let check it.

[frank@localhost bin]$ ./bitcoin-cli -regtest getbalance 2N6UDwsexfRwRmRYwDFeWjmPvaXtkrsRnFV
0.00000000
[frank@localhost bin]$ ./bitcoin-cli -regtest getbalance
99.99996240

Sadly, I got nothing in the dest account, but the origin account has increment the balance .So my question is how it's going ?


texts: Blockchain.info: Is there a way to know if a transaction is confirmed or not?

texts:
I'm using the Blockchain.info API to get info about addresses and transactions.
It seems to me that the transactions (txs) don't indicate if they are confirmed or not.
Is there a way to get this info, directly from the api or indirectly, calculating the status from other values present in the repsonse?


texts: I have this question, say I have my coins in my local wallet and 1 of 2 things can happen, say I somehow delete the wallet.dat file or some kind of malware deletes the file. I have the password private key to the wallet, would I need the wallet.dat file to recover the bitcoins or could I just recover with the private key to the address? Would I need both?


texts: How has the hash rate for bitcoin continued to increase despite price drops and miners dropping out?

texts: Despite price dropping in 2018, the hash rate for bitcoin tripled from around 15 EH/s to 45 EH/s. Why is this the case? I am aware that the network difficulty adjusts meaning that if miners drop off, it will be more profitable for others to mine but what are the key factors driving the hash rate increase? Is it related to the increasing ledger, an increased amount of miners, and/or other factors?


texts:
I formated my computer yesterday, and my MultiBit Classic wallets are gone. I just tried a trial software to recover the files, and they appeared as found. But I cannot recover unless I buy the full version.

The wallets didn't ask for any password when I open MultiBit. If I successfully recover the .wallet files, I will be able to recover my bitcoins with this files only? I dont remember to configure any passwords or anything for this wallets. The only data that I can recover is the .wallets file. Is this enough?


texts:
Hey I am trying to connect to my namecoin server. I have hosted and done the first name_firstupdate. I am using easybitcoin.php. I have stored the rnd and txid I need from the name_new step but when I execute the code the server doesn't respond with anything. I checked my namecoind name_list the domain that's being registered doesn't show up. Any help would be awesome, thank you.

http://allaboutbit.com/dotbitaddress for an example of the prior steps.

$d = 'd/';
$space = " ";
require_once('easybitcoin.php');
$bitcoin = new Bitcoin('username','password','159.206.21.47','8336');
$domainQuery = mysqli_query($conn, "SELECT domain_name from dotbitdomains WHERE status = '13'");
$domainLevel = mysqli_fetch_row($domainQuery);
            $url = $domainLevel[0];
//select rnd
$rndQuery = mysqli_query($conn, "SELECT rnd from dotbitdomains WHERE status = '13'");
$rndLevel = mysqli_fetch_row($rndQuery);
            $rnd = $rndLevel[0];
//select txid
$txidQuery = mysqli_query($conn, "SELECT txid from dotbitdomains WHERE status = '13'");
$txidLevel = mysqli_fetch_row($txidQuery);
            $txid = $txidLevel[0];
//select username
$userQuery = mysqli_query($conn, "SELECT username from dotbitdomains WHERE status = '13'");
$userLevel = mysqli_fetch_row($userQuery);
            $username = $userLevel[0];
$bitcoin->name_firstupdate($d.$url.$space.$rnd.$space.$txid);


texts: How does Trezor's wallet recovery work if the private key never leaves the device?

texts: If the private keys never leave the TREZOR, how can they be restored if I lose it?  I am assuming that maybe the private key is generated on the TREZOR and then encrypted before being sent to SatoshiLabs where they only have encrypted data that requires a few of the 24 words to unencrypt.  Can anyone validate this or tell me how it is actually done.  I guess my concern is that I don't have control over my private key...


texts: Does flattr complement or compete with bitcoin?

texts:
I realise that the underlying technologies for Bitcoin and flattr are different, but do they serve the same purpose?

For example: if I set up a webapp that uses micropayments for revenue (like github - being able to buy private repositories) would it make more sense to use flattr or Bitcoin?

Would I use them in concert - Bitcoin for micropayments, flattr for "charity" like payments for people who just want to support the site, but don't need extra functionality?

Does Bitcoin have a clear advantage over flattr for certain situations and clear disadvantages in others?


texts: Where did Staoshi Nakamoto state that bitcoin is gold or digital gold?

texts:
I'm confronted by someone who states that Satoshi Nakamoto never compared Bitcoin to gold in the monetary sense (not about mining).
However, I'm sure that I recall a quote from Satoshi stating Bitcoin is digital gold which was used several years ago in the debate of Bitcoin vs Bitcoin Cash as an argument that Bitcoin is a store of value and not a means of payment.
I'm failing to find it again. The only thing I found is about Bitcoin mining, but this isn't in the meaning I need to prove.


texts: How do I mine with more GPU's than my motherboard has slots for?

texts: I noticed pictures of some mining rigs that appeared to show GPUs hooked up to cables going to a mother board and not using pci slots. What are these cables called and how can I use them to increase the number of cards I have on one board?


texts: Is it possible to take advantage of FP16 for mining BTC or ALTs?

texts:
I know mining uses mostly Integers, not Floating Point Ops... but still, is it possible to use Graphics Cards that support native 16bit Math for mining? Will it improve the performance in specific Algorithms?

My point is, you have DOUBLE the GFLOPS in FP16 compared to FP32, so..... computationally wise it is debatable....


texts: Is it normal all testnet p2wsh cosigners have same master public key?

texts:
Created a testnet p2wsh Electrum multisig 2 of 3 wallet.

When I click on the radio buttons in Wallet/Information, all cosigners have same Vpub master public key. Normal?

Asking because I am trying out Electrum Personal Server and getting the following error.

  WARNING:2019-06-28 08:15:00,335: Address not known to server,
  hash(address) =
  d***********. This
  means Electrum is requesting information about addresses that are
  missing from Electrum Personal Server's configuration file.

The EPS config.ini comments mention the following format for 2 or 3 wallets but when I use 2 Vpub Vpub Vpub the first 3 addresses of each master public key don’t match the ones I see in Electrum. Help!

  multisig_wallet = 2 xpub661MyMwAqRbcFseXCwRdRVkhVuzEiskg4QUp5XpUdNf2uGXvQmnD4zcofZ1MN6Fo8PjqQ5cemJQ39f7RTwDVVputHMFjPUn8VRp2pJQMgEF xpub661MyMwAqRbcFseXCwRdRVkhVuzEiskg4QUp5XpUdNf2uGXvQmnD4zcofZ1MN6Fo8PjqQ5cemJQ39f7RTwDVVputHMFjPUn8VRp2pJQMgEF xpub661MyMwAqRbcFseXCwRdRVkhVuzEiskg4QUp5XpUdNf2uGXvQmnD4zcofZ1MN6Fo8PjqQ5cemJQ39f7RTwDVVputHMFjPUn8VRp2pJQMgEF


texts: What Happened 12/30/17 Last Recieved Transaction into Bitcoin Core Wallet

texts:
I have found a different receiving address within my wallet that is not mine... at least I did not create it. It seems to me that all of my transactions are now going to this new address instead of into my wallet. is there anything that I can do to recover these missing or stolen transactions?

In the debug log file on 1/1/18 I found that Bitcoin 12.0 was restarted and this shortly after, among other things:

InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1

Seems like someone got in and redirected my transactions. Am I paranoid or did I just get robbed?


texts: how long does it take to get 6 confirmations with confidence of 99%

texts:
I had this question in an exam but I was not very sure how to solve it:

Suppose Bob the merchant wants to have a policy that orders will ship within x minutes after receipt of payment. What value of x should Bob choose so that with 99% confidence 6 blocks will be found within x minutes

Do you have in idea about the formula that we have to use to find the answer?


texts: bitcoind: incorrect rpcuser or rpcpassword (authorization failed)

texts:
The host system is Linux Debian Stretch (9 / testing).

The Bitcoin Core package for Linux I have just downloaded and verified and installed.

I have created the following file:

/home/myUsername/.bitcoin/bitcoin.conf

With contents:

listen=1
server=1
rpcuser=myUsername
rpcpassword=myPassword
rpcport=8332
rpcconnect=127.0.0.1

Then I have punched the following holes to my firewall:

sudo iptables -A INPUT -p tcp -m tcp --dport 8333 -m comment --comment "Bitcoin Listen" -j ACCEPT

sudo iptables -A INPUT -p tcp -m tcp --dport 8332 -m comment --comment "Bitcoin RPC" -j ACCEPT

And forwarded the 8333 port from my router to the server.

I am unsure whether the second hole is necessary for RPC connections, but that's not the question now.

If I now run the following command as my regular user:

bitcoind -daemon -datadir=/raid1a/bitcoind/

It says:

Bitcoin server starting

I wait for a few minutes for it to initialize and then invoke:

bitcoin-cli getinfo

With the result:

error: incorrect rpcuser or rpcpassword (authorization failed)

I have a very long and complex password, could that be the pickle?

The debug log says only:

ThreadRPCServer incorrect password attempt from 127.0.0.1:someport


texts: Which percentage of miners are using ASICs vs GPUs or FPGA? Is it possible to know?

texts:
One of the common arguments against Bitcoin is the energy consumed by the network. The total hash-power of the network can be obtained fairly easily, but I'd like to estimate how much of that is due to ASIC, how much to FPGAs and how much to GPUs (if anybody's still using them).

If there were a way to separate the population of different ASICs themselves, a much better estimate could be made about the total power consumed by the network.

Any ideas??


texts: bitcoinjs-lib seems to skip a step in deriving addresses from a BIP 44 wallet

texts:
According to this wiki page to create a bitcoin address,

1) you have your public key of the properly derived path

2) Then SHA256 it

3) Then RIPEMD-160 it,

Add version byte at the front and boom blam you’re good.

But in bitcoinjs-lib, they have this function getAddress which seems to skip step 2  and continue down the path ensuring Base58Checking

function getAddress (node) {
  return baddress.toBase58Check(bcrypto.hash160(node.publicKey), bitcoin.networks.bitcoin.pubKeyHash)
}

My question is, why is bitcoinjs-lib skipping step 1? Don’t you have to SHA256 the pub key again?

Derivation occurs pretty straightforwardly with derivePath

var child1 = root.derivePath("m/44'/0'/0'/0/0")


texts: Is bitcoin vulnerable to a DOS/spam attack?

texts:
What happens if someone maliciously decides to make squillions of transactions on the Bitcoin network?

I see there being two vulnerabilities. Firstly - computation resources used, though this doesn't seem to be a problem, at this stage, given the size of the mining pool.

But also - blowing out the size of the block chain. What if someone were to persist over a year of spamming transactions?


texts: Why does transaction d5d27987d2a3dfc724e359870c6644b40e497bdc0589a033220fe15429d88599 included in two different blocks?

texts:
I'm not sure i get it right and i thoughts, in theory, it's not possible.
But i stumbled with that transaction d5d27987d2a3dfc724e359870c6644b40e497bdc0589a033220fe15429d88599 and indeed, https://blockchain.info/tx/d5d27987d2a3dfc724e359870c6644b40e497bdc0589a033220fe15429d88599 two different blocks include that transaction.

Can someone explain me why and how does it happen?

Thank you


texts: Is there anything like a "blank" blockchain?

texts: I'm looking to create a coin with my own method of securing the network. Is there anything close to something I could create my own algorithm and replace that portion of the code with my own? Thanks!


texts:
I am having difficulty working out how to work out a transaction fee.  I've read the theory, but don't understand how to get the values to put the theory to practice.

Can someone please help me work this out step by step?  If I want to send 0.05XBT from: mvDLEEymmEijZXyrrNRL3aPMhH8q2m8vE1 to mxgxQ52kYRVPfLeYpXugkCAGhjLfUaZk3g.  How do I work out the transaction fee?

If your answer could use these public keys so I can try them out based on the instructions in your answer, I would really appreciate that.

Using bitcoin-qt's command line, I have the following details:

  listunspent [ { "txid" :
  "9df9c897af413505c02f158a7421b39000b40248a3bb826831ff458aee84f8ca",
  "vout" : 1, "address" : "mvDLEEymmEijZXyrrNRL3aPMhH8q2m8vE1",
  "account" : "From http://faucet.xeno-genesis.com/", "scriptPubKey" :
  "76a914a134b5919d09350f6232260ed1313f73ac6b7bae88ac", "amount" :
  1.19994817, "confirmations" : 364 } ]

Then I could use this:

  createrawtransaction
  '[{"txid":"d3be60aaf98ef888a9137928fa405806cd2e0c762f5205b3d9ba3e6ad26a5262","vout":1}]'
  '{"mxgxQ52kYRVPfLeYpXugkCAGhjLfUaZk3g":0.05,"mvDLEEymmEijZXyrrNRL3aPMhH8q2m8vE1":1.14974817
  }'

But this "assumes" a 0.0002XBT fee.

I can then sign the transaction like so:

  signrawtransaction
  '010000000162526ad26a3ebad9b305522f760c2ecd065840fa287913a988f88ef9aa60bed30100000000ffffffff02404b4c00000000001976a914bc5e62709adc296640dfed6871f0ebff5a7d11c588ac6160da06000000001976a914a134b5919d09350f6232260ed1313f73ac6b7bae88ac00000000'
  '[{"txid" :
  "d3be60aaf98ef888a9137928fa405806cd2e0c762f5205b3d9ba3e6ad26a5262","vout"
  : 1,"scriptPubKey" :
  "76a914a134b5919d09350f6232260ed1313f73ac6b7bae88ac"}]' '["private key
  here"]'

Which gives me this:

  010000000162526ad26a3ebad9b305522f760c2ecd065840fa287913a988f88ef9aa60bed3010000006b483045022100f447788e6b40a1f8bd22b084c8507a7710bd5c8cb33b08082c308a7a0edc86d402204024287053715bc096e56744e45683bb63b32ebe56a2f2070fd318216512641d012103ca4eab4b394090c9f4c10b6a9c2674dfc14c7dee55b6d3eb72c4263fc325c37effffffff02404b4c00000000001976a914bc5e62709adc296640dfed6871f0ebff5a7d11c588ac6160da06000000001976a914a134b5919d09350f6232260ed1313f73ac6b7bae88ac00000000

Which is 452 bytes.

Apparently I am supposted count the number of inputs and outputs too?  I understand that the fee can get more complex based on the age of the transaction and if I send a very small amount.  But just for example purposes, How would I work out the transaction fee using the 2 public keys above if I wanted to send 0.05XBT? so I can subtract the fee from the change when using the createrawtransaction command in bitcoin-qt?


texts: What is the bandwidth of the standard bitcoin client as at August 2013?

texts:
A question about bandwidth was asked and answered in Nov 2011... we are now Aug 2013 and the usage of bitcoin has grown enormously since then.

So just as an update to that question I ask it again with the benefit of being here and now. I hope this is allowed.


texts: How to Connect bitcoind to one of your workers in a pool?

texts:
I'm trying to start using an old tower to mine bitcoin and am slowly trying to make sense of the setup…

Wallet

I signed up for a bitcoin wallet (coinbase) where I am given an id.
Pool

I joined a pool (Slush's Pool) where I verified my email and added my private? id from my wallet.  They registered a first worker for me:

login: myusername.worker1
password: something given

Miner

(my hardware doing maths), Xeon processor

installed ubuntu server 12.04 64-bit
installed bitcoind, sudo apt-get install bitcoind
configured bitcoind, vim ~/.bitcoin/bitcoin.conf

server=1
daemon=1
rpcuser=INVENT_A_UNIQUE_USERNAME
rpcpassword=INVENT_A_UNIQUE_PASSWORD

What I don't understand is how my pool id is ever connected to what's running on my machine?  I also have no idea what to put for my rpcuser and rpcpassword to ensure it is unique.

I've been reading you can't have a period (.) in your rpcuser name?

Not sure what is the minimum needed in this configuration file:

https://en.bitcoin.it/wiki/Running_bitcoind
http://techcrunch.com/2013/04/08/how-to-mine-bitcoins/


texts:
with the whole debate and concern over a looming Bitcoin hard fork I would like to ask at what point has the hard fork occurred? Is there a specific moment when developers decide to implement BTC/BTU code that miners and nodes then decide to use or is it more gradual where miners and nodes slowly start leaning more towards one or the other?

If it is the case of pushing a the button and uploading/implementing new code will there be a publicized date?


texts: Looking For Bitcoin Communities in New York

texts: I'm Interested In Knowing Is there Any Bitcoin Communities that meet Up to Purchase Products Exclusively with Bitcoin In The New York Area?


texts: How to anonymously and privately purchase Bitcoin through Tor?

texts:
How can Bitcoin be anonymously purchased through Tor in a secure and private fashion?

My question is related to:

How can I setup Bitcoin to be anonymous with Tor?
Personal information and bitcoin purchasing

but more focused on anonymous and private purchasing transactions.


texts:
Is this a bitcoin scam? He is not asking for my username and is having me change my password before sending him the link to my mining wallet.

A bitcoin miner on LinkedIn wants to mine for me.

He asked me to set up a blockchain account and follow these instructions.

Click on REQUEST, you will see your mining wallet address there, Copy it and paste here or screenshot it and send here.
Change the Default password.
Click on Security Centre, then Click on Advance, you will see Change Password. then use any password of your choice. You are to change only the first change password you will see.
Follow the above steps and complete them and notify me when done so we can determine your mining hash power rate so that mining can start immediately.

Login using the Default password below.
Password: @miningserver2

Next, in that the same email you received from blockchain, open the message, under it you will see your Wallet I'd there (its a long combination of number and alphabet). Click on the wallet ID link, it will redirect you to blockchain login page.

Check your email, you will see a message from Blockchain , open the message and verify the message you got from blockchain by clicking on the verification link

Your details has been successfully registered


texts: Can't make successful call via remote JSON RPC

texts:
I can verify that my node is up and that the port is up via the above method, however no amount of effort has allowed me to successfully make a remote RPC call.

I am booting my node via $ bitcoind -daemon

I can make RPC calls via the same server without an issue using $ bitcoin-cli getinfo

My bitcoin.conf file looks like:

rpcuser=rpcuser
rpcpassword=anthony
rpcallowip=::/0

I have also tried:

rpcuser=notmyrealuser
rpcpassword=notmyrealpass
rpcallowip=0.0.0.0/

Without luck, both of which were suggested here: https://github.com/bitcoin/bitcoin/issues/4894 by the lead Bitcoin engineer.

I am trying to authenticate using curl, the two scripts I am using are:

curl --user notmyrealuser --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }'  -H 'content-type: text/plain;' http://124.223.81.11:8333/

and also:
curl --data-binary
'{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://notmyrealuser:notmyrealpass@104.223.81.11:8333/

Nothing is working so I figured I would ask here after several hours of not making progress, everytime I receive:

curl: (52) Empty reply from server


texts: Why can't we switch private and public keys?

texts: If private and public keys are performing the same task (although asymmetrically), but I mean each one can encrypt something that only the other one can decrypt, can I create a paper wallet and share my "private key" and just keep my "public key" private?


texts: Keeping a portable long-term offline wallet

texts:
I'd like to keep some bitcoins as a long-term investment - store them to a pen drive which I stash in some safe place, or otherwise backup it securely, then remove all traces from my online computer never to worry about this particular wallet getting stolen except by an old-fashioned burglar.

Now my worry is that if I export my wallet with the coins from client program X, which will pack the wallet, the keys, some configuration and other stuff into its own proprietary backup format, then the author ends the project in a year, in five years the OS changes and no longer supports this kind of binaries and their API, and when I finally decide to cash my investment I find myself with a data file no bitcoin client on the market can process.

What is the most portable to survive for years (probably most "raw") bitcoin wallet format? Which software can export/import it currently?


texts:
I believe a tx is made of an output of previous tx.
So, I also believe that all tx are traced back to tx originally created (as a mining reward).
But, in blockchain.info and blockexplorer.com, I could not find relays of tx.
We can know only connection of addresses in tx page.

Then, I have three questions about relays of tx.
1. Is a id(hash) of tx included in next tx id?
2. Is there a way to get information of previous tx in these websites ?
3. Why do these websites hide connection of tx?

Thank you for helping me!


texts: What's the easiest way to gather/collect statistics on the bitcoin network?

texts: Basically, how does a site like bitcoincharts.com gather its statistics? I like coding in python if you want to offer code examples.


texts: What restrictions does merged mining place on the sidechain?

texts: What restrictions are imposed by merged mining on the structure or functionality of a side chain (besides it having to use the same PoW schema)?  For example, could the side chain have a higher block rate than the parent chain?


texts: How do I decipher the output script one op code at a time

texts:
I have an output script:  OP_DUP OP_HASH160 629dba50de30602afbf52b89bd0de056b0ad0e92 OP_EQUALVERIFY OP_CHECKSIG

and an input script for a next transaction:  script_asm" : "30450221008d928cf86eec73535e401e22db895f23d2a04ecb355fa3acfaa6c88de278606602200b34186f5bb90023c06f68bc401276ae7db55433eb0e5b5846a0edb3938876e601 026c6090ef2c100a1beea5c0584de29925d070ebc614fd00f52832250c5b66873c

My understanding is that the output script is a set of conditions that have to to be presented to claim ownership of the coins.

Unfortunately, the page here: https://en.bitcoin.it/wiki/Script
is not very clear as to how the output script is executed step by step.

What I mean is what happens at each stage of these OP codes:
OP_DUP
OP_HASH160
629dba50de30602afbf52b89bd0de056b0ad0e92
OP_EQUALVERIFY
OP_CHECKSIG


texts: As is well known many Bitcoin businesses and in particular exchanges have had a lot of trouble working with banks. Are there any banks that are explicitly Bitcoin-friendly?


texts:
As we know one of the important mechanisms of Bitcoin is proof-of-work.

How does the concept of proof-of-stake work? How does it differ from proof-of-work?


texts: How do I get Raw Transaction Txid, Scriptpubkey Using Bitcoin Core Console

texts: I just finished downloading bitcoin core on windows 7 and I am trying to create a raw transaction. When I typed listunspent 0 or listunspent 1 on console, I got no message (empty message) in the console. How do I get raw transaction txid, scriptpubkey using bitcoin core console ?


texts: Buying and selling Bitcoin on a hardware wallet and not sending to an exchange

texts:
How can I buy and sell my Bitcoin from a Trezor or Ledger hardware wallet, without sending Bitcoin to an exchange?
For example, are there any hardware wallets that allow you to keep your Bitcoins on a hardware wallet and buy and sell. This would mitigate the risk of an exchange getting hacked.


texts: How to reset node information in Bitcoin Core?

texts:
I think I've just put the wrong node IPs through console and I forgot all the IPs.

I would like to reset all the node information to the initial.

Should I just delete peers.dat?


texts: Using importmulti to import a single address to keypool does not work

texts:
I create a wallet with private keys disabled.

Then use importmulti like so:

command curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importmulti", "params":[[{ "scriptPubKey": { "address": "bcrt1qeappehxje9d46zjeyvh3cqslzzda9p92nx2xg495e8memcjvppvqhk6hcn" }, "label": "Imported Address", "timestamp": "now", "watchonly": true, "keypool": true, "internal": false }], ''{"rescan": false}''] }' -H 'content-type: text/plain;' http://user:password@127.0.0.1:18443/wallet/Test
result = Optional({
    error = "<null>";
    id = curltest;
    result =     (
                {
            success = 1;
        }
    );
})

But when I run getnewaddress it says keypool empty:

curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnewaddress", "params":["", "bech32"] }' -H 'content-type: text/plain;' http://user:password@127.0.0.1:18443/wallet/Test
result = Optional({
    error =     {
        code = "-4";
        message = "Error: This wallet has no available keys";
    };
    id = curltest;
    result = "<null>";
})

This also happens when I use importmulti descriptor approach to import a multisig.

I am trying to create a watch-only wallet for my multisig, where the only key that is in the keypool is the multisig address, just to make building transactions with the wallet seamless.


texts: Can I interrupt the initial blockchain download without losing progress?

texts:
I just installed Bitcoin Core through brew on my mac.
The blockchain is now downloading but it's slowing down, so I would like to restart it.
Can I abort the process and restart it and will it pick up from the last block?
Or will it start from scratch again?


texts: What is the probability of generating 6 sequential blocks, less than an hour?

texts:
I'd like to determine the probability of a fairly powerful miner (or pool) generating 6 sequential blocks in an hour. (so they would rebroadcast it later)

For example, given

Hash/second: X
A target of: Y
A probability of getting 6 blocks in less than an hour: Z

What is the probability that sequential 6 blocks will be created in

1 hour
1 Day
1 Week
3 months

I'd like to find the formula to determine this so I can graph the exponential difficulty of how much power an attacker will need to thwart the network.

There is discussion that Litecoin is more resistant to this type of attack, but so far it seems unfounded.  I'm looking for thought that would indicate otherwise.


texts:
I'm having hard time using Gitian... Yes there are instructions there but its not full. It's only setup.. but it really difficult to learn and use. I have been reading about other ways of using Gitian... Im trying to compile QT for Windows and Linux and also a MAc...

So my question is do I need to have Debian installed to use Gitian? I'm using Linux Mint (Ubuntu 16.04) and I did manage to install but Im running into errors and I dont understand what is it that im doing wrong?

Do you have any really good guiding instruction for this? I've tried searching and just time consuming. Any other better way of using Gitian?

Thanks.

Ok so this is the error... I have the folder inside the gitian and even in the input folder. (the coin source file)

I tried different ways of doing.. I will post more.


texts: How does the standard client prioritize transactions?

texts: I've heard that the standard client prioritizes which transaction to relay based on the Bitcoin Days Destroyed and the fee paid on the transaction, but what is the exact formula used to determine which transaction has higher priority? That is, how does the standard client prioritize which transaction to send to other nodes first?


texts: Cannot call rpc api from other machine in same local network

texts:
cannot call rpc api from other machine in same local network

There is a regtest node in my local network , I can call rpc api only from the node's machine,not my local machine.

I know rpcallowip is changed in recent release https://bitcoin.org/en/release/v0.18.0#configuration-option-changes

http clinet httpie

my local machine's ip: 192.168.1.155

btc node's ip: 192.168.1.132

the port 8332 is opened sudo ufw allow 8332.

bitcoind version

$ bitcoind -version
# Bitcoin Core Daemon version v0.18.0.0-g2472733a24a9364e4c6233ccd04166a26a68cc65

command start bitcoind

I start regtest , and my ip is 192.168.1.155

bitcoind -regtest -deprecatedrpc=generate -printtoconsole -rpcuser=user -rpcpassword=password -rpcallowip=0.0.0.0/24 -rpcbind=127.0.0.1  -server -rpcport=8332

client request

# request from btc node's machine
http POST http://user:password@127.0.0.1:8332 jsonrpc="2.0" method="getblockchaininfo" id=1
# successed

# request from my local machine 192.168.1.155
http POST http://user:password@192.168.1.132:8332 jsonrpc="2.0" method="getblockchaininfo" id=1
# http: error: ConnectionError: HTTPConnectionPool(host='192.168.1.132', port=8332): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fd6e288f438>: Failed to establish a new connection: [Errno 111] Connection refused',)) while doing POST request to URL: http://user:password@192.168.1.132:8332/


texts: are checksums included in mnemonic seed phrases?

texts:
say i have 24 words. Out of those 24 words, is the 24th one the checksum.

say i have:

a1 b2 c3 d4 e5 f6 g7 h8 i9 j10 k11 l12 m13 n14 o15 p16 q17 r18 s19 t20 u21 v22 w23 x24

is x24 the checksum? or is there a 25th word which is checksum?

I'd also want to know about how checksums work.


texts: Why not decrease the difficulty to increase capacity?

texts:
There is a persistent debate in Bitcoin about increasing the capacity.

The popular idea seems to be to increase the blocksize from its current 1MB to push through more transactions per block. But this also risks forking the chain.

I think a much simpler idea would be to reduce the target time from 10 minutes to 5 minutes.  This would make hashes less difficult (fewer leading zeros), and basically target 2 blocks per 10 minutes instead of just 1.

I'm confident there is some downside to this idea, or it would have caught on already.  But I'm just not seeing it.

What is wrong with decreasing the target difficulty to increase Bitcoin's capacity?


texts: What happens to bitcoins that are in a ponzi scheme wallet?

texts:
I bought bitcoins that are stored in Cloud Token wallet. I found out later on that this crypto currency was part of a Ponzi scheme (shame on me). Currently I've had difficulty withdrawing my coins, and no doubt their support has vanished.

I would like to know, is there any way for those coins to be retrieved, or will they just disappear? And is this also the case for all phony crypto currencies?


texts: Get transaction after certain (tx, block, time or other) using insight-api Bitcoin CASH

texts:
Now i can get all transactions by address (Bitcoin Cash) using this request to api:

https://test-bch-insight.bitpay.com/api/txs/?address=qptaxxrqcz7qunclcvlcza9an6qlqqhzlya2d4e4fn

But i want to get transactions only after certain moment(tx,block,time..). Can you help me with this?


texts: Can I send  bitcoins to my main bank account ,and the output is like normal cash in the bank. Rather than selling it online .


texts: Can anyone comment on the trustworthiness of blockchain.info's mixing service (shared send). Also would it be possible for things to go wrong internally resulting in my loss?


texts: Anonymous transactions with bitcoin core

texts:
Is there any chance that people will identify me when I have nordvpn running in the background when making transactions with bitcoin core? Already done this

What are you recommendations to stay anonymous with bitcoin core and where to get information to achieve this?

Do I need to setup bitcoin core with tor?(seems advanced)
Read somewhere that bitcoin core automatically uses tor if it is installed. But hard to confirm.


texts: Split BCH out of BTC and then BSV out of BCH?

texts:
I have an old Bitcoin wallet from before the BCH split.
I think I can still split the BCH out of it, but then would I be able to split the BSV out of these BCH?
If that's possible, is there a special procedure?
I'm thinking :

Send full BTC wallet to some other address (to secure them)
Import the private key of the original BTC wallet in Electrum Cash to get the BCH
Send the BCH to another address (to secure the BCH)
Split the BCH into BSV from the original BCH wallet

Would that work?


texts:
I am a beginner in mining algorithms and I have a general question regarding the mining using Java language.

Does it make sense to use Java to develop for example ETHASH algorithm (or any other) and is it going to be as such effective as C ?

I already found that it is possible to do mining with Java and OpenCL, for example here : is there a Java or C# library for mining bitcoins?

But still, I am confused, is it going to be slower? Or Java just need to transfer data/code to GPU and then it works the same as native C code? Or am I missing something? How is it working under the hook?

Thanks in advance for any response or reference.


texts:
How to get a list of unspent transactions outputs (UTXO) from local files?

Where is stored this data? In what files this data is fully present?

I understand that this list is in "chainstate". But may be there is a more secure way to get it?

I try to extract it from the local files which Bitcoin Client dumps on disk.

I think there would be a "Crypto-proof UTXO set".


texts: What should I do to increase bitcoind sync speed?

texts:
My VPS has 2gb RAM and CPU core is 1 and 1 TB HDD storage. The sync speed is very slow. Currently it has about 700 MB free RAM. bitcoind is taking about 66% of the 2GB ram.
Should I add 1GB more RAM or is there any way to get similar improvement using any configuration?


texts: Currently one needs to traverse the full blockchain to determine the balance of a certain address. Wouldn't it be much more efficient to include the new balance along with each transaction? That way clients wouldn't need the whole blockchain to verify a transaction, since miners already verified the balance.


texts:
I wonder whether
OP_DEPTH 0 OP_EQUAL

has the exact same behavior as
OP_DEPTH OP_NOT

which is
1 if no items
0 if any number of items

I'm asking because the first script is used and I'm not sure if there is any justification for that. It's very likely that they took the simple approach but I need to make sure about that since I want to squeeze the largest number of bytes out of script.


texts: Change difficulty using bitcoin-cli/bitcoind in regtest mode

texts:
Is there an RPC command which would allow me to generate blocks under a given difficulty? For instance, I would like to do something like this:
bitcoind -daemon -regtest
bitcoin-cli -regtest setdifficulty 100
bitcoin-cli -regtest generatetoaddress 101 bcrt1qlckxrvk56kezy35xuw3tk5w5gkvnmjl0cahw3u
bitcoin-cli -regtest setdifficulty 1
bitcoin-cli -regtest generatetoaddress 101 bcrt1qlckxrvk56kezy35xuw3tk5w5gkvnmjl0cahw3u

I am aware that it would result in an invalid blockchain, since it would not match the expected target recalculation of the Bitcoin protocol. This "detail" aside, is there any way to use bitcoind/bitcoin-cli to perform something like this?


texts: Can my 10,000 satoshi channel with a large LN node receive multiple LN payments that are larger than the amount in the channel?

texts:
Can my LN channel for some amount "X" receive a LN payement larger than "X"..or receive multiple small payments that exceed "X"?

For example, say I have an online tea store and have one 100,000 satoshi channel opened with one of the big LN nodes out there (e.g., acinq, one of LNbig's nodes)...my thinking being, well I want to keep expenses down in opening up channels, and the big node I'm connected to will connect with a lot of people that want to buy from my online tea store.

However, say my store has one item that is 10,000 satoshi and one item that is 1,000,000 satoshi.

What happens if:

(1) I receive fifteen 10,000 satoshi order/payments routed via the 100k big LN node channel...or

(2) I receive one 1,000,000 payment routed to me via the 100k big node channel (a purchase of my one "expensive" 1,000,000 item).

I believe to run my store I would need to create multiple giant channels to accommodate any potential payments received...right? So in both cases above, the channel must have enough to receive the payments and cannot receive a payment larger than what is in the channel.


texts: How does Bitcoin get over the capital controls problem?

texts: So, people now talk about Bitcoin as a store of value instead of as a currency. I'm confused as to how central banks will respond to this? Right now, bitcoin is not widespread. Assuming bitcoin becomes more used by financial institutes and ordinary people and starts to be comparable to Gold as a store of value (in terms of number of users), wouldn't central banks lose capital controls? That would be against the interests of every government on earth and wouldn't that create a huge incentive for governments to ban bitcoin? Thanks.


texts: Difference between RPC calls addmultisigaddress and importaddress

texts:
I am trying to import a 2-of-3 multisignature address into my bitcoind wallet, watch-only. I have the public keys, but not the private keys. Two potential bitcoind JSON-RPC calls that seem to fit are:

bitcoin-cli addmultisigaddress 2 ["pubkey1", "pubkey2", "pubkey3"] "my_account"

and

bitcoin-cli importaddress "multisig-ed_address" "my_account"

Assume "multisig-ed_address" == multisig("pubkey1", "pubkey2", "pubkey3")

Are these equivalent? Would they both work?

The only difference I can find is that importaddress has an option to rescan the blockchain for transactions that might have involved the imported address. Does addmultisigaddress rescan or not?


texts: Spending output of a low-fee transaction by following with higher-fee transaction

texts:
Suppose I broadcast a transaction A with very low (or zero) fee. Normally, it would take a long time to confirm. Suppose, then I broadcast another transaction B that spends a (yet unconfirmed) output of the first transaction A and includes normal or higher-than-normal fee. I assume that the transaction B can be mined only in the same or later block than the transaction A. Would the higher fee of the transaction B be motivating for miners to mine the transation A as well?

Or, put it in different words, can I facilitate a confirmation of a low-fee transaction by spending its output using a high-fee transaction? If yes, what Bitcoin client would allow me to do that?


texts: Where can I find documentation about interacting with bitcoind's json-rpc?

texts:
I have created a coin by forking Bitcoin. Now I want to create web wallet for this, but do not know how to create json-rpc apis to communicate with the daemon server.
Is there any proper documentation for this?


texts:
I've been talking with my friend about this, and apparently, it seems that Bitcoins have some sort of value that is given to them.

On some websites like bitstamp, there are graphs and charts that indicate what the value is of a bitcoin in USD.

My question is, what/who determines a bitcoin's value, and what factors are involved when determining the pricing?  Some things I've heard are that Bitcoins are completely seperate from other currencies and do not rely on them for value, but there must be some way it's priced.


texts: Considering the amount of users of vanitygen, and the fact that each user is generating millions/billions of  bitcoin addresses, won't we run out of bitcoin addresses soon? What would happen if we did run out?


texts: ScriptCode field in P2SH-P2WPKH BIP-143 Test Vector

texts:
I'm trying to understand the meaning of scriptCode in the context of spending a P2SH(P2WPKH) UTXO.

I've already read the following answer to a similar question, but it does not fully address my misunderstanding.

After reading BIP141 for P2WPKH nested in BIP16 P2SH, we're told that the structure is:

witness:      <signature> <pubkey>
scriptSig:    <0 <20-byte-key-hash>>
                  (0x160014{20-byte-key-hash})
scriptPubKey: HASH160 <20-byte-script-hash> EQUAL
                  (0xA914{20-byte-script-hash}87)

I noticed that the scriptCode gets committed to the hash to be signed for each input. Can someone explain why 1976a91479091972186c449eb1ded22b78e40d009bdf008988ac (dup hash160 [79091972186c449eb1ded22b78e40d009bdf0089] equalverify checksig) is used as the script code (from my understanding the scriptPubKey or locking script) for a p2sh(p2wpkh) UTXO? That script corresponds to a p2pkh scriptPubKey (surely this is out of context here)?

I understand the sequence of execution as:

witness <signature> <pubkey> and scriptSig <0 <20-byte-key-hash-compressed-pub-key>> are pushed onto the stack.
Then the scriptPubKey: HASH160 <20-byte-script-hash> EQUAL is executed with redeemScript (<0 <20-byte-key-hash-compressed-pub-key>>) as the arg, eventually resulting in the execution of   CHECKSIG.

Why include a scriptCode that corresponds to a script that is seemingly out of context and not used?

Why is the following true?

For P2WPKH witness program, the scriptCode is 0x1976a914{20-byte-pubkey-hash}88ac.

It is referenced as prevOutScript in this Javascript library: https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/src/transaction.js#L396


texts: How to Send BTC from my address to another using private key

texts:
I am working on project of ICO where i am generating dynamic address for Bitcoin receive purpose, I have private key for my account how i can send it to other address which API will be helpful to me.

I am not using any bitcoin wallet, I don't think wallet is required for this.

  I am not sure about this, can anyone guide me on this. I am a new to
  bitcoin.


texts: How to make Abe query MySQL instead of reading from the bitcoin block.dat for each request?

texts:
After getting abe set up and running, I tried querying it, eg: ...:2750/chain/Bitcoin .. but looking at the abe output, I notice every page load - abe was opening the blk00000.dat  file rather than using MySQL [which I have configured abe to use].

My abe.conf looks like this;

dbtype MySQLdb
connect-args {"user":"test","db":"abe","passwd":"test"}
upgrade
port 2750
host localhost

I have checked the 'abe' MySQL database and the data is in there, I am just unable to figure out why abe isn't querying that and instead opening the blk00000.dat file. . . which is making every request I make to abe unbearably slow.

So my question is:
How to make Abe query MySQL instead of reading from the bitcoin block.dat for each request ?


texts: Could bitcoin/blockchain be used to create a secure non-3rd party escrow?

texts:
I'm wondering if there could be a block chain approach to selling goods and putting money in an escrow-like state until the goods are received.

I'm envisioning the following scenario.

1) Buyer puts money into escrow with seller and adds it to the block chain. In this state the buyer can no longer spend the money, but neither can the Seller.

2) Once seller sees the money in escrow on the blockchain associated with their account, they release the goods to the buyer.

3) Once the buyer receives goods they approve the escrow.

4) The seller takes ownership of the funds.

I think this helps to protect buyers who get ripped off by sellers promising goods, accepting funds then never handing over the goods.

Obviously in this situation a buyer could decide not to approve the escrow, but they would have no reason to do that because the money is not spendable by them anyway.

So my question is, is there something like this or could something like this be created?


texts:
I'm interested in selling Bitcoins online, probably through LocalBitcoins, but worried about getting scammed. Does anyone have  techniques to share regarding what worked well for them to sell BTC online?

I've looked at the OKPay, PerfectMoney, and MoneyPak payment methods. They seem like a hassle to setup. Do they work well?


texts: Send raw transaction (have tx_hex) on litecoin testnet using api or module

texts:
I have raw data (tx_hex) for raw transaction, but I cant send it to litecoin tesnet using post request to testnet.litecore.api. If I insert tx_hex manually in the browser, the transaction is correctly sent. My code:

request({
    url: 'https://testnet.litecore.io/tx/send',
    method: 'POST',
    data: test_tx
}, ((error, response, body) => {
    if(error) {
        console.log(error);
    } else {
        console.log(body);
    }
}));

I also tried to use another service, but it's failing too.

Code :

postdata = { tx_hex : test_tx };
request.post('https://chain.so/api/v2/send_tx/LTCTEST', postdata, function
             optionalCallback(err, httpResponse, body) {
        if (err) {
            return console.error('upload failed:', err);
        }
        console.log('Upload successful!  Server responded with:', body);
});


texts: How does mining pool ensure the miner works on the problem?

texts:
I understand that the header given to some miner contains hash of Coinbase that goes to servers address. Thus the miner cannot take the reward.

Also in the simplest setup the server gives miner a range of nonces to check and the range that miner checks is proportional to his hashing power and proportional to the reward.

How does server ensure miner checked that range?


texts: I run Bitcoin Core 0.14.1, for Segwit they tell me to "upgrade" to 0.13.1. So confusing

texts:
Short version of my question: I run Bitcoin Core 0.14.1. Will I be fully compatible with the segwit soft fork after Aug 1 2017 with this version? IOW, I can simply do nothing and be segwit compatible?

The long version of this same question:
I'm running Bitcoin Core] version 0.14.1. I upgraded to that several months ago. I have the full blockchain downloaded. I've been running core since 2014 with periodic upgrades.

I now see all the news about a hard fork and Segwit but finding clear information about how it affects me as a Core Node host and having Bitcoin Core wallets has been difficult and confusing.

The Bitcoin Core website tells me I can choose to "not upgrade" for segwit or I can "upgrade" to 0.13.1. They never say anything like "if you have any version above 0.13.1 you already have Segwit so you're good to go." I want to emphasize that I have not found anyone saying that having any version of Bitcoin Core above 0.13.1 means I'm good to go with the new soft fork.

Sorry, I don't feel comfortable making assumptions. Sure, I know it seems obvious that later versions should include what's in earlier versions, but there has been so much talk about this soft fork and so very little information about what people like me need to do who have a Bitcoin Core wallet and am running core so that I can use that wallet.

This Bitcoin Core page (Segregated Witness Upgrade Guide) says:

"The easiest way to prevent this problem is to upgrade to Bitcoin Core 0.13.1 or another full node release that is compatible with the segwit soft fork. If you still don’t wish to upgrade, it is possible to use a newer Bitcoin Core release as a filter for older Bitcoin Core releases."

"Full nodes run by a reasonable number of users and business to validate the payments they receive need to be upgraded to Bitcoin Core 0.13.1 or another segwit-compatible implementation in order to incentivize miners to follow segwit’s rules after segwit activates."

This is very vague. How do I know what release is compatible with the segwit fork? "Another segwit-compatible implementation", what does that mean? Sorry, it's not clear to me that this means that 0.14.1 is "another segwit-compatible implementation."

Nowhere on this page does it say to upgrade to 0.13.1 or later.

OK, it says "or later" in this paragraph with heading "Not Upgrading", but in a very confusing context:

"For this reason, after segwit reaches locked-in, it is recommended that you either upgrade your full node to Bitcoin Core 0.13.1 or later (or a compatible full node), or that you follow the “not upgrading” instructions in the Full Node section below to use Bitcoin Core 0.13.1 or later as a filter for your pre-segwit software."

I have no idea what this means, especially "a filter for your pre-segwit software."

So does having any version above 0.13.1 of Bitcoin Core (in particular 0.14.1) mean I have segwit and that I'll be on the new soft fork?

If I do have to "upgrade" to the earlier 0.13.1, how do I do that?


texts: How to check status of an order on BTC-e API?

texts:
It would appear there is no way of obtaining fill notifications for active orders.

If I am mistaken, please enlighten me!

When orders are submitted to a BTC-e account, either via API or their website, and they are NOT instantly filled, they get assigned an OrderID integer. I can query the authenticated API for account info, which will give me back a list of all Active Orders and associated OIDs, but aside from having my program maintain a list of what it "thinks" are Active, versus what actually is active on the account by sending a query every X seconds, I do not know of a simpler/faster way to determine what orders got filled or when.

I also would like some clarification on the status field of the order response from API. it would appear 0 is active and 1 is filled. What are the values for partial fill and cancelled?

There is also a way to see All orders on the website by going to Finances->Orders History and then the drop down for Show All, is there a corresponding API call for that?

I need to be able to monitor for partial and complete fills.


texts:
Background

I saw this on the internet

I didn't think signing / verifying was possible with P2SH addresses, so I guess this wallet must be using something like signmessagewithprivkey
     ¯\_(ツ)_/¯

Anyway, with signmessagewithprivkey "privkey" "message", privkey is required and doesn't provide a default.

Actual Question

How do I get (see) my private key?


texts: Are there advantages to having more than one private key per wallet?

texts:
Suppose I was to design a bitcoin client that supports the ability to have multiple wallets (i.e. multiple users).

Is it safe to assume that each wallet is identified by one private key?

Is there a disadvantage (from a privacy/anonymity aspect) to having only one private key per wallet?

Are there any advantages to having more than one private key per wallet? If so, what are they?

EDIT

I was under the impression that a private key can generate many many public keys, that's why I asked the question. Given that a private key will only generate one public key, the question becomes meaningless and it becomes obvious that each account should have lots of private keys (without limit).


texts: Is it possible to identify mining pools?

texts:
I am doing research on Selfish Mining in Bitcoin. Here is the article
http://hackingdistributed.com/2013/11/04/bitcoin-is-broken/
I wanted to know is there a way to identify minining pools? I wanted to know how can we know that when someone finds a proof of work is it done by an individual or a mining pool?

Thanks


texts: Does hashing of bitcoin addresses cause collisions?

texts:
There are 2^256 possible public keys.

We generate bitcoin addresses by hashing these public keys using SHA256 and then RIPEMD160.

Now, since 160 < 256 won't there necessarily be collisions - multiple public keys will have to map onto one bitcoin address?


texts: How can a miner verify that a UTXOs is not spent elsewhere?

texts: How does a miner verify that a UTXO is not spent somewhere else, wouldn't he have to search the entire blockchain from that UTXO and onwards to see if this was the case? Assuming any real scale this would effectively take ages, or am I misunderstanding something?


texts: How does a Bitcoin client efficiently change forks?

texts:
Occasionally, a Bitcoin client will come across a fork of blocks that is longer than the chain it is currently on. Depending on how often orphaned blocks occur, this could be quite often. When this happens, any internal data structures relating to the "current" state of the blockchain (for example, a hashtable of unspent outputs) need to be updated to reflect the state of the new, longer fork.

How is this accomplished? Is history played "backwards" to the most recent common ancestor and then "forwards" to the new top block? Is it all just reconstructed from scratch?


texts: I made a $60 transaction to my BTC wallet and I’ve only received half of it ands it’s been 4days

texts: Can someone pls help or explain to me what’s going on.


texts:
it's been 2 days my transaction has not been confirmed yet
https://www.blockchain.com/btc/tx/b58aa5a6884d444d783c0f6956d6495ac9dabe28d44d1833ac48ac942cfbc3b4
why it has so many inputs and outputs though ?
how can i cancel transaction or smth?


texts: Bitcoin qt client opening and immediately closing

texts:
I'm trying to run a bitcoin-qt client (to sync blockchain) on a raspberryPi (using Raspbian Stretch With Desktop). However, the bitcoin-qt client opens and just closes. BTW db.log is empty. Here is (tail) of my debug.log (in which atl i don't spot any errors).

2018-07-18 16:31:09 Bitcoin version v0.13.1.0-g03422e5
2018-07-18 16:31:09 InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1
2018-07-18 16:31:10 Default data directory /home/pi/.bitcoin
2018-07-18 16:31:10 Using data directory /mnt/usbstorage/.bitcoin
2018-07-18 16:31:10 Using config file /mnt/usbstorage/.bitcoin/bitcoin.conf
2018-07-18 16:31:10 Using at most 125 connections (1024 file descriptors available)
2018-07-18 16:31:10 Using 4 threads for script verification
2018-07-18 16:31:10 Using BerkeleyDB version Berkeley DB 5.3.28: (September  9, 2013)
2018-07-18 16:31:10 scheduler thread start
2018-07-18 16:31:10 Using wallet wallet.dat
2018-07-18 16:31:10 init message: Verifying wallet...
2018-07-18 16:31:10 CDBEnv::Open: LogDir=/mnt/usbstorage/.bitcoin/database ErrorFile=/mnt/usbstorage/.bitcoin/db.log
2018-07-18 16:31:10 Bound to [::]:8333
2018-07-18 16:31:10 Bound to 0.0.0.0:8333
2018-07-18 16:31:10 Cache configuration:
2018-07-18 16:31:10 * Using 2.0MiB for block index database
2018-07-18 16:31:10 * Using 8.0MiB for chain state database
2018-07-18 16:31:10 * Using 290.0MiB for in-memory UTXO set
2018-07-18 16:31:10 init message: Loading block index...
2018-07-18 16:31:10 Opening LevelDB in /mnt/usbstorage/.bitcoin/blocks/index
2018-07-18 16:31:10 Opened LevelDB successfully
2018-07-18 16:31:10 Using obfuscation key for /mnt/usbstorage/.bitcoin/blocks/index: 0000000000000000
2018-07-18 16:31:10 Opening LevelDB in /mnt/usbstorage/.bitcoin/chainstate
2018-07-18 16:31:10 Opened LevelDB successfully
2018-07-18 16:31:10 Using obfuscation key for /mnt/usbstorage/.bitcoin/chainstate: 68657831113e179

Any idea what might be going on. My next solution is to simply delete the .bitcoin directory and start afresh.

[EDIT]
I think its important to mention that it did startup once and it was synching. Then for some reason my pi shutdown so i coudln't close it in a graceful way i guess. That could be the issue. In anycase, wanted to know if there was a way to start synching from where i left off.


texts: How to setup Antminer D3 to solo mine to CANN wallet

texts:
I am trying to solo-mine CANN using my Antminer D3 directly to the full node wallet. I would really like to start adding decentralization to small coins just for the heck of it, but I am having some problems.

CANN wallet config:

  server=1 listen=1 rpcuser=u rpcpassword=x rpcport=39347
  rpcallowip=10.0.0.* rpcallowip=* rpcallowip=10.0.0.214
  rpcallowip=127.0.0.1

I have bfgminer set up as a getwork to stratum proxy via the following command:

  bfgminer -o 10.0.0.162:39347 -u u -p x --stratum-port=3333

However bfgminer is outputting this error:

  SSM: No usable 2D work upstream!

and my miner shows the pool as dead!

I know the miner is connecting to the bfgminer proxy because it displays this a few seconds after i set the ip in the miner interface:

  0            |   0.0/  0.0/  0.0 h/s | A:0 R:0+0(none) HW:0/none

Full bfgminer output:

  bfgminer version 5.4.2 - Started: [2017-12-16 11:37:48] - [  0 days
  00:04:52]  Pool 0: 10.0.0.162          Diff:256k  -GWork
   LU:[11:41:48]  User:u  Block: ...9a1b9582e90dac52  Diff:256k (
  1.83Th)  Started: [11:41:48]  I:?  ST:2  F:0  NB:3  AS:0  BW:[ 20/  7 B/s]  E:0.00  BS:0  0            |   0.0/  0.0/  0.0 h/s | A:0
  R:0+0(none) HW:0/none

  --------------------------------------------------------------------------------------------------------------------------------------- NO DEVICES FOUND: Press 'M' and '+' to add

cross posted: https://bitcointalk.org/index.php?topic=2598430.0


texts: Can sendtoaddress use account other than ""?

texts: sendtoaddress is using the "" account by default. Is it possible to make it use any other account name?


texts: I ran out of space while synchronizing, how do I get my private keys & find my balance?

texts:
OK, my most immediate concern is that I made three ~$500 bitcoin purchases this weekend and downloaded the Bitcoin-Qt client, but ran out of HDD space just before it finished synchronizing the BlockChain, and now I don't even know what my BTC balance is, if my value is lost, or what.

Now I don't know what to do.

I was at least bright enough to have made a screen print of the three bitcoin addresses from the client and also of my BitInstant orders (while they show the destination address and $ amounts paid/recieved, they don't list the amount of bitcoin I assume and hope that I received), but I can't find my private keys in the client, though it appears that I am able to Send Coins from the tab of that name.

I don't even know what my total amount of bitcoin is since Bitcoin-Qt hasn't finished synch-ing up, and I'm just sort of stuck without either bitcoin or fiat since my HDD is down to only ~200MB left with 1,746 blocks remaining.

What should I do?

I read that the Multibit and Electrum wallets seem to need less computer resources, so I was thinking/hoping that I could maybe transfer my bitcoin to one of those wallets, or maybe to the StrongCoin online wallet or other secure recommendation as an interim step, but I don't even know the precise quantity of bitcoin that I should have in my bitcoin addresses, or if I can even send them without knowing my private keys.


texts: Is it possible to add a transaction input to a transaction in the mempool?

texts:
Is it possible to add an input to a transaction that is in the mempool?

For example, if someone is paying 1 BTC to their friend, I can get the raw hex data of this transaction from the mempool before it is mined.

I can then sign an unspent transaction (Let's say 3 BTC) with my own private key, list it as an input, and get the raw hex data for this. Then, I can add a 3 BTC output to someone else's address (who I want to pay), and re-broadcast this new transaction to the network.

What is stopping this from happening?


texts: How do I generate coins on testnet? CPU, GPU, FPGA? Are there pools?

texts:
Is it possible to mine coins on testnet using CPU? GPU?  How about FPGAs?

Are there any pools running on testnet?

The reason I am looking for this is so I can master the new API's relating to AddMultiSigAddress


texts: I had to remove a copy of multibit wallet from my system & after multiple times of trying to get it to work on my 64 bit system I can now open multibit wallet. I guess when I removed the program that the wallet .dat files were removed as well but I do have the wallet addresses that were removed. Is it possible to retrieve the missing data? Can I just send my bitcoin to another wallet or do I have to have the .dat file in order to accomplish this? Hopefully I have not caused all my bitcoin to go away permanantly. Any advice on this subject will be totally appreciated big time.


texts: How to generate signed_transaction, base_transaction?


texts: how base point of bitcoin public key x , y formed

texts:
n = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364140

p = FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFE FFFFFC2F

base point of bitcoin public key x , y

Gx = 79BE667E F9DCBBAC 55A06295 CE870B07 029BFCDB 2DCE28D9 59F2815B 16F81798

Gy = 483ADA77 26A3C465 5DA4FBFC 0E1108A8 FD17B448 A6855419 9C47D08F FB10D4B8

private key of above public key is 1

how this base point x , y formed please explain in clear and brief with some example

Thank all