Recent Questions – Bitcoin Stack Exchange

Recent Questions – Bitcoin Stack Exchange

most recent 30 from
Not able to connect to bitcoind on mac mini

2021-03-31T10:30:05Z 2021-03-31T10:30:05Z

<p>I’m running Bisq v1.6.1 on a iMac and that works fine using &quot;use provided bitcoin Core nodes&quot;
I also running a bitcoin core node on a mac Mini in the same local network on address</p>
<p>Putting this address in &quot;Use custom Bitcoin Core nodes&quot; and also checking this radio button does not work. The &quot;Bitcoin network peers&quot; stays at 0</p>
<p>The network in itself is working, as I can connect to the mini using the remote desktop</p>
<p>I found out that this issue is due to the fact that ports 8333 and 8332 are closed on the mac mini.</p>
<p>output from nmap</p>
8332/tcp filtered unknown

8333/tcp filtered bitcoin
<p>pf.conf looks like this:</p>
<pre><code>pass in proto tcp from any to any port 8332
pass in proto tcp from any to any port 8333
<pre><code>sudo pfctl -f /etc/pf.conf
sudo pfctl -E
<p>Output from sudo pfctl -sr:</p>
<pre><code>No ALTQ support in kernel
ALTQ related functions disabled
pass in proto tcp from any to any port = 8332 flags S/SA keep state
pass in proto tcp from any to any port = 8333 flags S/SA keep state
<p>My bitcoin.conf looks like this</p>
<pre><code># Bitcoin daemon

# Network

# Connections


<p>Also rebooting doesn’t help</p>
How can I get Bitcoin Cash price?

2021-03-31T10:13:25Z 2021-03-31T10:13:25Z

<p>Is it any public API which show Bitcoin Cash exchange rate? An approximate value is satisfying.</p>
Mining pools repayment in a coinbase tx

2021-03-31T03:28:28Z 2021-03-31T04:57:32Z

<p>Is it possible to add more outputs than one to the coinbase transaction? And if it is, can miners use them to repay users for renting hash to the pool?
I think in this case they know who to pay and this could prevent blocks from being found almost instantly and empty.</p>
BTCPayServer Setup and Payment Flow

s k
2021-03-31T01:05:45Z 2021-03-31T02:18:14Z

<p>My intention is to setup a site with 1 or 2 products, which user can select the product that they wish to use and pay with arbitrary amount.</p>
<p>My BTCPayServer Setup</p>
<li>Allow anyone to create invoice</li>
<li>Network fee: on every payment</li>
<li>2 confirmation</li>
<li>Type: Point Of Sales</li>
<li>User can input custom Amount</li>
<p>Am I doing it correctly?</p>
<p>And what are the API and flows that I need to invoke from my own website to achieve the following:</p>
<li>User select the item and amount from my own website (not BTCPay)</li>
<li>User select pay, and my website will display a QR Code</li>
<li>User scan and pay.</li>
<li>My website check for the payment status</li>
<p>Seems like I only need to create an invoice and then monitor the status of the invoice. Is that correct? But why do I need to setup Apps and my Products in BTC Server? Is that necessary?</p>
Coinbase API create new address returns 404 “not found”

2021-03-30T21:49:29Z 2021-03-31T06:02:49Z

<p>I am trying to create a new address for my Coinbase account to try putting some coins in it with my application.
I am using .Net core for accessing the Coinbase endpoint.
I have tried both creating requests manually and using the NuGet package &quot;Coinbase&quot;, for casual requests like fetching user data, changing user data (nickname) everything is working fine (so the error is not in bad request creation or similar) except when I want to create a new address for putting some crypto in it. It returns not found. Also I tried fetching the list of addresses and it also returns 404 (I have plenty of addresses when I check my account under Settings/Crypto Addresses).
Do I miss some configuration on my Coinbase account? I am using the API key and API secret and I granted all permissions to it. I have linked that account to Coinbase wallet on my phone.
Thanks for the help.</p>
Bitcoin transaction confirmed and broadcasted to the Network [closed]

Frank Villa
2021-03-30T21:18:30Z 2021-03-31T10:35:30Z

<p>I have a transaction that was broadcast to the network on May-11-2020 and has 47,040 confirmations. It has 2 outputs, one is spent and the other is unspent.</p>
<p>I guess what I am asking is where to go from here.</p>
<p>I am not sure if there is a receiving address. But this is my address. This is my transaction in the network</p>
<pre><code>This transaction was first broadcast to the Bitcoin network
on May 11, 2020 at 10:56 AM PDT. The transaction currently has
47,040 confirmations on the network. At the time of this
transaction, 0.14669553 BTC was sent with a value of $1,246.08.
The current value of this transaction is now $8,652.56.

