Bitcoin Forum
May 02, 2024, 08:45:58 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 [115] 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 »
2281  Bitcoin / Bitcoin Technical Support / Re: How is a tx in a block displayed? And Segwit Question. on: December 22, 2020, 12:04:02 PM
Is a tx in a block just displayed as a txid or is the whole tx displayed (like: decoderawtransction HEX)?

If you actually meant stored (rather than displayed), the answer is the block contain whole tx.

But to send block between nodes, usually compact block is used to save bandwidth/fasten verification time since the node already have most/all transaction on it's mempool and node can simply ask another node for missing transaction.

More info, https://bitcoincore.org/en/2016/06/07/compact-blocks-faq/

Because I recently watched a video about SegWit and I learned that SegWit takes away the witness data and puts it in a additional block.

I think they're using the term incorrectly.

And when a node doesnt support segwit, how can he validate and accept a block when is bitcoin core version rejects the additional segwit block and the witness data is missing?

Node which support SegWit will send block without witness data and older node will see SegWit input as "anyone-can-see" "anyone-can-spend" script.
2282  Bitcoin / Development & Technical Discussion / Re: How to delete unconfirmed transactions in Bitcoin mempool on: December 22, 2020, 11:27:54 AM
I don’t want to analyze transactions below 0.9. There is currently no way to restart the bitcoind node because I want to analyze every transaction with a transaction greater than 0.9

Why don't you just grab all transaction on mempool, then filter out all transaction that doesn't meet your criteria before begin the analysis process?

Can I get all the transactions in the memory pool first, and then clear the transactions in the memory pool? I hope not to restart the bitcoin node

AFAIK there's no command to clear your mempool
2283  Bitcoin / Development & Technical Discussion / Re: Won't Bitcoin block size be resolved through simple market economics? on: December 18, 2020, 12:44:01 PM
You're missing the point, bitcoin community mostly agree that running a full node should be cheap, which means block size are limited with hardware and internet growth rate.

IMO blockchain size and internet connection aren't the worst part, but rather CPU, RAM and storage speed,
1. Can the CPU verify transaction and block real time?
2. How much RAM needed to store all cached data?
3. Can the storage handle intensive read/write? Ethereum already suffering this problem

Nobody makes a consumer 8TB or 16TB drive, so at that point bitcoiners would have to know how to set up RAID or LVM to combine multiple disks to run a full node. This can't easily be done on Windows or macOS and maybe even some Linux users will struggle setting it up.

At very least, you could setup RAID and LVM with GUI application. I don't know about macOS, but Windows GUI application to setup RAID, even though they use term "storage spaces" and "storage pools"
It's different case if we're talking about hardware-level or BIOS-level RAID setup.
2284  Bitcoin / Bitcoin Technical Support / Re: Pruned mode syncing doesn't cache file writes? on: December 16, 2020, 12:19:14 PM
Here's the result with command sudo iotop -a with txindex enabled for about 80 minutes.

Code:
    TID  PRIO  USER     DISK READ DISK WRITE   SWAPIN      IO    COMMAND                 
  14736 be/4 user      0.00 B     20.50 M  0.00 %  0.00 % bitcoin-qt [b-scheduler]
  15497 be/4 user   1904.77 M      8.77 M  0.00 %  4.67 % bitcoin-qt [b-msghand]                                      

Unfortunately iotop separate based PID and remove total read/write if the PID is closed, so i doubt my result is useful at all.

SSD have hundred TB write endurance
Some 120GB SSDs, like the Crucial BX500 or Kingston A400, have only 40 TBW. Twice that much in the 240GB models. A nice mid-ranger like the MX500 500GB has 150 TBW.

I forget entry-level and small capacity SSD have lower write endurance.
2285  Bitcoin / Development & Technical Discussion / Re: Why would it be a bad idea to snapshot the blockchain and prune it for everyone? on: December 15, 2020, 11:32:24 AM
I previously thought pruned mode actually syncs the blockchain and only stores all the blocks containing txs from your wallet, making it require a complete resync in case of importing private keys or a new "wallet.dat" file - hence why I never tried it out.

