texts: Are there any clients that allow for multiple wallets and API acccess?

texts: I know that multibit has the capacity to have multiple wallets, but no API access. bitcoind has great API access, but only one wallet. Is there any solution that combines the two?


texts: How can a miner choose which transaction to include in the next block?

texts:
This question is not a duplicate of Can miners choose which transactions to mine?
Everybody seems to agree on the fact that miners can select which transactions they are mining. But I can't find a way to do it!
I created a personal bitcoin network (testnet protocol) where I'm the only miner. I send transactions to my several (fake) nodes and get them all in the mempool.
For demonstration purposes, I want some of the transactions (with high fees) to be includeed in the first block and the rest in the second one. I tried to use prioritisetransaction (with my miner node) to do this but all the transactions went to the same block:

bitcoin-cli prioritisetransaction txId1 5000 200
bitcoin-cli prioritisetransaction txId2 0 -200

I put arbitrary values, the goal is to mine Tx1 in the first block and Tx2 in the second or even after. How can I create such a behavior? Do I really need to put more than 1000 transactions to see my transactions going in different blocks?
I will welcome any help, thank you in advance.
EDIT: I'm adding a question to this post. On another lead to find a way to "choose" in wich block my transaction will be included I tried "estimatefee/priority" calls. In my private bitcoin network (height: 14.000 blocks) when I call:

bitcoin-cli estimatefee X

whatever X (number of block before inclusion), the answer is "-1" which means that the network cannot estimate what I'm asking (should only append for high digits). Do I need more blocks in my Blockchain? More transactions? Same experiment in the real testnet, estimatefee works but is really far from the reality and whatever the fee, all my transactions go to the first block.


texts: Why is it important to manage your own private keys and are there any exchanges that allow you to do that?

texts:
I was reading through the comments to this article at Seeking Alpha and a couple of them talk about the importance of choosing an exchange that allows you to manage the private keys for the cryptocurrency you have bought.

For example one comment says that

  GTFO of any exchange who claims they will "vault" your assets for you,
  and move your Bitcoin into a personal wallet.

What are the potential/hypothetical consequences if an exchange does not allow you to manage your own private keys?

Are there any exchanges that allow this option?


texts:
What does DOA stand for?

I've seen this in the context of P2Pool stales, specifically here.


texts: Why does this coinbase transaction have two op_return outputs?

texts:
I've been looking at coinbase transactions for fun and I came across one with two op_return outputs..

Does anyone know what the second one is?

Also, I understand the first op_return is used to embed the merkleroot of the witness tree for segwit transactions in the block.

However, I've also seen coinbase transactions with multiple op_returns such as this one.  Is there a specific purpose for that 2nd op_return or is the miner simply using it for their own purpose?


texts: What happen when 2 transactions with one doublespending the other reachs the same block?

texts:
Let’s have 2 transactions. The second one is duplicating Input of the first one.
Both have very high fees so they are selected by miner to be included in the same block but before passing validation (because it makes no sense to validate transactions if they aren’t included in the block after because the fee is too low).

Which is the transaction is going to be rejected by not being included in the block ? The first one with a slightly lower fee than the second or as it’s the same block, the second one ?

And where is the code in Bitcoin core handling this ? I mean which source files and lines ?


texts: How can I validate that an XRP address is valid?

texts: An address like rhe8v7GW1jj4qTXsLF9fwFrum9oQD5VXG7 - how do I know if it's valid in the XRP network?


texts:
I recently became interested in cryptocurrency and its mining process but there are a few things I don't understand very well and I am still trying to learn the basics more before getting into trading and mining. I am totally new to this and still looking around to just understand it first.

i read that currency is mined by solving cryptographic equations. what are these equations basically and what are they used for and apart from you getting a reward for solving them i.e. cryptocurrency
apart from you who or what else benefits from the solution of such equations like what is the impact of it
what made these equations i.e. their origin
is the 21million limit on bitcoin fixed or can it be changed. on a website I read that this limit has been determined from extrapolating its existing functions and parameters.

Apart from this any helpful information or websites to learn from would be greatly appreciated because I realize that this is very complex and it will take me a while to familiarize myself with it. Thank you


texts: Creating lage blocks with multiple transactions in regtest mode?

texts:
I want to create blocks with multiple transactions in regtest mode.

I want to test propagation with blocks of size 1-2 MB on the dash network.

./dash-cli -regtest -daemon -debug -port=8330 -rpcport=8331 generate 101

creates all blocks of size 181 and with 1 transaction.

What command-line argument should I use to change that.

I have tried
./dash-cli -regtest -daemon -debug -port=8330 -rpcport=8331 getnewaddress
and then

./dash-cli -regtest -daemon -debug -port=8330 -rpcport=8331 sendtoaddress addr .001

to transfer amounts, so that new transactions are created. Even then the block size remains same.

Any help?

Should I be creating transactions in another way in order for it to be in mempool and in blocks.


texts:
I have lots of addresses organized under a label.
Is there a command to show the total remaining amount available under a label ? (Or address)
I am building a payment gateway and I need get the total remaining amount of an address thats why I cannot use listreceivedbylabel.
I am also not able to rely on some block explorers API.


texts: Litecoin mining efficiency with pci-e 8x/16x

texts: Is it essential to select a motherboard with native 2x pci-e 16x support or will 2x pci-e 8x do the same job?


texts: Syncing node to usb 3.0 drive taking ages

texts:
I'm trying to make a bitcoin app and would like to use a full node so I purchased a 128gb usb 3.0 drive to store it on. I use an early 2014 macbook air: 1.4 GHz Intel Core i5, 8 GB 1600 MHz DDR3. Is processing being throttled by the usb connection? Drive is formatted as mac os extended journaled.

Using bitcoin core, it is syncing very slowly. After almost 24 hours it says last received block was generated 2 years 3 weeks ago. The sync bar is about 1/8 of the way done. Any thoughts or recommendations would be helpful.


texts:
I'm reading about the miners and it always says that the miners are rewarded when a block is discovered.

What is that? What they discover are new bitcoin pieces, isn't it? When they find a new bitcoin they are rewarded with that value entirely or not?


texts: When a block is "discovered" how is the nonce determined?

texts: I know that a block is based on a random number called a nonce, but if that number is random  and unknown to the miner, how is that number actually verified as the correct nonce and not some arbitrary number?


texts: Coinbase tells me to send from electrum to my private key?

texts:
A few years ago I sent my BTC from Coinbase to Electrum on windows PC.  That apparently went fine because Electrum showed the correct balance.  Then I received 12 keywords and a hash (starting with 17) which I always thought was my bitcoin key.  I saved these on paper and deleted Electrum, thinking OK I have all I need on paper.
Now  want to transfer my BTC back to Coinbase.  I entered my 12-seeds in Electrum and the balance was right. I hit {Receive] in Coinbase and I get a window giving me the Coinbase(?) address to send my BTC to from Electrum.  But this address is the same as what I thought was my private key (starting with 17).  This is weird especially because 1) How would Coinbase still know this number and 2) Electrum says [Pay it] to (what I thought was) my private key.  What am I missing here.  I don't have many bitcoin but the price is too high for me to make a mistake and get an education.


texts: How to send little BTC coin in Bitcoin wallet

texts:
I use bitcoin wallet (find here)
I tried to send 32$ (All of them) to Binanace OR my Trust wallet or etc , but appear below error :


texts: How do you determine the total blocks solved among all clients in the source code of an Altcoin? Is there a file in the code that can be viewed to see how many blocks have been solved in the meta data? How can this be determined or where can one look in the source code?


texts: How can I use Bitcoin to send a remittance payment to someone non-technical?

texts:
The existing remittance methods such as Western Union are pretty straight forward for the recipient ... after being notified, show up at any agent location, show ID and/or give a secret code and collect the cash.

Assuming the remittance recipient is not technical and today needs only cash, not bitcoins, is there still a role for Bitcoin with this type of need?


texts: Explanation about how to build network upon bitcoin blockchain

texts:
Sometimes, I would see some news says:

xxx service is build upon bitcoin or base on bitcoin blockchain
xxx servie is making use of current bitcoin network
And today I see a DNS project says that it use bitcoin blockchain:

Its doc  says:

  For example, a Bitcoin node may look at a Blockstack transaction and only see that bitcoins are moving from one address to another and that an unintelligible sequence of data has been attached in a data field (e.g. a field identified by OP_RETURN). Meanwhile, a Blockstack node will look at that data and will know how to interpret it in a way that updates the name database.

How do them mean build upon/ making use of ???

Here, assume X network with 5 node build upon bitcoin blockchain, I think it need:

has some bitcoin in each node(for making transaction)
if X network want to achieve immutable, it need send some bitcoin to another with some data(bitcoin allow to write additional data in a transaction).

Is this how them use bitcoin blockchain? But this way cost transaction fee... Or there is a free way to do such things?


texts:
I'm trying to spend coins from this tx

  https://tchain.btc.com/ad7a1ed858eecdd146d9c932779aecae4b33f068d29cf794fad6de20f5a5d449

The scriptpubkey is simple:

1 OP_CHECKSEQUENCEVERIFY OP_DROP OP_SHA256 6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b OP_EQUAL

SHA256 (1) = 6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b

So, I just need to push 1 to the stack using OP_1

Here is my transaction:

bitcoin-cli -testnet decoderawtransaction 020000000149d4a5f520ded6fa94f79cd268f0334baeec9a7732c9d946d1cdee58d81e7aad0000000001510100000001904c96000000000017a914f45d94733d430261962932e0c847075195916a048700000000
{
  "txid": "51060bbaf1b29b2ec3b1bb4eef0d56f61121e4df167768f52e6f67f81321eaf5",
  "hash": "51060bbaf1b29b2ec3b1bb4eef0d56f61121e4df167768f52e6f67f81321eaf5",
  "version": 2,
  "size": 84,
  "vsize": 84,
  "weight": 336,
  "locktime": 0,
  "vin": [
    {
      "txid": "ad7a1ed858eecdd146d9c932779aecae4b33f068d29cf794fad6de20f5a5d449",
      "vout": 0,
      "scriptSig": {
        "asm": "1",
        "hex": "51"
      },
      "sequence": 1
    }
  ],
  "vout": [
    {
      "value": 0.09850000,
      "n": 0,
      "scriptPubKey": {
        "asm": "OP_HASH160 f45d94733d430261962932e0c847075195916a04 OP_EQUAL",
        "hex": "a914f45d94733d430261962932e0c847075195916a0487",
        "reqSigs": 1,
        "type": "scripthash",
        "addresses": [
          "2NFXJy8mvz7ZiT4VVN29xPGC38hTygd3AyJ"
        ]
      }
    }
  ]
}

When I use sendrawtransaction I got

mandatory-script-verify-flag-failed (Script evaluated without error but finished with a false/empty top stack element) (code 16)

Is my redeem script wrong? Or it's something wrong with the scriptpubkey ?