Hash f0ff6231e0a9ba3fc5d0ae5f618850e0a57a161fd69007bfbdfba6e1c6b33e5c
2020-05-11 10:56
3GmS7i3Pm8xA4Jb9fwYCbT7UkJWDuNiWAX 0.14689000 BTC
bc1qk7h6nq2j4whztak03puk05t9zh85aup330gu4utal5n0d5k25usq0zwgh3 0.06567816 BTC
1D97VBoikYqWzt29AZ3jXeYqstYnq1CyhJ 0.08101737 BTC
Fee 0.00019447 BTC (70.206 sat/B – 25.388 sat/WU – 277 bytes)
0.14669553 BTC

Hash f0ff6231e0a9ba3fc5d0ae5f618850e0a57a161fd69007bfbdfba6e1c6b33e5c
Status Confirmed
Received Time 2020-05-11 10:56
Size 277 bytes
Weight 766
Included in Block 629993
Confirmations 47,040
Total Input 0.14689000 BTC
Total Output 0.14669553 BTC
Fees 0.00019447 BTC
Fee per byte 70.206 sat/B
Fee per weight unit 25.388 sat/WU
Value when transacted $1,246.08

Inputs HEX ASM
Index 0
Output Address 3GmS7i3Pm8xA4Jb9fwYCbT7UkJWDuNiWAX
Value 0.14689000 BTC
Pkscript OP_HASH160 a55fbed7d8fe42bb11b66f9ae9bfe9ebfcbe3dfa OP_EQUAL
Sigscript 0020abde5e3877501ef34dcda0f42aa3f52673b395a866ad61f3660d2d036a7c5fc4

Index 0
Details Spent
Value 0.06567816 BTC
Pkscript OP_0 b7afa98152abae25f6cf887967d16515cf4ef0318bd1caf17dfd26f6d2caa720
Index 1
Details Unspent
Address 1D97VBoikYqWzt29AZ3jXeYqstYnq1CyhJ
Value 0.08101737 BTC
Pkscript OP_DUP OP_HASH160 852a405633df80b64299a23284d9bf1ec7dd0d75 OP_EQUALVERIFY OP_CHECKS
<p><a href=”” rel=”nofollow noreferrer”>Here is a link to the transaction</a></p>
Create wallets on website PHP

Jacopo Mosconi
2021-03-30T20:31:05Z 2021-03-31T10:43:48Z

<p>I am trying to create a website that allows the deposit of cryptocurrencies (BTC / ETH / LTC) in the account, consequently I need to create a wallet at the personal registration for each of these 3 cryptocurrencies.
I would also like it to be possible to send crypto through the wallets registered on the site (p2p) and the possibility of receiving / sending crypto.</p>
<p>How can it be done? Is it possible to do this in PHP?</p>
<p>Every post I found on the forum is very old, probably a lot of things have changed.</p>
BTC on blockchain

Shirley Ferguson
2021-03-30T19:54:48Z 2021-03-30T21:05:19Z

<p>I see my Wallet address on the Blockchain but it says spent and what does that mean? It did not arrive to the wallet i sent it too! I need it to be located and returned or sent to the wallet i gave.</p>
Pending Transaction

2021-03-30T19:54:35Z 2021-03-30T21:09:32Z

<p>I sent out bitcoin to a wallet with a low fee. It’s 5 days now, it still says pending and when I try tracking the wallet ID it says &quot;No transaction found&quot;. The funds were debited from my wallet immediately. I don’t know if this is already. I sent it from RockitcoinX app.</p>
How can I get number of holders of BEP20 tokens

Dark Sage
2021-03-30T18:05:33Z 2021-03-30T18:05:33Z

<p>If I use BSC API I can get token info but it doesn’t include number of holders. Do you know how can I get it ? Or maybe using bitquery for bsc network ?</p>
Im looking for an option to buy some coin beside of Bitcoin? Do you have any suggestion which altcoin should i buy? [closed]

Amanda N. Auwdina
2021-03-30T17:23:51Z 2021-03-30T17:23:51Z

<p>Im looking for other option beside of bitcoin, what kind of coin do you think i should buy?</p>
What are the main obstacles to supporting Lightning Network in Bitcoin Core?