You also need to complete resync download if you intentionally close the wallet and it's long enough where unscanned block already pruned.

I previously thought pruned mode actually syncs the blockchain and only stores all the blocks containing txs from your wallet, making it require a complete resync in case of importing private keys or a new "wallet.dat" file - hence why I never tried it out.
It only stores the block as defined in your size for the pruning. It does however, store all the transactions related to the wallet (and it's addresses) that you've synchronized with. Since it discards all the blocks prior to your pruning limit, it cannot retrieve any information about imported addresses/wallets.

Pruned mode also stores UTXO (also called chainstate), which required to verify whether the input is valid or not.

2286  Bitcoin / Development & Technical Discussion / Re: Maths Q1 - address to key ratio on: December 15, 2020, 11:15:03 AM
There are 2256 valid private keys, 2256 valid public keys and 2160 valid addresses.

actually there are a little less than 2256 valid private keys which are from 1 to N(1) (equal amount of public keys).
there are also virtually unlimited number of addresses because an address is the equivalent of a customized script. for example you can create both P2PKH and P2WPKH addresses from a single private key. then you can also create custom P2SH scripts in which you set any kind of script using that same private key.

(1) in hex FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141
in decimal 115792089237316195423570985008687907852837564279074904382605163141518161494337

If we're going to such detail, don't forget there are multiple public key representation (compressed, uncompressed & hybrid) & multiple address format (P2PK, P2PKH, P2SH, P2WPKH, P2WSH) where both P2SH and P2WSH address depends on the script itself, which makes the answer to OP question more complicated.
2287  Other / Meta / Re: Do we not nuke - Brand New PM spammers?? on: December 14, 2020, 11:47:58 AM
Consider disable option "Allow newbies to send you PMs." on your profile option (you can find it by click "Profile", then "Personal Message Options").
2288  Bitcoin / Bitcoin Discussion / Re: Crypto Wallet Regulations: A damn good time to be paranoid on: December 14, 2020, 11:41:01 AM
achow101's post in there hits the nail on the head. Even if you set up a peer-to-peer implementation of Git for developers to continue to work on the code, how do you also implement open discussion for the submission of bugs, issues, and comments? How will you manage the communication?

Matrix protocol could be the answer, i saw few people mentioned it when talking about non-centralized communication protocol. I don't know practical is it for software development though.
2289  Other / Beginners & Help / Re: What crypto book should I buy? on: December 10, 2020, 10:06:52 AM
EDIT: take a look at how thin this thing is. It's pretty much a booklet lol.



Need ruler for comparison Tongue

@mk4 I have heard a lot of good things about Andreas Antonopoulos but most people would recommend Mastering Bitcoin. This is the first time I hear someone recommend The Internet of Money. What would you say is the difference between those two?

Mastering Bitcoin have many technical information, while The Internet of Money doesn't contain technical information. The book have it's own website at https://theinternetofmoney.info
2290  Alternate cryptocurrencies / Service Discussion (Altcoins) / Re: MyEtherWallet Cold Storage Question on: December 06, 2020, 11:31:15 AM
What you're looking is BIP39, which is about mnemonic words generation which support passphrase/password. Ethereum does support BIP39, but the downside is, if you enter wrong passphrase during recovery, you'll get different address.
I don't know if MEW have option to use passphrase when generate mnemonic words, but you always could use https://iancoleman.io/bip39/
2291  Bitcoin / Hardware wallets / Re: How to significantly decrease the randomness of your newly generated seed phrase on: December 05, 2020, 12:45:26 PM
Sounds cool. but honestly i would rather use CSPRNG library or /dev/urandom from my terminal

Code:
cat /dev/urandom | xxd -l 16 -p
Actually, has there been a successful attempt to intentionally sabotage the RNG within an OS during a key generation?

I've seen few news about RNG sabotage on library or programming language (mainly javascript) level, but never on OS level.
After all, if you could sabotage the OS which require superuser/root, there are more practical ways to steal/intercept one's data.

But at least there are few vulnerability about RNG on linux kernel,
https://www.cvedetails.com/cve/CVE-2009-3238/
https://www.cvedetails.com/cve/CVE-2007-4311/
https://www.cvedetails.com/cve/CVE-2018-1108/
2292  Economy / Service Discussion / Re: Best Bitcoin Payment Gateway For WordPress? on: December 02, 2020, 10:05:37 AM
As some member said, BTCPay is best option, the only downside is you need to setup BTCPay server by yourself. If you don't have ability to setup it by yourself, you can use third-party hosting (https://docs.btcpayserver.org/ThirdPartyHosting/), but you must trust them.

You can checkout Bitpay, I'm not certain if it is integrated with WordPress, but a quick search around suggests so. You would do your research on this.
It's open source and operates on an API. It also works with electrum wallets and is compatible with segwit addresses.

OP ask for best bitcoin payment gateway, not worst bitcoin payment gateway.
2293  Bitcoin / Bitcoin Technical Support / Re: Is there any way to verify whether Bitcoin Core is truly running through Tor? on: December 01, 2020, 10:26:26 AM
Do you remember where you read it? I never heard Bitcoin Core would connect Tor if Tor is detected.
I looked up the link again, and I think I understood it the wrong way. Here's the source of the information (this is a tutorial for setting up a Tor hidden service on Bitcoin Core, which is a way to anonymously synchronize the wallet as well as anonymously help the network yourself as far as I can tell):

Quote
At this point your node will work over Tor without further configuartion. Bitcoin Core v0.12 and later automatically tries to connect to Tor via the ControlPort if listen=1 is set in bitcoin.conf.

It only refers to incoming connection. If you read the guide further, you still need to configure Bitcoin Core to use tor for outgoing connection.
Additionally, take attention when the page last edited (it's 21 December 2018, at 19:02 when i check the article). Few information might be outdated.
2294  Bitcoin / Wallet software / Re: Does Wasabi wallet coordinate their coinjoins on their servers? on: November 30, 2020, 11:55:08 AM
If they are coordinating the coinjoin on servers they control then isn't it possible to know which output address belongs to who?

Good question, but coordinator wouldn't know which output belongs to whom because it uses Chaumian CoinJoin. Here's short explanation from Wasabi docs.

A Chaumian CoinJoin is a special type of CoinJoin that utilizes Chaumian [or Schnorr] blind signatures to prevent the central coordinator from spying on the linkage between inputs and outputs.

If you're interested with how it works in detail, check https://github.com/zkSNACKs/WabiSabi or https://docs.wasabiwallet.io/using-wasabi/CoinJoin.html#zerolink-protocol-step-by-step
2295  Bitcoin / Bitcoin Discussion / Re: Vanity Addresses, Last Digits? on: November 29, 2020, 11:35:17 AM
Just check the whole address slowly if you don't want lose your Bitcoin or sending to wrong address. But you should be fine with checking some characters on random position (e.g. 5 first, 5 last and 5 starting from 15th position).

Dudes!  That chart is so out of date.  Five digits is a cakewalk now.

You can search the entire address for a match so first 5 or last 5 is nearly equally likely excepting that the leading 1 is a given

If you check the chart/table source, it's created with average desktop CPU few years ago, not with dedicated GPU.
2296  Bitcoin / Development & Technical Discussion / Re: Will there ever be any monetary incentives to run a full node? on: November 29, 2020, 11:19:38 AM
Regular user? If you mean privacy benefit, BIP 157 & 158 are enough for most users. Example wallet which uses it is Wasabi Wallet.

These BIPs are definitely improves privacy for light nodes, but if user's unencrypted transaction goes through third party full node then I think there is still an issue with privacy.

How else would the full node broadcast user's (who use SPV wallet) transaction? If your concern is user's IP, Tor can solve the problem.
I know not everyone understand or use Tor (if it's not integrated and enabled by wallet), but it's more viable option than running full node.
2297  Bitcoin / Bitcoin Technical Support / Re: Bitcoin Core version - important? on: November 29, 2020, 11:02:41 AM
(If it's just a permission error, the solution might be trivial.)

thanks for your response - I tried to update via Snap, i have very limited linux experience - this installed but then got the disk permissions errors when trying to run 0.20.1 ..... so I have gone back to 0.18
maybe both versions are conflicting or something

If you Snap and you store the blockchain file on external storage, it's likely it's due to strict Snap permission, which doesn't allow application to access.
Check this thread https://bitcointalk.org/index.php?topic=5211567.0, few people mention how to fix the problem.

I tried to download a tar file from bitcoin.org, it has files inside but no real guide as to how to install

You just need to extract tar file, then open directory bin and double-click bitcoin-qt or run this command

Code:
./bitcoin-qt

If there's execution permission problem, enable execution from ubuntu file manager or run this command

Code:
chmod +x bitcoin-qt
2298  Bitcoin / Bitcoin Discussion / Re: The dangers of buying bitcoin thru Paypal - real life example on: November 28, 2020, 09:32:59 AM
In the defense I guess of Paypal, I think that they are just preventing possibilities of money laundering.

If you read the reddit post carefully, u/TheCoolDoc never withdraw the Bitcoin (PayPal don't allow their users to do so anyway) and he buy/sell Bitcoin with PayPal.
So obviously there's no money laundering.
2299  Bitcoin / Development & Technical Discussion / Re: BIP39 Validator: Validate wordlists before submission on: November 27, 2020, 10:57:53 AM
Is it a bug? When i try the tools, both "INFO: Unique initial characters test succeeded" and "ERROR: Unique initial characters test failed" are printed to the terminal.

Code:
Reading wordlist file english.txt
INFO: 2048 words read
Checking wordlist for invalid characters
Looking for invalid characters ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00
INFO: Valid characters test succeeded
Finished checking wordlist for invalid characters
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Performing Levenshtein distance test
Computing Levenshtein distance ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00
INFO: No word pairs with Levenshtein distance less than 1
INFO: Levenshtein distance test succeeded
ERROR: Levenshtein distance test failed
Finished performing Levenshtein distance test
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Performing unique initial characters test
Checking initial characters ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00
INFO: All words are unique to 4 initial characters
INFO: Unique initial characters test succeeded
ERROR: Unique initial characters test failed
Finished unique initial characters test
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Performing maximum word length test
Checking length ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00
INFO: Length of all words are 8 chracters or less
INFO: Maximum word length test succeeded
ERROR: Maximum word length test failed
Finished maximum word length test
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────
4 of 4 checks passed

Additional information,
* Linux
* Python 3.7
* bip39validator-1.0.4
* Input file https://raw.githubusercontent.com/bitcoin/bips/master/bip-0039/english.txt
* Command used

Code:
bip39validator english.txt -d 1
2300  Bitcoin / Bitcoin Technical Support / Re: [HELP] WALLET.DAT on: November 27, 2020, 09:32:21 AM
Depending on how much Bitcoin is on wallet.dat that you found, it's possible the cost to brute force the password is higher than Bitcoin value on fiat.
I would advice you should download Bitcoin Core to find out how much Bitcoin is on wallet.dat that you found.

Anyone can help me.
Not unless you know at least something about the password that you used (such as the length and type of characters used). It is an impossible task to brute force an encryption without having this information first.

And it's still not crack-able if the possible combination (based on what OP remember) is way too much.

When was the wallet file created? If your old computer was running Windows, that information is saved in the file properties. It'll give us an approximation of what version of Core you were using.

AFAIK Bitcoin Core is backward compatible and can open wallet.dat which created with older version.
Pages: « 1 ... 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 [115] 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!