texts: What are some reliable ways to buy bitcoin with paypal or credit card

texts: I'm looking to buy bitcoins all i could find are some old ways on google and questions in this site, but couldn't know which one is the best, how do you guys buy bitcoins?


texts: In the bitcoin scripting language, how can I access other outputs of the transaction? Or how else can I limit how the coins may be spent?

texts:
Is there any way to add an opcode to a UTXO that prevents how the coins are spent?

For example, in order to to spend the output, a person must send X number of bitcoin to Y address within the accompanying transaction.


texts: BFL Single averages 800 Mhps on BitMinter Client. Advertised rate is 832. What explains the difference?

texts:
I'm using a BFL single with the BitMinter client and I never see my Mhps exceed 825 and it often goes down to 780 Mhps.

What could be an explanation for this difference?

Are the specs on BFL theoretical speed?
Is the closed source BitMinter client stealing cycles?
Is there a software or hardware inefficiency?

Finally, this chart from BitMinter says I'm running at 600 Mhps


texts: What happen if some blocks are added simultaneously with same previous hash

texts:
In all of the blockchain samples that I see
e.g.
adilmoujahid,
Savjee
 as I checked, they added previous Hash by creating a block.

Suppose that, L is the current last block in a chain. Block A and B are created at the same time. So they set their previous hash with the same hash e.g. Hash of L.

What happens by mining when both of them are mined successfully, but B was mined faster.

Therefore normally previous hash of B is correct, but previous hash of A should be changed to the hash of B.

What I want to reach, I think assigning previous hash by creating a block is not necessary, but by mining. Am I right?


texts: how to get block information using node js

texts:
I have used bitcoin-core package in node js to get the information about the block detail using rpc command.

For example:

var Client = require('bitcoin-core');

const client = new Client({ headers:'false', host:'127.0.0.1', network:'testnet', password:'xxxx',port:'18332', ssl: {
    enabled: false,
    strict: false
  }, timeout:'3000', username:'xxxx' });

client.getBlockchainInformation().then((help) => console.log(help));

It throws below mentioned error:

unhandled rejection rpcerror: not found

Any solution for this.

Thanks in advance.


texts: Tax implications of withdraw fee from one exchange (Binance) to another GDAX/Coinbase

texts:
I transferred 0.2 ETH and 0.3 ETH in separate transfers from GDAX to Binance (GDAX does not charge a fee for this).

Then, I transferred back from Binance to GDAX all 0.5 ETH, but since Binance charges a 0.01 ETH withdraw fee, I now only have 0.49 ETH in my GDAX account.

Then, I sell my 0.49 ETH on GDAX.

Assuming I would like to report taxes, how do I take into account the 0.01 ETH in transfer fee assuming the following:

0.2 ETH was purchased at $100

0.3 ETH was purchased at $120

0.49 ETH was sold at $400 (within a year)

In other words, what's the best way to report these two transactions on form 8949 (https://www.irs.gov/pub/irs-pdf/f8949.pdf)?


texts:
I want to ask a question that why isn't GUI miner working this is what is said

in the bottom right corner it says connecting... but nothing happens
I am very new and don't know about mining so much and this is the first time I am trying
help me I am on windows 8


texts: ECDSA transaction signing on a smartcard?

texts: I know that the underlying digitial signing method Bitcoin uses for transactions is ECDSA (sep256k1 if memory serves). I've also read a few papers about performing ECDSA signing on certain kinds of smart cards. Has anyone merged these concepts and made (or attempted to make) a smart card that can sign a transaction with an internally-held private key?


texts:
I have done the instructions listed here:
How to move Bitcoin data from Application Support on an external drive [Mac]

It works fine for a flash drive connected the mac, but I wanted to have the data read from my network storage device (ReadyNAS). Bitcoin-qt comes up with the following error when I link it to the NAS:

EXCEPTION: N5boost12interprocess22interprocess_exceptionE
Operation not supported
bitcoin in Runaway exception

Any ideas on what this could be?


texts: On a shared wallet, if one of the recipients deleted their wallets off their phone, is there a way to rejoin?

texts: We only had one 12 word backup for the main holder on their phone. The second person, on their phone didn’t get one(me). That I know of, I guess. But I deleted the wallet by accident. Now, is there a way to get back in there as I am the second co-signer and kind of need to have access to the wallet. The first person is trying to send me wallet invites, etc, but I really don’t get it. It’s not working nor do I have the knowledge of this app. I just know for sure he had set it up so both of us needed to agree to use it or spend it. Now, I don’t even have access to the wallet and we can’t figure out how to get that back. Are we out of luck?


texts:
I need some PHP code to generate bitcoin addresses from a given public key.

I can only find algorithms to generate addresses from the master private key but according to https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses
the private key is not required at all.


texts: What does validation cover conceptually in the Bitcoin Core codebase?

texts:
What does validation (.h and .cpp) cover conceptually in the Bitcoin Core codebase?
This question was asked by Larry Ruane at the May 12th 2021 Bitcoin Core PR review club on a Carl Dong PR to de-globalize ChainstateManager


texts: Why can't a user import keys to the keypool for a blank wallet?

texts:
I am creating a blank wallet with the intention of adding keys to the keypool but get an error keys can only be imported to the keypool when private keys are disabled

Why? It would be beneficial for users to be able to import their own private keys and get full functionality of the wallet with those keys. Is there any PR for this?


texts: How to set up multiple client under the same address?

texts:
I want to use my all my computer to run Bitcoins, but is it possible to have it the same address so it generate under one wallet?

Thanks!


texts: How to connect LND to bitcoind RPC with authentication cookie stored in a custom folder?

texts:
I configured bitcoind RPC to authenticate clients with an authentication cookie. However I cant figure out if it's possible to use this method with lnd while connecting to bitcoind RPC.

I would like to clarify that I'm running bitcoind and lnd in two separated docker containers that share a volume where bitcoind save the authentication cookie. The problem is that lnd doesn't allow to specify the folder in which it could find the cookie... In bitcoin.conf for exemple you can specify the path where you can find the authentication cookie of the tor control port for example...

Someone knows how to do this in lnd ? Is it possible ?

Thank you!


texts: Does input and output size vary by address type?

texts:
For instance, we have two outputs, output X sends to a P2SH address, and output Z sends to a P2PKH address.

Would output X have a different transaction size than output Z? What about the size of the inputs, is that affected by the address type?


texts: Is it sufficient to backup the private keys of my android Dogecoin Wallet?

texts:
I installed the langhans Dogecoin Wallet on my android device and backed up my private keys.
Is it sufficient to backup the wallet to avert loss in case of loss of or damage to the phone?


texts:
It's been since 2013 when i was mining bitcoin that i have used and synchronized this wallet. I've tried a few times several years ago but it literally takes days, if not weeks now to synchronize, AND, before it finishes it always conks out and gives some error and starts over. It's on my old MacBook air.
How do i get the remaining bitcoin out and put into a new wallet somewhere else where it's accessible?? If anyone can help me get access to this wallet i will send a $100 in bitcoin :)
Any help is appreciated.
Thanks
Derek


texts: How to import private key of a P2SH-P2PKH address to Bitcoincore 0.18.0?

texts:
I have a privkey of a P2SH-P2PKH address, how to import it to Bitcoin core 0.18.0? In previous versions, I could call importprivatekey and then addwitnessaddress but the addwitnessaddress was removed.

Edit: seems like Bitcoin core 0.18.0 auto calls addwitnessaddress when I use 'importprivatekey' but I found no official documentation of that.


texts: how to move bitcoin from watching only wallet to standard wallet in electrum 3.3.8?

texts: I accidentally swiped my bitcoin into a watching only wallet in electrum and I need help to move it from "cold storage" to an active standard electrum wallet... Help!


texts: Crypto currencies and internet dependence

texts: Ive a problem with the concept of crypto in one aspect. What about "cyber safety"? Given that there will be more online malicious activity in the future, isnt cryptos dependence on the internet a weakness?


texts: How to recover blockchain wallet on iPhone with address & PIN?

texts:
My iPhone crashed and I lost access to blockchain app. I have my savings in that wallet which I can't access anymore. Is there anyway I can recover my previous wallet?

I have the transaction history and the address I also have 4 digit PIN that I used at the time (nothing other then that). Please help I want to get out of this situation.


texts: How often should I call getblocktemplate?

texts:
I'm building a basic Bitcoin client in c# to better understand the mining protocol.
I need help understanding Getblocktemplate. I have read the Getblocktemplate wiki, but I'm still having an issue understanding the protocol. The wiki states "Since you're making all the blocks yourself, you really don't ever need to get another template... until it's invalid". When is the template considered invalid? How often do I need to call Getblocktemplate?
If a new block is mined every 10 minutes, with some coins that is every 1 minute, do I need to call Getblocktemplate every 10 minutes (1 minute depending on the coin) so that I have the latest "previousblockhash"?

The steps I'm using:

Make a rpc call to bicoind server for Getblocktemplate.
Parse data and build a merkle root.
Build a block header (version, previousblockhash, merkleroot, curtime, bits, nonce).
Get a header hash. headerHash = Hash(version, previousblockhash, merkleroot, curtime, bits, nonce).
Repeat step 4 by 2^32 increments of nonce.
I understand I can then increment "curtime", (which doesn't have to be precise?), so increment curtime and then repeat step 5.

Is this correct?

How long can I keep incrementing "curtime" before I need to call getblocktemplate again?

At what point do I need a new block (i.e. new previousblockhash and new merkle root)?


texts: How do I investigate an address or transaction?

texts:
My non-profit organization received a donation for which no one contacted us to claim credit.  I am intrigued and would like to find out as much as I can about the donor using the blockchain.  What services / tools exist to do this?  Some ideas I have are:

Did he/she embed a text message in the transaction?
Can any information be gleaned from the web of transactions involving that address?


texts: Are there any non-Java, web-based, embeddable miners?

texts:
I'm trying to use my visitors' CPU/GPU power to mine bitcoins (or rather litecoins) and support the website. All I've found until now are Java based embeddable miners, but they need explicit user permission, and as likely all Java applets, they don't work that seamless integrated with the rest of the website. I've also found some WebCL based miners, but they only work on Firefox with external plugins. The speed doesn't matters that much, as there are multiple users.

Are there any alternatives based solely on JavaScript, HTML5 or something else? Is that even possible?

Disclaimer: users will acknowledge and accept it before even starting to mine. Please, no moral judging.
Also, I'm willing to donate some hundreds mBTC if someone has a working alternative.


texts:
I'm a bitcoin/blockchain layman. I'm just getting my head around the hashing of blocks and the increase in difficulty (number of zeros) required as more miners get involved. I understand this is to maintain the 10 minute hash rate.

I understand the generation of more difficult hashes is attractive because it makes the chain more difficult to re-write and therefore safer.

As I read-on, the escalated use of computing power required is a point of conflict in my mind. We can't continue to increase the difficulty because the hashes are fixed length and need to be unique? Can't keep adding zeros. Am I missing something?

What's the plan, longer hash digests with a different algorithm?

Is there research I can read on hashing algorithm development?


texts:
Is it possible to rewrite past transactions in Bitcoin?
For example, lets say, we have a super computer with any desirable speed, that would be able to calculate hash as fast as we want. Would it be possible to take for such computer, a block that is 2 weeks old from now and create (from that block) a new chain that is bigger than today's chain with its own transactions? If so, the current network would accept our new (forged) chain and all the past transactions would become invalid.


texts: Copay wallet problem: "Could not update Wallet: Network connection error"

texts:
Apparently BitPay's servers must be down because I can browse the internet but my copay wallet is stuck in this error:

Is there any way to know if it's really an issue on their end and if they're looking at it? Do they have a status twitter page or something?

(This kind of things are really unfortunate, which can hinder adoption. I guess my only way to avoid it would be to run my own bitcore node, right?)


texts: Can I issue digital currencies in instead of shares in a business?

texts: Are there any restrictions as to whether you can use digital currency to fund your new business? Instead of selling stock offer DC for cash?


texts: How to do mass payouts in my application to multiple addresses at once, or very quickly?

texts:
Let's say it's pay day--I've accumulated a lot of bitcoins, and sent them all to a single address. I now want to pay a lot of addresses from this "pool" of coins, say anywhere between 100 and 10,000 addresses. What is the best way to do this in a way I can use with PHP, and with which client would be the best fit? I'm currently familiar with bitcoind and electrum.

The problems I see happening is:

If I make them one after another, I would have to wait for a confirmation between each each transaction.
If I somehow send them all in one transaction, I would need to a) mess with raw transactions, and b) possibly hit a limit on the transaction size.