2021-03-30T17:13:15Z 2021-03-31T09:51:44Z

<p>I have found <code>c-lightning</code> doesn’t support Windows, so there are few projects that support Lightning and are written in C/C++ and run on Microsoft Windows.</p>
<p>It strikes me that it would be useful if Bitcoin Core supported this in and of itself. But it doesn’t.</p>
<p>You might argue that it would add a ton of complexity to the carefully audited Bitcoin Core source code.</p>
<p>Couldn’t it be made into some sort of &quot;plug-in&quot;, at least, which adds support right into Bitcoin Core?</p>
<p>What obstacles are there to adding C/C++ Lightning Network support to Bitcoin core?</p>
How do I use the getblocktemplate RPC command of Bitcoin Core GUI? I tried the following usages but none of them worked

2021-03-30T14:40:04Z 2021-03-30T17:07:03Z

<p>I tried the following commands, but none of them worked.</p>
<pre><code>-getblocktemplate &quot;segwit&quot;
-Error: Error parsing JSON: segwit

-getblocktemplate (&quot;segwit&quot;)
-Error: Error parsing JSON: segwit

-getblocktemplate &quot;rules&quot;: [&quot;segwit&quot;]
-Error: Error parsing JSON: rules:

-Error: Error parsing JSON: ) (code -8)