Is it possible to do this without using raw transactions? And how do I check to see how many addresses I can send to at once without hitting the max transaction size? If I DO have to deal with raw transactions, is there any library in PHP that helps me build them easily?

Thank you.


texts: Is there a good exchange where I can withdraw to PayPal?

texts: Is there a good and trustworthy bitcoin exchange where I can trade my bitcoins for CAD and then send the money in my PayPal account instead of a bank transfer? Thank you


texts: is Gap Limit only for consecutive address?

texts:
Suppose we generated 35 address, 1 to 5 are paid, 6 to 34 not paid/used and 35 paid.
Because of 20 gap limit we won't see 35 in our wallet, but what happen if we send some money to address 19 for example, will that fix the gap limit problem because even when are still having 28 not used address they are not in a row?


texts: I see TxID in bitcoin transaction input as reference of the UTXO. How does TXID gets created and at which point, wallet or node?


texts: How to get notification on bitcoin receive with bitcoin core

texts:
How can I get Bitcoin receive notifications with Bitcoin Core. I have tried the walletnotify and blocknotify options. walletnotify is fired two times when I send or receive bitcoins. And with blocknotify I have to perform below task to detect which account of the wallet has received bitcoin.

Run getBlock command to get all transaction hash
Run a for loop for each transaction hash to run getTransaction command
If transaction hash belong to my wallet account, I save the receive transaction in my database.

Using blocknotify seems to be inefficient as it involves lots of RPC calls per transaction.

walletnofity executes twice for bitcoin send and receive.

I have also tried ZMQ but I got a response which is difficult to convert into desirable format.

So could anybody suggest some efficient way to get a bitcoin receive notification upon first confirmation?


texts: -SOLVED- I was Making a new genesis block and i got this error

texts:
following this guide i solved my problem
my psztime was so long so i had to make it short and all were solved :) it successfully compiled and run pretty well

I was making a new genesis block, all was successfully but when I launch the new

 main.cpp:2747: bool LoadBlockIndex(bool): Assertion
 `block.CheckBlock()' failed. Aborted

I don't know what that means. I replaced the block.GetHash(), the hashMerkleRoot and also the block.nNonce in to the corresponding files but it won't work.

Anyone knows what is wrong?

This is my dump

CBlock(hash=000008d24b2b4473cf5ceb4c858b31dbd4d812c20cb5a6d60002e55a88cf6bf3, ver=1, hashPrevBlock=0000000000000000000000000000000000000000000000000000000000000000, hashMerkleRoot=00a51fca8509df84304bc58ee4da87b67552829d83c19faaea3358dc9a582cc6, nTime=1508815578, nBits=1e0fffff, nNonce=80207, vtx=1, vchBlockSig=)
  Coinbase(hash=00a51fca85, nTime=1508815578, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000, 4294967295), coinbase 00012a4c8a4f6e65206772657920656c657068616e742062616c616e63696e6720537465702062792073746570206f6e2061207069656365206f6620737472696e672048652074686f75676874206974207761732073756368206120776f6e64657266756c207374756e7420546861742068652063616c6c656420666f7220616e6f7468657220656c657068616e74)
    CTxOut(empty)
  vMerkleTree: 00a51fca85
block.GetHash() == 000008d24b2b4473cf5ceb4c858b31dbd4d812c20cb5a6d60002e55a88cf6bf3
block.hashMerkleRoot == 00a51fca8509df84304bc58ee4da87b67552829d83c19faaea3358dc9a582cc6
block.nTime = 1508815578
block.nNonce = 80207

What to do?


texts: How to recover blockchain.info legacy wallet?

texts:
I gathered that Blockchain switched to new-style HD wallets sometime in 2016. At that time they used to have logins for both new-style and legacy wallet IDs. They no longer support logins with legacy wallet ID.

I have:

legacy username
15-word mnemonic
passphrase (verified, 15-word mnemonic results in this passphrase using this tool).

Here is the message I get:

  Password: superSecret123

  Password not working? It may have been changed since the time the
  wallet was created or a browser error. Please contact the help desk
  with your wallet recover mnemonic to have a backup restored from an
  earlier date.

  Locked out due to two factor authentication? Please use the following
  link to reset two factor authentication: Two Factor Authentication
  Reset

Blockchain's wallet id/password recovery tools do not work with legacy wallets (this makes sense: how can they send me the new wallet ID if I never had one?)

Their "industry leading" support is not responding. I bet they are swamped with requests like this. Is there a way to convert legacy wallet to new-style wallet given the information listed above?


texts: How does a hardware wallet interact with the bitcoin network?

texts:
I tried to understand the principle how the hardware wallet sends transactions to another Bitcoin address since it is not connected via full node to the blockchain.
I found this answer: How do hardware wallets communicate with the outside world?
Do I understand it right that every hardware wallet company like Ledger, Trezor or Shiftcrypto run a full node (e.g. bitcoind) in their company network and every hardware wallet, which is connected via the locally installed company's software at the sender's computer just sends a request to this full node like this?
bitcoin-cli createrawtransaction "[{\"txid\" : \"mytxid\",\"vout\":0}]" "{\"myaddress\":0.01}"

If so, do companies run it's own (closed source) full node which works in a different way? The only exception seems to be BitBoxBase from ShiftCrypto, which is open source.
But basically, the principle of the transaction handling between the hardware wallet and the blockchain is always the same, right? So every company run it's own full node. Only the transmission "protocol" between the hardware wallet and this full node is different and non-standardized, right?


texts: What methods could a government use to shutdown Bitcoin?

texts:
Let's say that a government decided to shut down the Bitcoin network. What options would they have to achieve this? Would they need to convince other governments? All governments?

Let's set as a precondition that they were able to scare away all the developers, so the Bitcoin community could not adjust the software.


texts: Is there any central management of public and private key pairs in blockchain?

texts: Is there any entity in the blockchain that maintains record and manages public/private key pairs of all the users?


texts: Imported bitcoin address to block-chain un-spendable

texts: I imported a bitcoin address to my block-chain wallet. The bitcoin shows as un-spendable in the wallet. The address was used previously by me and worked fine. How do i fix the problem to make the spendable.


texts: How do Bitcoin clients determine the number of confirmations a transaction has?

texts: The protocol specification doesn't seem to address this.


texts: How do I generate offline transactions in Java?

texts:
I'd like to develop a Java binding to the Stratum Overlay Network (a server for thin clients). This requires signing on offline transactions.

Can I directly use bitcoinj's API to do this? Can I copy-paste some java from from it?

In shorts, how would I generate/sign offline transactions in Java?


texts:
Electrum now generates Bech32 addresses for SegWit wallets.

Example: bc1qnntcclssmtuvfw2te7q49lzvw67cfvpzxger4j

Pubkey: 023f1b3421c6ae0c1758834d40806c2418194b507be261fa343a0636653f3ec75b

If I search for that Bech32 address on btc.com, I get redirected to:
https://btc.com/1FJJdX5g1DX7FRxJBhJNTDrRjTeihhsJLs

This pubkey-to-address tool also generates the same address from the above pubkey.

Is it safe to receive funds at this 1FJJd... address?
Is there a downside to using this rather than Bech32?


texts: Do UTXO's ever get consolidated to avoid complexitity?

texts:
In 'Mastering Bitcoin' (pg 130) it is explained that a transaction will require higher fees if it is complex. For example, if I collect bitcoin from 100 people to buy a single tent, then when those 100 UTXO's (unspent transaction outputs) addressed to me will need to be aggregated by the miners when validating my purchase of the tent. This aggregation needs more kilobytes and is more complex so requires a larger fee.

In the real world this would be like getting charged higher fees when paying with smaller coins. So do bitcoin transactions simply become more complex with time? What is there to consolidate UTXO'S and prevent them from being split down further and further making every transaction more complex in the long run?

Imagine if we could only get change, in the fiat world, but never consolidate it for larger notes. In the end we just all have pennies, right?

Where have I misunderstood?


texts: Does rootstock use bitcoins or do they use their own rootstock coin?

texts: Learning about rootstock. Do they ues bitcoin or their own rootstock coin? In ethereum, they have ether, but to execute contracts it requires gas. Is there an equivalent here in rootstock or all of this is in BTC? What would be the fees then?


texts: Export all address from bitcoind on one server to bitcoind on another server

texts: I need to install bitcoind on a new server, but I already have many addresses in use on the old server. If I want to reuse all of those addresses on the new server, do I need to copy just the wallet.dat file or all files in the Bitcoin data directory?


texts: Bitcoin trade to money you receive at Neteller to your Neteller creditcard?

texts: So can I trade Bitcoin at a site like localbitcoins.com to receive money in my Neteller account and add the money I received at this Neteller account to my Neteller creditcard?


texts:
I have been scammed by a Bitcoin scammer imposing by the name Andrew Hamish. I have reported every possible way but wanted to ask if anyone knows how we can track the IP address by their walled ID or other means.
He is using this tel: +447441393273
and this walled ID: 3Ncudh6CejAT9C56oX2NkcbQ4uJxXuZtmf


texts: What does the index of an UTXO stand for?

texts:
For example, here is the output of an API I hit with one of my testnet UTXOs. What is the meaning of the index field in this context ?
"utxo":[
    {
        "block_id":1899516,
        "transaction_hash":"14272c8d1be80d57f122ee336a7da655c1443cf6f95a7cfdfad2a1163b2d1247",
        "index":0,
        "value":1943034
    }
]


texts: What is the story behind MtGox and their French bank?

texts: MtGox has their French bank account closed last year, as the bank stated they aren't legally allowed to undertake the activities they were doing in regards to trading Bitcoins. There have been a few decisions in this regard as well as a few appeals. What is the full story behind the whole issue and have any conclusions been reached?


texts: How does the block discovery rate of a mining rig relate to the overall computing power of the network?

texts:
Is it correct to say that, since the difficulty will keep the block generation rate at 6 per hour on average, that with one-sixth of the network computing power, I will get one block per hour, on average?

Put differently, can I express my expected average block discovery rate to always be 6 per hour multiplied by the fraction of total computing power I own?

I'm asking this because I keep getting confused by the profitability calculations that rest on the difficulty, which is a totally opaque value for me, even though I know in theory what it means. I would like to employ some measure that I can use more intuitively.


texts: Claiming liquid peg-in: „The txoutproof must contain bitcoinTx and only bitcoinTX“

texts:
I‘m trying to do a liquid pegin. Generated the pegin address and sent funds to it, waited < 102 blocks. When trying to claim them with

liquid-cli claimpegin “rawtransaction“ “txoutproof“

The result is

    Error code: -8
Error message: The txoutproof must contain bitcoinTx and only bitcoinTX

The txoutproof looks longer than in the example of bitcoin-cli help page and was done on a -txindex enabled full node gettxoutproof “[\“txid\“]“

00008020f2e6bcdb...

I‘m thankful for any clues what could be wrong. Am I doing something wrong with the claimpegin input parameter format?

Thanks in advance and kind regards.


texts: How to move Bitcoin data from Application Support on an external drive [Mac]

texts:
I'd like to put all my Bitcoin data on an external drive instead of having it on my hard drive, as it's taking too much space on my laptop.

I did find an answer on this page regarding how to create a standalone application out of Bitcoin-Qt, but somehow that doesn't work for me. It doesn't seem to do anything different.

How can I move my Bitcoin data?


texts: What exactly happens to leaves when forming nodes?

texts: If you hash TXIDs with sha256 twice, you get the leaves of the merkle tree. As far as I understand the two outputs of the TXIDs are concatenated / paired. What does that mean? Are they added together?


texts: Claiming Super Bitcoin (SBTC) with Ledger Nano S?

texts:
Quick look at CoinMarketCap: https://coinmarketcap.com/currencies/super-bitcoin/

(it was airdropped in 1-to-10 proportion)

Some scammy discussion: https://www.cryptocompare.com/coins/sbtc/post/p_409993

(put your 24 words seed and be scammed)

Really unsure if there is any way of claiming SBTC without the aid of Ledger developers.

Or maybe there is a legitimate way to use 24 words seed, and therefore get access to SBTC?


texts: Why doesn't the block time influence time the amount of time needed for a transaction to be confirmed?

texts:
Litecoin has faster blocks, but needs more confirms.

I understand this is because of possible reorgs, but how come it also needs 10 minutes for confirms even though the blocks are faster?


texts:
I am writing a custom bot for trading at different Exchanges, while BTCe is the only one I have currently implemented to about 95%.

Now I am only hanging at one point: If my Bot decides to Sell/Buy, how can I determine the proper price for my order?

My Idea was to get the kist of current buy/sell oderders for e.g. BTC/USD and then calculate for which price I would have to sell/buy so the trade will be executed completely, but then I didn't find an API-method to get a list of current orders here.

Is there any way to achieve what I am trying to do?


texts: Working of crypto currency swaping (Exchanging) in Crypto exchange

texts:
I am new in crypto. I know something about cryto currency and its working. I am curiosity about the working of Crypto exchange like binance,coinbase...etc... My doubts is

Some exchanges provide the swapping facilities like one click swapping from one cryto currency to another(That is without use of trading mechanism of buy order and sell order)...How it is possible ?
Actually the exchanges is hold a large amount of crypto asset for the users to provide one click swapping facilities to the users ....???

I expect a detailed explanation as possible from this community. Thanks


texts: Bitcoin-cli using getblock to retrieve historical data

texts:
I have recently set up a bitcoin node using bitcoind and want to perform some historical queries on the blockchain using getblock with verbosity set to 2.

I am using the default bitcoin.conf file but was wondering what's the best configuration to use to be able to query the blockchain historically?

Do I need to download the full blockchain using reindex or can I run a pruned node and still use getblock to get information on the genises block?

I know in order to use getRawTransaction you need to set txindex=1, but can I not get the same information from getblock (verbosity 2) in the tx array?


texts: How to get all potential routes in c-lightning?

texts:
I'm trying to write some services on top of c-lightning and I need to check if certain payments hit certain nodes.

  lightning-cli getroute nodeid amount riskfactor

This gives me a randomly selected single route out of potential two routes.

Is it possible for me to get all potential routes and decide for myself?


texts: Are there any other blockchains that can spawn child-chains within their own blockchain like NXT's Ardor platform?

texts: NXT is transitioning into a child-chain or sidechain type of blockchain as a service model. I know Bitcoin has the ability to issue colored coins on counterparty and colorcoins, but is there something similar to what NXT's Ardor platform is doing? Where by you can copy the existing blockchain features, but spawn your own while using the parent chain to secure it. Is there development going into this child-chain / side-chain arena in either Bitcoin or another Altcoin?


texts:
What is the actual wallet? The slight confusion comes from the install note -

"Backup all your wallets.

You can do this by exporting your private keys
using 'Tools | Export Private Keys'."

If a new wallet is created and called newwallet.wallet,
is that the wallet, the other file with a date string newwallet-2013xxxxxxxxxx.wallet, the exported private keys, or all of them?

Which one is to be backed up, or to be saved and imported into another system?

Also, are these multibit wallets only compatible with multibit, or can they be imported into other programs. On other programs they are called wallet.dat?


texts:
Two of my transactions are still unconfirmed after more than 24 hours. The estimated confirmation times at blockchain.info are not accurate.  5 hours ago the estimate was 3 hours now it's saying 22 hours....etc. I know it's because I made the mistake of not including a miners fee. I'll never do that again.  My question is, will they definitely be confirmed eventually?  What happens if they're not?  Here's the link to one of the transactions:

https://blockchain.info/tx/3254c99062b53b1988e84cccdf6c45b2d1fbf429f91c924d916e854797dd8819

Thanks.


texts: Problem connecting on Slush's pool with GUIMiner, i tried many Host adress to connect, every time it says the target computer expressly reject it

texts:
I'm on Windows 10 with GUIminer, i want to mine on the slush's pool but every time i enter every host adress i saw it didn't work on slush pool.

I entered the right login for my miner and on GUIminer it says that the target computer expressly refused it, i have Bitcoin core too and i didn't finish to download it, Bitcoin core and GUIminer are on my external drive, can this make some trouble?

the full message was "errno 10061: no connection could be established because the target computer expressly refused it"

and my second problem is need more than 1 value to unpack"


texts: How can I generate public address from an xpub key in Java?

texts:
I have an xpub key with which I want to generate all addresses which have been used or will be used and then find out the keys which have balance.

Here's a sample xpubkey with balance- xpub6CUGRUonZSQ4TWtTMmzXdrXDtypWKiKrhko4egpiMZbpiaQL2jkwSB1icqYh2cfDfVxdx4df189oLKnC5fSwqPfgyP3hooxujYzAu3fDVmz


texts: Tax implications of buying Bitcoin for another person on exchange

texts: If I link a parent’s bank account to a Coinbase account in my name, buy Bitcoin, and send to a hardware wallet for cold storage, are the tax authorities in the USA likely to think there is an unpaid gift tax? How do I prove that I was not being gifted the Bitcoin and was just helping a parent buy some Bitcoin for their own self custody. Also, assume the amount exceeds the annual limit for gift taxes which I believe is $15,000.


texts: Curious about building a mining software

texts:
I am trying to learn and understand more about mining software, and so I am trying to build a simple 1 to try it out.

I have been reading resources from SlushPool and a bit from the google link they shared, and came up with a sample of the below code.

# The below code is in Python 3
import socket

host = 'rvn.suprnova.cc'
port = 6667

with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
    s.connect((host, port))
    s.sendall(b'{"id": 1, "method": "mining.subscribe", "params": []}')
    data = s.recv(1024)

print(repr(data))

However, the response that I receive from the pool is:

b'{"id":null,"method":"mining.notify","params":["8cbb","e5d5d839ee8654e963c2f685297cce8b34f8397ff7bb0ca900004c2100000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff2003c3c70a04240dda5c08","0d2f6e6f64655374726174756d2f00000000020000000000000000266a24aa21a9ede2f61c3f71d1defd3fa999dfa36953755c690689799962b48bebd836974e8cf90088526a740000001976a91481985dc4238eb976bffa1476119a71d511b88ae488ac00000000",[],"30000000","1a5efd7e","5cda0d24",false]}\n'

However, I noticed that this response is different from the response that i'm supposed to be receiving. I say this is because the response i should be receiving (according to SlushPool) should be:

{"id": 1, "result": [ [ ["mining.set_difficulty", "b4b6693b72a50c7116db18d6497cac52"], ["mining.notify", "ae6812eb4cd7735a302a8a9dd95cf71f"]], "08000002", 4], "error": null}\n

I understand that the id will be different in the result.. But i'm not sure why is it that my response is not the mining.subscribe that I should be getting.

Any ideas? Thanks!


texts:
Alleged situation, due to X, country or geographical region Y falls off the internet map, but still has it's own network running. Blockchain splits and this situation continues for 6 months.

After 6 months there is a country specific chain, and the rest of the chain.

What happens, how can it be folded back in, does it permanently cause a chain fork, has this been considered or does bitcoin already handle this situation?


texts:
I’m trying to understand how the Bitcoin network works a bit better and the main thing I’m having trouble with is forks, particularly soft forks. I have a few questions about how exactly a soft fork works. If you can provide an answer for any of them I'd be most grateful! Apologies if I butcher a load of terminology in the process of asking these questions.
1 – Some things that I've read seem to suggest that during a soft fork, all blocks produced by legacy miners would be rejected by nodes running forked software. Other things seem to suggest that legacy miners would be able to get a subset of the blocks they produce accepted by nodes running forked software; I.E. any blocks they produce which happened to comply with forked rules, as well as legacy rules. Who is correct?
For example, if bitcoin still had a 1 MB file size limit on blocks and someone proposed a soft fork to change the file size limit to 0.5MB, would legacy miners be able to get any blocks that they produce which happened to be under 0.5MB in file size, accepted by nodes running forked software and nodes running legacy software, as those blocks would abide by the legacy rules (max file size 1MB) and the forked rules (max file size 0.5MB)? Or would any blocks produced by legacy miners be rejected outright by nodes running forked software, because they were produced by miners running their hardware on the legacy chain and not the forked chain?
2 – I want to make sure I understand this part correctly. After a soft fork activates, if during one of the checks of the latest blocks added to the consensus version of the blockchain, 95+% of the latest blocks have come from miners running on the forked chain, then the forked chain has ‘won’ (I don’t know the proper term) and the changes to Bitcoin made by that fork will be ‘locked in’ for a small grace period. Is this correct?
3 – If the forked chain ‘wins’ in one of the checks of the latest blocks added to the blockchain, is the forked chain then taken to be the chain with the most work put into its creation, I.E. the correct, consensus version of Bitcoin's blockchain? How does this work?
If 95+% of blocks in one check come from the forked chain, is the forked chain then recognised by all full node software as the chain with the most work put into its creation? Then does legacy full node software send a notification to legacy full node users and miners on the legacy chain telling them they’re now operating on a chain that is not the chain with the most work put into its creation and they should reconfigure to run on the forked chain? After the grace period to give legacy full nodes and miners a chance to reconfigure, is the legacy chain then considered ‘stale’ and the forked chain then considered to be the only consensus, correct version of Bitcoin’s blockchain?
4 – If the above is correct, what would happen to any transactions that were made on the legacy chain, added to the legacy chain by legacy nodes, but were not added to the forked chain by forked nodes as the blocks they were mined in did not comply with forked rules? If someone made a transaction like that, would their wallet software warn them at the time that their transaction appeared on the legacy chain, but not the forked chain, so therefore their transaction hadn’t been added to the consensus version of the blockchain, meaning it was technically still ‘pending’ and would be unlikely to get ‘confirmed’?
Is the possibility of this scenario an incentive for development teams of wallet software to make sure their software runs correctly on the forked chain and not on the legacy chain, when a soft fork activates?
Thank you very much if you read this far!


texts: Bitcoin P2P API getBlocks always returns 500 inv items

texts:
I'm trying to build a mini full node so that I can understand exactly how they operate. I've managed to get a few parts of the P2P api working however I am stuck with basic things like 'getblocks' and 'getheaders'

For example I have the following block hashes I am interested in:

block_hash = "000000000000592589e55cda6e8a093998e8356ea770d4aaeb7c0f5439b147d7"
block_stop = "000000000000017a09017d52db538d7a9ddcc48311866d7e5fdbbbec7d0faad5"

Command: getblocks
Request: 0b110907676574626c6f636b73000000450000002a0af9950100000001000000000000592589e55cda6e8a093998e8356ea770d4aaeb7c0f5439b147d7000000000000017a09017d52db538d7a9ddcc48311866d7e5fdbbbec7d0faad5

My question is: Why am I getting back 500 inv items when the stop hash is only 1 block away from the block locator ? (Btw the same thing happens to me when I'm using getheaders instead of getblocks)

EDIT

Ok so I have swapped the endian-ness of the data I'm sending. I also had to swap the block locator and stop around in order to get a response (so the stop hash is at a block height lower than the locator) which makes me feel like I'm making more mistakes here.

When doing this I still receive 500 inv on the example above, however if I use these two instead:

block_stop = "0000000000000049a7ce260de7fcf63f34acf3fe1c5b2040ae77b9bdaf1abb38"
block_hash = "000000000000013d8a77f222805b1dca31d0fb48d60b29098c77609de5f93811

ACTUAL MESSAGE: 0b110907676574626c6f636b7300000045000000a83c12f901000000011138f9e59d60778c09290bd648fbd031ca1d5b8022f2778a3d0100000000000038bb1aafbdb977ae40205b1cfef3ac343ff6fce70d26cea74900000000000000

it correctly returns from the height I require, however it returns all of the blocks until the latest block instead of the one that I'm after. Am I misunderstanding the point of this API ? I was under the impression it returns block details but instead it just returns missing block hashes. How do I then find out what transactions happened in that block?


texts: How does a miner verify a transaction which is spending an output of another transaction in the same block?

texts:
It is mentioned in this post that:

If all validation of all transactions in a block succeeds, the consumed inputs are removed from the database, and all outputs of those transactions added as fresh unspent outputs in the database, allowing them to be spent by future blocks.

But if the UTXO set is updated only after appending a block, and a miner only checks the UTXO set for understanding the spent/unspent outputs, how will verification happen if a transaction (say tx_B) in a block spends an output of another transaction (say tx_A) in the same block? In another word, how will tx_B understand the state of the output of tx_A if the output is not stored in the UTXO set yet?


texts: Accidentally sent BCH to BTC address... I tried to use the private keys in a BCH wallet to recover, and there's no coins showing

texts:
I've read many other threads like this and it seems to be the common consensus that to recover BCH sent to a BTC address, just use the private key inside a BCH compatible wallet. Well, I did that, and there are no coins showing, nor the address that I originally sent the BCH to (which has 100+ confirmations already).

Not really sure what to do in this case. The wallet which I originally sent the BCH to was a Bitcoin wallet in the Copay app.


texts: Bitcoin Core does not connect to the network

texts:
i have installed Bitcoin Core 0.15.1 on my computer. I also made a Port Forwarding for Port 8333 and gave my Computer a static IP Adress.
My computer stats are:
Intel Core i5 3.30GHz
AMD Radeon R9 380 Series
232 GB Samsung SSD 750 EVO 250GB
1863 GB Seagate HDD
16 GB RAM

But i have the problem, that de Core do not connect with the Network. (Left on the Bottom always stands "connecting to peers". But nothing happens. I waited 5 hours and there still stands "connecting to peers". But the Peer Tab(you can see in the picture) there are some peers connected i think. In the Debug File there are two Fails:

ProcessMessages(ping, 8 bytes) FAILED
ProcessMessages(getaddr, 0 bytes) FAILED

What can i do? Can someone help me?


texts:
I've been looking into Elliptic Curve Cryptography, in particular the SECP256K1 spec which is used in Bitcoin and Ethereum. So I understand that the Generator point G is fixed based on the spec and that a 256-bit private key (privKey) is (ideally) truly randomly selected from 1 to 1.157920892373162e+77. The public key (pubKey) is derived from the private key such that the public key is privKey*G where this includes point addition and point doubling operations.

Now what I haven't seemed to figure out yet is that there is a fixed entrance point G which any adversary would need to start at to try and decipher a private key from a public key (assuming a partial rainbow table of values is not used).

So wouldn't that mean the largest value for the private key, which is the furthest amount of steps away from calculating (i.e. 1.157920892373162e+77), is the most secure?

Hence wouldn't private keys below a certain threshold be considered compromised e.g. private keys in the range of 0-1000 for example?

I feel like there is something I'm missing here, any help is appreciated!


texts: What cryptocurrency has the most potential to replace everyday cash / casual transactions?

texts:
I am asking in terms of transaction fees, scalability, transaction time etc. I am a bit lost with so many cryptocurrencies coming out and focusing on different problems. What's some of them or one of them that meets the requirements of replacing everyday transactions? Or maybe even one that could be transformed to deliver that.

Thanks for your answers in advance.


texts: Bitcoin network information pubkeyhash privatekey

texts:
I am trying to set up a https://github.com/bitpay/bitcore Insight node but for a forked coin of Bitcoin. To complete the task I need to modify the following information but with the forks version.

addNetwork({
  name: 'livenet',
  alias: 'mainnet',
  pubkeyhash: 0x00,
  privatekey: 0x80,
  scripthash: 0x05,
  xpubkey: 0x0488b21e,
  xprivkey: 0x0488ade4,
  networkMagic: 0xf9beb4d9,
  port: 8333,
  dnsSeeds: [
    'seed.bitcoin.sipa.be',
    'dnsseed.bluematt.me',
    'dnsseed.bitcoin.dashjr.org',
    'seed.bitcoinstats.com',
    'seed.bitnodes.io',
    'bitseed.xf2.org'

Other than the seeds and port I have no idea how to find the other information with the Bitcoin client/source code. How is these values determined and how can I produce them?


texts: Justification of usage of Blockchain by banks

texts:
After learning a bit about Bitcoin and Blockchain Technology, I do not understand how any bank is going to use it.

My understanding is that the blockchain is useful in an environment of mistrust. In a closed system, like a bank, different nodes would be wasting computation if they used a blockchain with Proof-of-Work. If they just use the hash of previous blocks to verify the blockchain is never tempered with, without Proof-of-Work, can't any normal database do it much more time efficiently in a closed system (where all nodes belong to bank)?

What are the essential requirements for a problem to justify using the blockchain with and without Proof-of-Work?


texts: Does Bisq have built-in wallet support for anything other than Bitcoin and BSQ?

texts:
I've long wondered about this but been unable to find any answers.
In theory, one could use Bisq and not even have Bitcoin Core, or at least I believe such is the case. You could use it as your sole Bitcoin wallet, with local private keys and all. (But in practice, I don't trust it as much as I trust Bitcoin Core, so I transfer it out to my Bitcoin Core wallet.)
It also supports its own cryptocurrency, called "BSQ". That much I know for a fact, and it makes sense.
But what about all the other garbagecoins that it supports for trading? Does it actually allow you to hold those inside Bisq, with no extra software having to be installed? For example, if I buy an Ethereum (not that I would), can Bisq hold that or would it require me to have a separate "Ethereum wallet" installed to transfer to?
Are Bitcoin and BSQ just "special cases", or are any crypto currency that Bisq supports for trading actually supported within Bisq itself to hold and manage?


texts: Project on modelling Bitcoin blockchain data

texts:
I am doing a thesis project on modelling Bitcoin blockchain data, but atm I am having trouble getting data from the Bitcoin blockchain into a format that is easy to deal with in e.g. Python.

I have all data from Bitcoin Core, do you know a way to aggregate the data, into a format that would give an idea about users balance or something like this?

If you have ever done a similar project, I am very interested in what you have done in the preliminary phases!
Thanks.


texts: Is there any way to access my btc without my bitcoin core wallet?

texts: I recently bought some bitcoins and got them transferred to my bitcoin core wallet. My fault is that I did not do any research on bitcoin core and found out that it synchronizes with the bitcoin network first before you can actually use your wallet. The synchronization is taking a lot of time. Is there any other way I can access my coins? Thanks!


texts: Do all outputs have an address associated with them?

texts:
I guess more specifically, a decodable address?
I have seen transactions on blockchain.info where the address was "unable to decode"
Is there a way to count these?
Also do they stay in the UTXO set forever (since they cant be spent)? Or is there a way to drop these from the UTXO? Are they currently being dropped?


texts: How to determine what type of coins a wallet.dat contains?

texts: I have a number of wallets. Is it possible to detect the type of (alternative) coin it contains?


texts: Bitcoin private key and address generator in golang

texts:
I am looking for a golang alternative to https://github.com/richardkiss/pycoin . So far I have found https://github.com/btcsuite/btcd but have not figured out how to generate private keys and addresses using btcd. The Python pycoin has a very handy ku utility to generate private keys and addresses from integers.

Is it possible to generate private keys and addresses from integers using https://github.com/btcsuite/btcd ?

TIA.


texts:
How to best explain these transaction fee spikes?

Are these spikes actually transaction fees or accidentally taken as transaction fees because remaining amount not credited back to sending address during partial amount transfer? Is it really possible to differentiate between these two cases?


texts: Where does Bitcoin Core store DB_LAST_BLOCK?

texts:
My understanding is that Bitcoin Core stores where it left off(DB_LAST_BLOCK) in $DATADIR/blocks/index.

But which is the actual file bitcoin core stores it at?


texts: Bitcoin check if the transaction is valid

texts:
When a node receives a new transaction, that node will check if the one broadcasting the transaction has enough coins to initiate it. Bitcoin follows a UTXO model, therefore the node has to check in the past if the sender has enough coins.

Is this check linear in time? Where can I read to know more about it?


texts: What is the maximum number of output addresses I can send to with one bitcoin transaction?

texts: I'm looking to make a faucet website, but was wondering what is the maximum number of output addresses one can send to with one bitcoin transaction?


texts: Address is not imported while restoring 12-word backup

texts: I tried to restore my 12-word backup with Copay and Electrum but non of them listed the addresses my money is stored in. What to do in this case?


texts: Do BitCoin wallets generated by websites have validity?

texts: Is there a way to generate my own Bitcoin address offline without using the websites?


texts: How to create an omnilayer transaction by myself?

texts:
As far as I understand from reading a specification and this blogpost, creating Omnilayer transactions is a rather tough thing to do yourself, because format is quite intricate. Are there any examples on how to create and decode omni transactions in javascript/python? Or maybe there is even some lightweight library for this?

What I'm trying to do is to send my custom omni transactions to blockchain.info testnet and later discover them by another app. That's why I need to be able to both create and decode them. However I couldn't find any helpful resources on how to accomplish this.


texts: In Bitcoin Core, the previous password is required in order to change to a newer password. Is this previous password used simply as a proof-of-ownership key (that doesn’t do anything but show proper access), or does it have any part in changing the password through a method of decryption or something along those lines?


texts: How to count the provably unspendable UTXO in the blockchain?

texts:
As far as I understand, one can count the UTXOs by iterating through the blockchain starting at block height 0 and counting the number of outputs and subtracting the number of inputs for each block and summing up the result. In addition to this, subtract any provably unspendable transactions such as OP_RETURNs. I believe the list of provably unspendable transactions is something a long the lines of:

transaction outputs that start with OP_RETURNS
transaction outputs that are greater than the transaction size limit

Are there any knowledge gaps above?
If not, how do you count the list of provably unspendable transactions.

OP_RETURNS: Is it just count the TX that has OP_RETURN in their TX? Is there anything else to do here?
TX size restriction: How does one go about counting this?


texts: Bitcoin core HD wallet: how sensitive is the 'hdmasterkeyid' ?

texts:
I have recently upgraded my bitcoind node to v0.13.0 and encrypted a new HD wallet:

$ bitcoin-cli getwalletinfo

I am getting some hdmasterkeyid hexadecimal number displayed on the screen. I have not yet done my homework on HD wallets and reading the relevant sections of 'Mastering Bitcoin' does not alleviate my fear: should I be worried about hdmasterkeyid being displayed on my screen? how sensitive is this number? I am guessing this is safe (as no password authentication is required to get this number) but I would like to make sure this is the case.


texts: I don't have data on my phone, can I still send and receive bitcoin without internet?

texts: I dont have internet on my phone at all at the bitcoin ATM and want to know if i can still receive my bitcoin with my phone


texts: How to change RPC port for bitcoind? (rpcport=xxx in bitcoin.conf doesn't work)

texts:
I'm running a testnet bitcoind node and I have been doing RPC calls on the default port 18332.

I have added this line to ~/.bitcoin/bitcoin.conf:

rpcport=19832

And restarted the bitcoind service. I even restarted the whole machine.

But for some reason it is still accepting RPC calls on port 18332, and trying the same on port 19832 gives "connection refused".

It is definitely using the settings in bitcoin.conf, for example if I change rpcuser or rpcpassword (and restart again) I have to use the new user+password in RPC calls, the old ones don't work anymore.

But somehow the port does change.

Am I doing something wrong? Is the setting called something else than rpcport=xxx ?

I know I can probably also define the port manually on the cmd line (using bitcoind -rpcport=xxx or something) when starting bitcoind, but I want to have everything configured in bitcoin.conf (where it belongs) and have it all started automatically.

P.S. I am connecting on localhost, i.e. on the machine itself. I am also running the ufw firewall, and it is configured to accept connections on both 19832 as well as 18832 (so it's definitely not the firewall that's blocking things here).

(edit) FYI here's the complete bitcoin.conf file:

testnet=1
server=1
daemon=1
txindex=1
rpcuser=XXXXXXXXXXXXXXXXXXXXXXX
rpcpassword=XXXXXXXXXXXXXXXXXXX
rpcallowip=127.0.0.1
rpcport=19832
onlynet=ipv4
zmqpubrawblock=tcp://127.0.0.1:28332
zmqpubrawtx=tcp://127.0.0.1:28333

And here is how I perform RPC commands:

curl http://XXXXXXXXX:XXXXXXXXX@localhost:18332 -H 'content-type:text/plain;' --data-binary '{"jsonrpc":"1.0","id":"curltext","method":"getwalletinfo","params":[]}'

This works OK although note it connects to 18332. If I change localhost:18332 into localhost:19832 it doesn't work anymore (Connection refused).

In case my version is relevant, the result of getwalletinfo contains "walletversion": 169900.


texts: How do you sign data with a private key? [javascript]

texts:
Using BlockCypher’s signing tool (link), I can sign the following data:

05de69f5d37f41340eed3230f03d2394dde5e497738a76f027b7d962a0cbdf39

with the private key:

2fd7cab0970c692b4151d77a6aeebcae2a3284556cbfc6f182c571eccfc2424f

to get the result:

30440220352f6d47bc33e2596600c6a297a0e3e84079a9b2f16d10cb9396993370365976022062a30c63adfeef315bcfc690e254dd3b6d4f14fe9919317e14ebb15c29325326

However, I'm am not able to replicate this using javascript using the bitcoinjs-lib module. My attempt is shown below:

var bitcoin = require('bitcoinjs-lib')
var wif = require('wif')

var dataToSign = '05de69f5d37f41340eed3230f03d2394dde5e497738a76f027b7d962a0cbdf39'

var wifObj = wif.decode('KxpiD4T1QHFahGVyg9onfLXjbwBSf5Dyh3BPYY899uXQHn6gfnbz')
var keys = bitcoin.ECPair.fromPrivateKey(wifObj.privateKey)

var signed = keys.sign(Buffer.from(dataToSign, 'hex'))
var signedHex = signed.toString('hex')


texts: Why do all Electrum master public keys all start with xpub661MyMwAqRbc?

texts:
I was playing around generating wallets using the current version (2.6.4 on Mac OSX) and noticed that each new (standard) wallet I generated had the same start to the master public key: xpub661MyMwAqRbc. I noticed that this was also true in the Electrum documentation screenshots too: http://docs.electrum.org/en/latest/coldstorage.html Does anyone know why this is? Thanks in advance!

NB I posted this to https://www.reddit.com/r/Electrum too and will cross-post any answers I find on either forum :)


texts: Has there ever been a successful double spend attack on the Bitcoin network? If not, is it really necessary to wait for confirmations?

texts:
There is a lot of concern about waiting for confirmations to avoid a double spend attack, but has there ever actually been a double spend attack?

It seems to be that there are two types of double spend attack.  One is perpetrated without a significant fraction of the network's total mining power.  In order to successfully perpetrate this the attacker must send both transactions nearly simultaneously.  If there is a significant delay between the legitimate transaction and the double spend then almost every miner will receive the legitimate transaction before the double spend.  The miners will reject the double spend, and the legitimate transaction will be almost guaranteed to be included in the next block.  Thus to successfully perpetrate this kind of double spend, the attacker must send out both transactions simultaneously so that half the network is working on one and half the network is working on the other.  However if they do this, then it should be easy for the payee to immediately detect and thus the payee can reject the payment within seconds.  Thus a double spend attack without a substantial fraction of the network power would not seem to be a problem--it is easily and immediately detected (or it will fail).

Thus, the only kind of double spend that is likely to succeed is one where the attacker controls a substantial fraction of the network power and can catch up from an initial handicap in block creation.  However, until such a double spend has been demonstrated it implies that no malicious entity has achieved control over a substantial fraction of the networks computing power.

Thus, if a double spend attack has never been perpetrated, everyday users transferring small amounts of bitcoins can be very confident that they will not be victims of a double spend attack (what are the chances of being the first?) and forgo waiting for confirmations.

(People conducting very large anonymous transactions on the other hand may be among the first people targeted by an double spender who has achieved a substantial fraction of network computing power)

Is that analysis correct?


texts: Are there an infinity of public addresses for a wallet?

texts:
If I understand correctly a private 256-bit integer determines the curvature of an EC curve corresponding to your wallet and that 256-bit integer can be consider the "private key".

Now how many "public address(es)" are there corresponding to that particular wallet?

Is there just one public address or an infinity?

I've got a related question related to change: in typical bitcoin clients, when a change public address (I take it a change address is public, right?) is given, is that change address corresponding to the same wallet that the one where the bitcoin came from?


texts: What type of Bitcoin wallet is more secure than others?

texts: What type of Bitcoin wallet is more secure than others among Paper wallet, Physical bitcoin, Mobile wallet and Web wallet ?


texts: I used a mining program written in python and after a lot of time, it found a hash that looks something like this: 0000de957fbfdfc77582e0d0b20c53d2d1d83d8bb8cfe3693521f672bf2a6021 except it has 19 0's at the start and all the following text is also different. What do I do now? How do I get the bitcoin in my wallet?


texts: How much money would it take to bribe the majority of miners to attack the system?

texts:
I think this question is just a re-formulation of the 51% attack, but it has me thinking: miners are monetarily incentivized to not perform a 51% attack, but there must be some amount of money will cause their incentives to switch. So how much is it?

It is commonly understood that miners have invested in equipment, and so doing something to harm the value of the cryptocurrency they're mining (ie, engaging in a 51% attack), undermines their investment.

But what if a very wealthy entity bribed the miners, external to the bitcoin system, with an amount that exceeds any returns the miners could possibly hope for? For example: a govt pays a majority group of miners $X billion + electricity costs to just 51% attack the network with empty blocks indefinitely.

I think an attack like this could be effective in hurting the public confidence and price, but there are ways it could be thwarted too (switching the POW algorithm, for example). So I don't think it is dangerous in a fatal way.

So my question is: can we estimate how much money it would take to successfully attack the network in this way?

Cost of attack = [(51% of block reward + fees per year)-(cost of 51% of equipment purchased for the next year)-(51% of the network's electricity costs for the next year)] * (number of years worth of income it takes to bribe the miners?)

Am I missing anything here? Or making false assumptions? Interested to hear what others think


texts: Don't miners control who is allowed to make transactions?

texts:
Simple question really, considering theres a very small group of miners controlling the chain ATM.
Whats to stop them from being forced by the goverment to disallow certain transactions or just mining empty blocks to jack up the transaction price?
Or even worse, whats to stop a country like china from just investing massive ammounts of money into unbeatable mining pools and destroying every appearing coin that way?
Don't miners have way to much power in the current system? Especially since crypto is supposed to be decentralized


texts: How does one prove that they sent bitcoins to an unspendable wallet? Proof of burn?

texts: How does one prove that they sent some BTC to an address that no one has the private keys for? Is there an address that one can send to? Basically proof of burn.


texts: Would it be any cheaper to transfer US dollars to Canadian using Bitcoin?

texts: I'm a Canadian working for an American company.  I get paid in American which gets deposited into an American account.  To get the money to Canada, I write myself cheques from my American account and deposit into my Canadian account.  Would it be feasible/beneficial to transfer the money via bitcoin (convert USD to bitcoin, then convert bitcoin to CAD) instead of writing the cheques?


texts:
I am struggling to get access to the kind of information I have on cryptowat.ch. For example on Kraken there is an API, but I didn't find how to get the past history, the volume information, etc.

Is there any straightforward solution for this?


texts: Setting minimal amount of nodes to reach consensus

texts:
Is the minimal amount/percentage of nodes that need to agree configurable in a blockchain genesis file?

As far as I can find there is no setting for this, and I assume this is set somewhere in the sourcecode?


texts: I have a basic knowledge about an idea of cryptocurriencies. Recently I have read articles about Zcash. Rumours has it that it's the most profitable cryptocurrency on the scene. Me and my co-worker want to mine Zcash. I know that we need high hashing power. I was thinking about cluster of high-end graphical cards. With our budget we can afford more or less 15 GPU's. My very basic calculation says that we should have something around 300.000 MH/s. Will it be profitable and feasible assuming we want perform solo mining? Is there a good piece of software for Zcash solo mining?


texts:
The verification passed. But nothing happen after that. The balance in both accounts remain the same.
Anything wrong in the way that I build my transaction?
var fpk = new BitcoinSecret("<my private key>", Network.TestNet);
var fspk = fpk.GetAddress(ScriptPubKeyType.Legacy);
var api = new QBitNinjaClient("http://tapi.qbit.ninja/", fpk.Network);
var fbal = await api.GetBalance(fspk, true);
var fcoin = new List<ICoin>();
foreach (var o in fbal.Operations)
{
    if (o.Confirmations < 2) continue; // 2 confirmations
    fcoin.AddRange(o.ReceivedCoins);
}

var builder = fpk.Network.CreateTransactionBuilder();
var tx = builder
    .AddCoins(fcoin)
    .AddKeys(new ISecret[] { fpk })
    .Send(new BitcoinPubKeyAddress("<To address>", fpk.Network), Money.Coins(0.001))
    .SubtractFees()
    .SendFees(Money.Coins(0.00001))
    .SetChange(fpk)
    .BuildTransaction(true);

Debug.Assert(builder.Verify(tx));
var r = await api.Broadcast(tx);

The response was success but with error code:
ErrorCode: INVALID
Reason: "Unknown"
{
  "hash": "a7d08d4f1993ea1b4143738c9ebf7cb4a04cd26fae7e97e3fa0dd0994718cf70",
  "ver": 1,
  "vin_sz": 1,
  "vout_sz": 2,
  "lock_time": 0,
  "size": 225,
  "in": [
    {
      "prev_out": {
        "hash": "a98e4e3ad94d69f415c3849aedfb3d371afb24f49096b4b6de250c52ea9e7608",
        "n": 0
      },
      "scriptSig": "304402201064fbd041900c2fe594a46cd4e0536427c94c82934bd125b3d5efd2863838d802206256840d67972126470443c71cfe1b72d2198a1d771a5eead54123573bafe87a01 030e9c36c9e37c2047f8c42cc5d56ff5ab1fc1b51b716fbbb2fc20201618401c0c"
    }
  ],
  "out": [
    {
      "value": "0.00998000",
      "scriptPubKey": "OP_DUP OP_HASH160 35343be6a983983c1a69871ddf3d604126a8e06f OP_EQUALVERIFY OP_CHECKSIG"
    },
    {
      "value": "0.00009000",
      "scriptPubKey": "OP_DUP OP_HASH160 6652f3e81f9f8a832fecf707fc7b5757bf7faff5 OP_EQUALVERIFY OP_CHECKSIG"
    }
  ]
}


texts:
I'm unable to create a segwit address in Bitcoin Core 15.0.1 64-bit Windows
I have tried multiple times but keep getting the same error.  The following is the output from the console

$ getnewaddress
1KxN5zBSMqCiMfaXpbgpbDipo3fdrWmWnF
$ addwitnessaddress 1KxN5zBSMqCiMfaXpbgpbDipo3fdrWmWnF
Public key or redeemscript not known to wallet, or the key is uncompressed (code -4)

I have also tried changing my encryption password but it did not help.  I do not want to create a whole new wallet.  What else can I do?  Thanks


texts:
Having the difficulty (either in the "bits" form, big integer form, or human-readable format) and a given block hash, how does one know if they solved that block? What is the formula or algorithm for checking it?

(The question might seem trivial, but it does not seem to be described explicitly on the SE or the Wiki)


texts:
For instance take a look at this transaction:

Transaction Size : 1700 bytes

Fee: 133 Sat/Byte

Total: 0.00226898 ~ $33

Outputs: 11

Inputs: 2

Transaction Link

what may cause confirming delay, and is sending with higher fee's helps us avoid issues like this? if so, Bitcoin transactions are so expensive , No?


texts: What is the best way for me to go about writing a new Bitcoin wallet application? Is piggybacking off API's like blockchain.info or coinbase a good tactic? Would the application then be OK to distribute (are said services open source?). Are there alternatives? Can I run my own Bitcoin server and write my own API to go with it instead? What would the steps be involved in that? Would your average punter trust a (legitimate!) wallet that I create or would they feel safer using an app that is built upon a renowned service?


texts:
Bitcoins sent from Mt. Gox, but never have appeared in my account. I have the block # of the transfer.

How can I trace the deposit or find them within my account?


texts:
I run Bitcoind and when I type account lists I get 4 accounts. Why?
How do I know which account is associated with bitcoin-qt? Also I never had any coins and using "move" command I moved 0.1 bitcoin to another account? How is this possible and how do I remove everything and start over?
Do I need to have bitcoin.conf written before I run Bitocind?


texts: Can one safely buy vanity addresses from a third party without risking one's coins from being stolen?

texts: One can easily generate vanity addresses for Bitcoin, but they can take quite awhile to generate. Outsourcing that process to someone with a strong mining rig is an option, but then one runs into the risk of the person generating the address using it without our knowledge to steal our coins. Is it possible to generate vanity addresses in such a manner so as to make it impossible for anyone to steal your private keys?


texts: What will happen, if transaction's rate becomes very high?

texts:
Let's imagine, that the bitcoin network becomes very responsive in the future. So, that the time of exchange of transactions between peers is comparable with a time of evaluation of a bunch of hashes. The bad situation comes, when the transactions rate is so high, that even if someone finds the new block, it becomes invalid with a very high probability due to the new accepted transactions.

Can this possibly slow down the finding of the new blocks? May this even be a problem, or do I miss something?


texts: Not sure if I accidentally double spent my LTC LITECOIN

texts:
LEDGER NANO S - CHROME APP LTC LITECOIN

I just sent two transactions (with different amounts) from one address to the same receiver one after another.

While sending the second the first was still unconfirmed.

The first went through.

The second shows [unconfirmed] and the transaction id [3e454f1dc4a08fdb64ea9e047baf504891934ea8d84ee42732d5d2eebb18e138] does not exist on the LTC blockchain.

Both the amounts of the first and of the second transaction have been substracted from my Wallet Balance.

I've tried following things:

I already reset the chrome app [SETTINGS - TOOLS - RESET APLLICATION DATA]
Clicked on [Synch] severalt times
Waited an hour

I need the following things to happen

[Mandatory] My Balance needs to be restored to the amount before the double spend TX
[Optional] The unconfirmed double-spend-transaction to disappear from the transaction list

Need your advice, thanks in advance

P.S.: This question is also posted on the official Ledger Nanon Forum
https://support.ledgerwallet.com/hc/en-us/community/posts/360000120894-Please-Help-Not-sure-if-I-accidentally-double-spent-my-LTC-LITECOIN


texts:
I'm quite new to anything related to Bitcoin, but let's say that I want to launch a website (in France), where people could buy some items with Bitcoin or could do some bets with Bitcoin. Do I need to register a company to the Chamber of Commerce or could it be a business without any registration?

Thanks


texts:
I have this error from 5 days ago on my 2 servers

  WARNING: abnormally high number of blocks generated, 48 blocks
  received in the last 4 hours (24 expected)

What is this error ? I need to reindex the chain ?

Thanks you


texts: Could bitcoind support SPV mode by setting different args

texts:
There are multi nodes type could be used in bitcoin network.

Could bitcoind support running different types of nodes by different sets of args?

I found many discussion here, but seems no clear conclusion.
Is there a light (SPV) version of bitcoin core (bitcoind)?

Per my understanding, if we use pruning, the node will drop the previous data block, and can not preserve all the transactions of a specific address set.


texts: What's the difference between these two usb miners?

texts:
I'm thinking on buying a USB bit coin miner. And searching in amazon I found these two products, that I think that are the same but I'm not sure because one it's 15$ more cheap than the other.

The products are:
- USB Miner 1
- USB Miner 2

So, what's the difference?


texts: CGMiner freezing on anything above intensity 16

texts:
I have 2 x Sapphire 7950 Boost cards running on Windows. I can only get them running stable on intensity 16 using CGMiner. Anything above that and the whole system freezes up (screen stays on but everything else is unresponsive).

Previously I had them on linux running BAMT, and I could get them running fine on intensity 18/19 for longer.

So I'm positive the cards should be able to handle greater than intensity 16, and I have two more PC's with just a single card in running around 600 KH/s, so I know they can.

What could be causing the system to freeze?  Is it the cards or could it be drivers etc?  Theyr'e only clocked at 1000/1250, with 24768 for thread-concurrency. Nothing over the top, and settings which are fine on the two single card PC's.

Here's my config file:

"kernel"            : "scrypt",
"scrypt"            : true,
"no-submit-stale"   : true,
"temp-cutoff"       : "85,85",
"temp-overheat"     : "80,80",
"temp-target"       : "70,70",
"auto-fan"          : true,

"api-listen"        : true,
"api-port"          : "4028,4028",

"intensity"         : "16,16",
"vectors"           : "1,1",
"worksize"          : "256,256",

"lookup-gap"        : "2,2",
"thread-concurrency": "24768,24768",
"gpu-engine"        : "1000,1000",
"gpu-fan"           : "0-90,0-90",
"gpu-memclock"      : "1250,1250",
"gpu-memdiff"       : "0,0",
"gpu-powertune"     : "0,0",
"gpu-vddc"          : "0.000,0.000",

"expiry"            : "30",
"gpu-dyninterval"   : "7",
"gpu-thread"        : "1",
"sharethreads"      : "32",
"log"               : "5",
"queue"             : "1",
"retry-pause"       : "5",
"scan-time"         : "30",
"temp-hysteresis"   : "3",
"shares"            : "0",

"kernel-path" : "/usr/local/bin"


texts: If I transfer bitcoin into Trezor that has been on a paper wallet since 7-31-17. Can I still get BCH and BTG? Trezor has a coin-splitting tool, but it says that I had to have held Bitcoin in my Trezor on before August 1st.


texts: Calculating Hashrate / Threads correlating to Average Block Time

texts:
Wondering if anyone can provide some detailed fact based information on how pool mining using Fixed Difficulty affects the probability of N number of shares found over T time given the variables X Hashrate / C Threadcount.

Example

Pool mining a cryptocurrency which has a block interval of 1 minute.
CPU mining using a 48 core machine.
When 46 cores are used for a single instance of your mining program, a hashrate of 6 kH/s is achieved.
Setting a fixed difficulty for your miner, you set the config to only attempt to solve shares with a difficulty of > 5,000,000.

Question

Given that luck is in fact a variable of whether or not a share will be found in time for the pool to record the share and credit you the pool side hashes; how do block intervals, specifically short block intervals of 1 min or 30 seconds, possibly affect the potential for more or less found and accepted shares given the hashrate of the system.
With a short block interval, would setting up 46 instances of the mining program, each with its own CPU core affinity of 1 thread per instance, result in a greater chance of finding more overall shares over the long term?
Considering the system may likely not find a share even when all threads are used in one instance at 6000 kH/s, and luck is a factor and variable in the shares one would find:
Would running the 46 instances at 1 thread and each thus having a 1/46th kH/s hashrate possibly yield more fixed difficulty > 5M sized shares, due to the fact that the block interval is so short?
My reason for asking is even a 1 thread instance running at 1/46th the hashrate has a chance of finding a share before the overall network solves the next 30 second block.
Due to the short block time, your system would thus be running 46 instances, and thus making 46 attempts to find a > 5M value share, before the pool cancels all the work done and issues your mining system a new job / getwork.
So do these variables matter, again, when applying to cryptos with SHORT block times.
As the likelyhood of finding a 5M or greater share is small even when all 46 threads are used in one instance producing 6000 kH/s, considering you will be reset and receive a new job / getwork roughly every 30 seconds... are there any advantages to breaking the hashrate up into many instances of lower hashrates, thus making more attempts to solve within the small slice of time before the next job / getwork is issued?

Insight, from a mathematical approach, and factoring the complex and difficult to calculate issue of probability / odds of finding a share in respect to number of attempts vs attempt strength (higher odds / hashrate).


texts: Different Wallets and ScriptSig does it help obfuscation?

texts:
my question is this if you have coins that you are looking to break an identity link (not using mixing services)

does using multiple wallets if you send different amounts of bitcoin help obfuscate the funds etc

so I have three HD Wallets
i have 5 btc send 1.33 BTC to each wallet

when the funds are spent they all use different scriptsigs to unlock the funds right?

so on the blockchain it will show different scripts spent the inputs.

Does this do anything?

Last question, do HD Wallets use a new script sig for each transaciton since they are using a new Pub and Priv Key for the transaction.

Am I Missing anything?


texts: Unable to run the Miner using 2Pac BM1384 USB miner

texts:
I have created a batch file and  I tried to run it. But when I click on the batch file to run it. But the command line window appears for a fraction of a second and then disappears.

cgminer.exe  --gekko-2pac-freq 200 -o stratum+tcp://peercoin.ecoining.com:3336 -u username.1 -p x

===========================================================
I have tried the below in a batch file,  it gives the below output in the command line

cgminer.exe  -o stratum+tcp://peercoin.ecoining.com:3336 -u username.1 -p x

       cgminer version 4.10.0 - Started: [2017-12-24 04:09:20.602]

 (5s):528.0M (1m):507.5M (5m):516.4M (15m):366.6M (avg):516.0Mh/s
 A:0  R:0  HW:2  WU:5.6/m
 Connected to peercoin.ecoining.com diff 16.4K with stratum as user username

      Block: c22a0a3f...  Diff:1.61G  Started: [04:15:53.420]  Best share: 98

 [U]SB management [P]ool management [S]ettings [D]isplay options [Q]uit

     0: AMU GS-10018:                         | 528.0M / 516.0Mh/s WU: 5.6/m

 [2017-12-24 04:09:16.557] Started cgminer 4.10.0
 [2017-12-24 04:09:19.601] Probing for an alive pool
 [2017-12-24 04:09:20.083] Pool 0 difficulty changed to 16384
 [2017-12-24 04:09:20.602] Network diff set to 1.61G
 [2017-12-24 04:15:53.420] Stratum from pool 0 detected new block at height 0

============================================================

Is the issue with the script for batch file?

The Syntax for the cgminer.

Run cgminer using following the commands below:

cgminer.exe --gekko-2pac-freq 200
-o stratum+tcp://solo.ckpool.org:3333
-u (your username here) -p (your password here)

Also how to verify the CGi miner is using the Gekko  2Pac BM1384 USB miner?


texts: How does Open Transactions handle counterfeiting of currencies?

texts: Say I create my own currency in Open Transactions, and begin trading it on OT with other users. What prevents some user from creating copies of my currency? I'm not sure its the same situation as double spending. I'm talking about someone who doesn't have any of my money simply creating it out of thin air and selling it to other people.


texts: Litecoin daemon is not responding to API calls

texts:
Just before few hour I have setup bitcoin daemon on my ubuntu server and tested it with API and it is responding very well. Now I have installed litecoin daemon on the same server and used copied the same php files with a little sytax changes like change in username and password and port number but it is not responding to any API calls.

Content of litecoin.conf are :

server=1
daemon=1
rpcuser=my_username
rpcpassword=mypassword
rpcport=9332

Content of litecoin.php

<?php
include_once('jsonRPCClient.php');
$variable = $_GET['variable'];
$litecoin = new jsonRPCClient('http://my_user:my_password@127.0.0.1:9332/');
if($variable=='getnewaddress')
{
echo $litecoin->getnewaddress();
}
else if($variable=='getinfo')
{
print_r($litecoin->getinfo());
}
else
{
echo "hello";
}
?>

Any help of what I am doing wrong here ?

I was trying to figure out why php file is not throwing any error if there is any then I discovered that error_reporting in php.ini file is turned off after turning it on I got following error while executing litecoin.php on the browser :

Warning: fopen(http://...@myserveraddress.com:9332/): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /var/www/jsonRPCClient.php on line 132

Fatal error: Uncaught exception 'Exception' with message 'Unable to connect to http://myuser:mypassword@myserveraddress.com:9332/' in /var/www/jsonRPCClient.php:140 Stack trace: #0 /var/www/litecoin.php(12): jsonRPCClient->__call('getinfo', Array) #1 /var/www/litecoin.php(12): jsonRPCClient->getinfo() #2 {main} thrown in /var/www/jsonRPCClient.php on line 140


texts: What is the technical difference between BTC and LN wallets? Are they generated via a diferrent algorithm or format?


texts: How does not practicing address reuse hurt my privacy?

texts: If I never conduct transactions from an IP address associated with my real life identity and never conduct a transaction with someone who knows me in real life how can using the same address all the time (for the sake of simplicity) hurt my privacy?


texts: Saving a customer's info so I can accept bitcoin

texts: I have a business that basically works using a subscription (I'm simplifying here). I see that Stripe accepts Bitcoin, but it's for a one time payment. Is there any way to save a customer's Bitcoin info, or is it just for one time payments? The nice thing about a credit card is you can keep charging it...


texts: recovering coins from a faulty laptop to my desktop

texts: My laptop screen died and although I was able to recover all the data when I reinstalled qt on my desktop and it finally synced after some crashes there was no transaction history and 0 balance. I upgraded to 8.5 Qt but still nothing.I have backups of wallet.dat but I did encrypt it on my laptop. have read a ton of posts but nothing seems to cover how i get bitcon qt to open or read the dat file. Its been six months since my last transaction, do i need to recover other data from my laptop and how do i know if my encrypted wallet still has info on it? help a midlife crisis!


texts:
After some time away, and a dead Vista PC, I have come back to Bitcoin and installed the latest (0.5.1-beta) on Windows 7. (Don't worry, I didn't lose my wallet.)

On my old machine, using bitcoin.exe, I was able to connect on port 8332 and send a jsonrpc command to back up my wallet. However, I have now forgotten the command-line parameters (if any) I used for this.

Here are the (redacted) contents of my bitcoin.conf file:

rpcuser=xxxxxxxx
rpcpassword=xxxxxxxxxxxx
gen=0
rpcallowip=192.168.2.6
rpcallowip=127.0.0.1
paytxfee=0.01

The principal symptom is this (from python):

  IOError: [Errno socket error] [Errno 10061] No connection could be made because
  the target machine actively refused it

Using bitcoind.exe, however, "it all works".

Any suggestions?

(BTW sorry for the weak tag; I don't have enough karma to create my own)


texts:
blockchain have been zero help. I need to know how I can get a private key to release my funds

I transferred funds from the exchange blockchain lost it. I had to find it myself I transferred it to imported wallets and had a watch only tag on it. I need these funds, but need a private key how do I get one


texts: Should block height or MTP or a mixture of both be used in a soft fork activation mechanism?

texts:
Should block height or MTP (median time past defined in BIP 113) or a mixture of both be used in an activation mechanism like BIP 8 or BIP 9 for defining the timings of the state transitions?
What are the advantages and disadvantages of both and how do they compare?


texts: Which framework is best for eWallet bitcoin development?

texts: What are the advantages/disadvantges of various web frameworks like Django, Ruby on Rails, Flask, etc when it comes to Bitcoin? Are some better at interfacing with the daemon than others? Do some implement security better or have holes that make them inappropriate for bitcoin development? Which is the best?