-Error: Error parsing JSON: Û@nŸé(2

org.multibit.walletProtect.2 ZYour wallet description`
What’s a good example of Layer 1 vs Layer 2 features technical advantage?

Omar Saadoun
2021-03-17T21:34:06Z 2021-03-31T10:47:19Z

<p>I’m looking for a good example and explanation from a software architecture perspective BUT for general audience about the benefits of solving and having blockchain features on Layer 1 not disregarding any Layer 2 solution or blockchain but in fact comparing.</p>
<p>In example any scaling solution for off-chain transaction will definitely face speed issues in comparison to one that was solved on the original design of the blockchain.</p>
<p>It’s not a fair comparison because both have their reasons, their strengths and their fame but if you take lightning or æternity state channels you will have some design flaws that should be talked about to help people to understand and decide based on more than just marketing.</p>
<p>Again this isn’t in any way a critic towards any of the solution but an example to talk about design and architecture and not about which had better marketing.</p>
What if a multibit classic private key is decrypted into garbled codes?

2021-02-28T05:39:09Z 2021-03-31T12:06:05Z

<p>7 years ago I exported the multibit classic wallet and private key, both encrypted. Only remember the key password now. Problems occurred when I tried to decrypt the key in following ways:</p>
<li><p>installed MultiBit Classic 0.5.17 from web (might be dangerous).</p>
<p>Created a new wallet and tried &quot;tools–import private key&quot;. Chose the old key, input the password and clicked &quot;decrypt&quot;. The password seemed correct because there wasn’t a fail note, which always appeared for other passwords.</p>
<p>Then, when I clicked &quot;import private key&quot;, a fail note said &quot;<strong>could not understand address in import file</strong>&quot;.</p>
<p>To compare I exported a new encrypted private key and followed steps above. It worked well. Though the new key had a wrong timestamp in 2014, it didn’t hinder the import.</p>
<li><p>Used openssl in cmd to do direct decryption, found the only code:</p>
<p><code>openssl enc -d -p -aes-256-cbc -md md5 -a -in multibit.key -out key.txt -pass ‘pass:myPassword'</code></p>
<p>that can decrypt the new key successfully. When decrypting the old key, it didn’t show any error either, no &quot;bad decryption&quot;. But the plain text was garbled like</p>
<p>_決[qp嗽雔紧鸘:?A濵彆r闞? &amp;*绉i#唹B7鼞_z?</p>
<p>Tried lots of text-code-converter and they only gave different garbled text…</p>
<p>How would this happen? Was the old key exported incorrectly in 2013? Is there any hope?</p>
Error: Prune mode is incompatible with -txindex

2021-01-28T10:14:37Z 2021-03-30T18:03:30Z

<p>How do i remove this prune mode??</p>
Is it possible to use BitGo’s wallet with other software (Electrum or else), what is the used derivation path?

2021-01-17T08:34:51Z 2021-03-31T04:54:15Z

<p>BitGo wallets are based on a 2-of-3 multi-signature, the end user have access to:</p>
<pre><code>- Public key (xpub) of the 3rd signer (as the main wallet xpub)
– Native Segwit (Bech32), bc1… addresses to receive BTC assets
– Private key/seed (BIP39) of the 1st signer (and public key xpub as well)
– Private key/seed (BIP39) of the 2nd signer (and public key xpub as well)
<p>Seeds can be converted to private key <a href=”” rel=”nofollow noreferrer”>here</a>, BitGo provide it’s own <a href=”” rel=”nofollow noreferrer”>recovery-tool</a> (it’s debug infos can be used to get the xpub keys of the first and second signer).</p>
<p>Public xpub keys can be converted to Zpub (p2wsh) <a href=”” rel=”nofollow noreferrer”>here</a> or with <a href=”” rel=”nofollow noreferrer”>Electrum</a> with the command <code>./electrum.AppImage convert_xkey ‘xpub…’ ‘p2wsh’ –offline</code> (Electrum and xpub-converter uses <a href=”” rel=”nofollow noreferrer”>those specs</a> and derivations paths).</p>
<p>While it is possible to import the BitGo wallet into Electrum without error, Electrum never generate the same receiving address as BitGo, Following <a href=”″ rel=”nofollow noreferrer”>this</a> and <a href=”;sl=de&amp;u=;prev=search&amp;pto=aue” rel=”nofollow noreferrer”>this</a> bitcointalk’s forum threads:</p>
<p><strong>1. What is the derivation path used by BitGo Bitcoin wallet?</strong><br />
<strong>2. Is it possible to use BitGo wallet in any other software like Electrum or else?</strong></p>
<p><em>Other related QA: <a href=””>1</a>, <a href=””>2</a>, <a href=””>3</a>, (note that I am using Bitgo’s wallet through Bitwala)</em></p>
How to improve bitcoin-qt when downloading blockchain? (very technical, dev views appreciated)

2020-10-30T22:43:38Z 2021-03-31T07:02:40Z

<p>GitHub suggested discussing here before bothering developers with an issue.
So be it! :)</p>
<p>I’m running Bitcoin Core Version v0.20.1 and Linux Mint 18.3 on crappy old hardware. Pruning blockchain to 2 G and setting <code>dbcache=2048</code> didn’t help much. Moving <code>datadir</code> from HDD onto a USB-Stick did a little.</p>
<p><code>top</code> says CPU around 20% can reach up to 40 if I manually drop slow or unresponsive nodes.
CPU frequency is rarely going up. So, no issue here.</p>
<p>Memory usage is fine too, actually a lot of headroom. Looks like bitcoin-qt doesn’t need that much cache.</p>
<p>Swap is empty. (<code>vm.swappiness=5</code>)</p>
<pre><code>Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util
sdc 0,00 0,00 549,00 0,00 51125,00 0,00 186,25 1,06 1,92 1,92 0,00 1,70 93,60

<p>Bottleneck seems to be file I/O. Which confuses me since that is what a cache is meant to fix, isn’t it?</p>
<p>Now to my questions:</p>
<p>Is there anything I am missing to improve disk access?
Is there an open issue on GitHub regarding this already?</p>
<p>And secondly for the experts on dropping lazy nodes. Can you give me a hint at which classes I have to look to understand the strategy? Or even better a link to the discussions on that topic.<br />
For I don’t want to start an arms race between clients seeking faster download and nodes trying to serve fair.</p>
<p>Short summary what I’ve learned so far.</p>
<li>Don’t use USB-Sticks for <code>datadir</code>. For bitcoin-qt might shutdown due to Fatal LevelDB errors.</li>
<li>Pruning increases disk I/O while saving disk space.</li>
<li>Even on crappy old hardware memory and CPU are most probably not the limiting factor.</li>
Blockchain Imported Address

2020-03-05T05:57:37Z 2021-03-30T22:04:30Z

<p>I have created a blockchain wallet after l loaded it the next day the balance was zero but l have realized there is an imported address which l didn’t import. Is there any way l can recover the funds back. l can see all the transactions of the imported address.</p>
Why can’t a user import keys to the keypool for a blank wallet?

2019-09-24T09:46:22Z 2021-03-30T19:03:50Z

<p>I am creating a blank wallet with the intention of adding keys to the keypool but get an error <code>keys can only be imported to the keypool when private keys are disabled</code></p>

<p>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?</p>
What could stop bitcoin-seeder from “hearing” DNS queries?

2018-10-24T19:20:10Z 2021-03-31T06:03:15Z

<p>I’m running several <a href=”” rel=”nofollow noreferrer”>bitcoin-seeders</a>. Under Ubuntu 14.04 &amp; 16.04, they run fine and answer queries.
On Ubuntu 18.04, however, <em>dnsseed</em> does not detect the queries sent to it. I know the machine is receiving the query because DNS requests are monitored with <a href=”” rel=”nofollow noreferrer”>dnstop</a>, and every DNS query sent with ‘<em>dig</em>’ is sensed by dnstop and reported, but <em>dnsseed</em> shows “0 DNS Requests”.<br>
There is no firewall running and apparmor has been disabled. What tests could be run or troubleshooting strategy followed to find the problem ?</p>

<p><strong>Under Ubuntu 16.04:</strong></p>

<pre><code>Loading dnsseed.dat…done Starting 4 DNS threads for on (port 5353)…….done Starting seeder…done [18-10-24 19:27:41] 274/37963 available (1258 tried in 1000s, 38980 new, 1536
active), 0 banned; 3 DNS requests, 3 db queries

<p><strong>Under Ubuntu 18.04:</strong></p>

<pre><code>Supporting whitelisted filters: 0x1,0x5,0x9,0xd Loading
dnsseed.dat…done Starting 4 DNS threads for on (port 5353)…….done Starting seeder…done Starting 96 crawler threads…done [18-10-24 19:25:23] 3593/87930 available
(64497 tried in 3805s, 21897 new, 1536 active), 1 banned; 0 DNS
requests, 0 db queries


<pre><code>Queries: 0 new, 1363 total Wed Oct 24 19:39:03 2018
Replies: 0 new, 191 total

Query Name Count % cum%
————————– ——— —— —— 1169 85.8 85.8 117 8.6 94.4 24 1.8 96.1 20 1.5 97.6 14 1.0 98.6 12 0.9 99.5 5 0.4 99.9 2 0.1 100.0
Are there any blockchain parsers which calculate virtual sizes of transactions?

2018-01-04T04:59:04Z 2021-03-30T21:01:30Z

<p>”The getrawtransaction RPC gets a hex-encoded serialized transaction or a JSON object describing the transaction.”</p>

<p><a href=”” rel=”nofollow noreferrer”></a></p>

<p>The output includes the vsize (virtual size) of the transaction. Are there any blockchain parsers show the vsize?</p>
Why proof of work rather than posting to a public forum?

Josh Brown Kramer
2018-01-02T02:50:06Z 2021-03-31T01:19:45Z

<p>I understand that proof-of-work plus a block chain is one way of creating a trustworthy public ledger of transactions. But holy hell, <a href=”” rel=”nofollow noreferrer”>the cost to society in terms of energy consumption is VERY high per transaction</a>. I participate in conversations online all the time where I implicitly trust that I am seeing the full discussion and that everyone can see my input. Usenet, for example, does this in a decentralized way. Couldn’t we just post our transactions to usenet save some resources?</p>
Which is the smallest hash that has ever been hashed?

2017-12-16T19:52:58Z 2021-03-31T09:51:52Z

<p>Let’s assume, the hash <code>00000000000000000024c0bdbec66a889778c00bc69be0a96cbbd98b75c3ce09</code> of block #499644 is smaller than <code>
0000000000000000002d429f39afec70c938e888c3417d690bbc85e83529991c</code> of block #499645.</p>

<p>They both have 18 Zeros, then <code>2=2</code>, but then <code>4&lt;d</code>.</p>

<p>Which is the smallest hash that has ever been hashed during cryptomining? How many zeros? Which block?</p>
trying to get text of a field in json rpc 2.0 response into ar PHP variable

2017-08-19T00:19:05Z 2021-03-31T11:01:35Z

<p>I use json_decode to vardump a return which yields</p>


Important Facts of Gamestop Entering into Cryptomarket
UniFarm Raises $2 Million After Launching Innovative Farming Pool Featuring 17 Top DeFi Projects
XRP, FTX Token, Waves Price Analysis
Top 5 Bitcoin Scams you should be aware of!
Instagram Influencer Accused of Scamming Followers Out of $2.5M In Bitcoin Scams
five assorted color cars parked inside room
4 Amazing Perspectives of Cryptocurrency Characteristics, Everyone Should know
How bitcoin Transactions Work
Bitcoin For Beginners: 5 Plus Important Reasons Why You Should Understand The Future Impact of Bitcoin On Society
5 Important points about Blockchain, Cryptocurrency, and Bitcoin(Safe or Not)
4 Best Crypto Coins on Coinbase
flat lay gadgets beside bearded man
person shopping online

Get more stuff like this
in your inbox

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.