Bitcoin Forum
May 07, 2024, 02:48:31 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 [2] 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 »
21  Bitcoin / Development & Technical Discussion / Re: Different sites report different blockchain sizes? on: June 16, 2018, 03:00:12 PM
There's no way to tell it's "no longer needed" though.
There's no central arbiter that decides whether a block is needed/valid or not.

Each node can decide for his own whether a block is need (e.g. part of longest chain) or valid (has to be validated anyways).
Okay, that came out wrong.
I meant no node can tell if its block (the block it has received) is not going to be orphaned in the future for a block with a higher POW.

Quote
Theoretically it still would not be necessary to store this block. In case of a reorganisation the block(s) can easily be broadcasted / received via the network.
If no one stores blocks where do nodes get blocks to bootstrap from? Huh
Obviously for a node to receive a block from a peer, another node has to have stored it then sent it.
If you don't store it, you can't send it.

Quote
Do most clients (bitcoin core?) really store those orphaned blocks (especially from years ago)? If so, is there a specific reason why it has been decided to keep them ? Or are they just kept because there is no real reason to delete them?
AFAIK, orphaned blocks are stored in the node's blockchain forever, iff it received it when it wasn't orphaned yet.
No node would upload a block that wasn't part of the canonical chain (ie a new node in the network won't receive old orphaned blocks)
22  Bitcoin / Bitcoin Technical Support / Re: How can P2SH outputs be spent? Non multisig. on: June 16, 2018, 02:41:32 PM
This is an example of an anyone-can spend address: 3MbZjYS1Kjo5An9vVCwZYTd2JeobwjUsFh.
The redeemscript is
Code:
6f93598893578893588851
which is
Code:
OP_3DUP OP_ADD 9 OP_EQUALVERIFY OP_ADD 7 OP_EQUALVERIFY OP_ADD 8 OP_EQUALVERIFY 1
The redeemscript of the address is the solution to the equation z + x = 7; x + y = 8; z + y = 9.
23  Bitcoin / Electrum / Re: Transaction confirmed on Coinbase but not on electrum wallet on: June 16, 2018, 02:23:06 PM
It says synchronising
Let it synchronise then.
It shouldn't take time to download the block headers, depends on your internet connection, or the server you're connected to.
Either check your internet connection, or connect to a different server.
24  Bitcoin / Development & Technical Discussion / Re: How to save on fees with bech32 without having to send for a bech32 before on: June 16, 2018, 02:10:23 PM
Quote
Soon tutorial on Electrum, Bitcoin's lightweight and alternative wallet, but it will not be as easy as bitcoin core wallet.
I don't think it'll be possible on Electrum since it uses one derivation path for each wallet.

PS Samourai mobile wallet on Android has the option to receive change to like addresses.
25  Bitcoin / Development & Technical Discussion / Re: Getting connected to the Bitcoin Lightning network on: June 16, 2018, 02:02:56 PM
That is great news. However, I have an Iphone. Embarrassed
The closest thing to an LN wallet on an iPhone is the iMessage Zap widget]/url]
26  Bitcoin / Development & Technical Discussion / Re: Different sites report different blockchain sizes? on: June 16, 2018, 02:00:23 PM

Is there a practical reason for orphaned blocks being stored ?
In case of a Blockchain reorganisation, perhaps.
Quote
Once a block turns out to be orphaned the valid transactions get added to the mempool again.
But what is the actual reason to further store this block if the information it cointains is no longer needed?
There's no way to tell it's "no longer needed" though.
There's no central arbiter that decides whether a block is needed/valid or not.
Nodes take the longest chain with the highest cumulative POW as the canonical blockchain.
The canonical blockchain could change if nodes receive another block that follows consensus rules but has a higher difficulty than the one they possess, even though the probability of  a blockchain reorg 6 blocks deep is small, it's still theoretically possible.
For example the March 2013 reorg was ~21 blocks deep.
27  Bitcoin / Development & Technical Discussion / Re: How does the wallets know which addresses to recover in Hardware Wallet recovery on: June 16, 2018, 04:57:47 AM
Quote
Does it just try all possible addresses related to that seed's master key by doing the entire blockchain look up for addresses at the same time ? (This seems impractical imo).
When a HD wallet syncs it generates a set of addresses from the derivation path m/k'/0/i, then it scans the blockchain for transactions related to those addresses. If there are transactions related to that address (even if the address is empty), it generates more addresses until the gap limit is reached.
The gap limit is a certain number of addresses in a row which have no transactions at all.

Quote
Are there standards on the max nth of address to generate from the wallet side ?
The default gap limit is 20.
Other wallets may have different implementations.
28  Economy / Services / Re: ARBITAO Signature & Avatar Campaign on: June 14, 2018, 11:06:05 AM
Name: Xynerise
Rank: Full Member
Current Post Count: 620 (+1)
BTC address: 39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD
Worn avatar and signature.
29  Bitcoin / Electrum / Re: Deposit not showing in wallet. on: June 06, 2018, 09:31:26 PM
3.1.3 on an android tablet.
No orb in the lower right.
The upper left is blue?
Go to Menu -> Network -> Blockchain.
Is the number of verified blocks the same as the number of blocks on any block explorer?
It's currently 525,335 right now.
30  Bitcoin / Bitcoin Technical Support / Re: Manually Finding Private Keys in Wallet.dat on: June 04, 2018, 06:48:32 PM
Hey all, I'm a total noob here, what I have with me is a uncompressed bitcoin address and its private key, can I know how to do I compress it and confirm the private key?

It would be a great help.
If you want to do it locally download the bitaddress website on your computer, go to wallet details, enter your private key, click, view details and it'll show you both compressed and uncompressed address.
31  Bitcoin / Development & Technical Discussion / Re: Help Me Recover My Bitcoins. on: May 27, 2018, 07:26:39 PM

Well that's the really curious thing... this 12 word seed shows up as "valid" according to BIP39 wallets??!? Huh So this combination of words is apparently a valid BIP39 seed... AND a valid Electrum SegWit seed... Shocked
Is this really possible? Huh
Both formats use different schemes to calculate the checksum, is it possible for there to be anintersection between both?
32  Bitcoin / Electrum / Re: How to import a Multi-Sig Wallet to Electrum From Private Keys of Participants? on: May 21, 2018, 10:14:29 PM
If it's a 3 of 3 multisig, in order to import it into Electrum, you'd need all three xprivs (master private keys)
Go to file->New/Restore
Enter a name for your wallet
Select "multisig wallet"
Choose the multisig scheme (eg 2 of 2, 2 of 3, 3 of 3,)
Select "use a master key) if you have the xprivs or "use an existing seed" if you have the seed phrases
Enter the first xpriv, click next
Save the xpub , click next
enter the xpriv or seed of second cosigner, click next
repeat the procedure for the last cosigner
enter a password for the wallet for security, click next
And your multisig is restored.
33  Bitcoin / Bitcoin Technical Support / Re: About the private key on: May 20, 2018, 04:29:01 PM
^
Electrum seeds are not BIP 39, even though you can restore BIP 39 seeds on it.
34  Bitcoin / Development & Technical Discussion / Re: How will the future of wallets work? on: May 18, 2018, 11:17:30 AM
Apps and QR codes work well enough already .
Just use your wallet app on your phone, scan the QR code and that's all.
35  Bitcoin / Development & Technical Discussion / Re: How do Bitcoin nodes verify the integrity of "Data"? on: May 18, 2018, 07:32:08 AM
As far as I understand, mining works like this.

They get the "data" from the pool, in in order to verify them and put them in a "block",
I'll assume by pool You mean mempool which is where unconfirmed transactions are stored in nodes. There's no global mempool; all nodes have theirs.
And by "data" I assume you mean unconfirmed transactions.
Quote
they try to find the nonce with which if hashed with the data and the previous hash data produces

the hash result that starts with 0000000000xxxxxx...xxx.
There are other things concatenated with the previous block header hash before it is hashed to find the target: the version, the Merkle root of all the transactions in the block, the timestamp, target and nonce.
This is the template for the candidate block's block header hash. They hash this while iterating the nonce, then the timestamp until they find a hash that is lower than the target hash.
Quote
What I don't understand is, what is this "pool" where they send the data to all the nodes?
As explained above, it is the mempool and is peculiar to each node.
Quote
Also, how do the nodes

verify the integrity?
They verify it against the set of protocol rules. For example a transaction is not allowed to have more output than input (ie spend more than it has). If any transaction doesn't follow the rule then it's invalid and is discarded by the node and not related further in the network. If a node keeps relaying invalid transactions to another node then the recipient node will ban that node for some time.
Quote
What if the pool is compromised and sends the wrong data in the first place?
I don't see how the mempool can be compromised but like I said above, if you send invalid transaction or block to the node it will discard it and won't relay it so it doesn't propagate in the network.
Quote
How is finding the right nonce alone guarantee the integrity of data and transactions ?
Finding the right nonce is the job for the miners as they are the only ones allowed to append blocks to extend the blockchain, so the process must not be trivial.
For a miner to be able to extend the blockchain with his block then he must have expended some costs (usually in the form of electricity) and so is incentivized to follow the rules.
However, if he doesn't follow the rules and includes invalid transactions (transactions that don't follow the protocol rules) in his block, then his block will be rejected by other nodes in the network and his work will be a waste.

Finding a nonce which hashes to less than a particular target is hard work because you have to try a whole lot of values but verifying that this nonce is valid is just one hash which doesn't take time or consume CPU resources at all.
36  Bitcoin / Electrum / Re: Electrum Seed for imported wallet on: May 17, 2018, 09:37:30 PM
Thank you guys for the clarification.
Just one more question if you please,what is exactly a bip39 wallet? I hear alot this word but can't really understand what it means nor what it adds to have a bip39 wallet.
It refers to BIP 39 which specifies a way to encode a private key in a mnemonic phrase.
Electrum uses a different encoding scheme so the two are not compatible.
Although Electrum's seed versioning system is superior, BIP39 is more popular.
37  Alternate cryptocurrencies / Altcoin Discussion / Re: Ethereum network overload on: May 17, 2018, 08:06:05 PM
Any idea how do i transfer my Ethereum??

Tryed to send some ETH with 4 gwei, than with 20 gwei and at the end with 99 gwei and transactions are not even broadcasted.
Are you sure it's not from your node (or wallet)?
9 gwei gas price actually gets your transaction confirmed within 5 minutes.
38  Bitcoin / Development & Technical Discussion / Re: Address's total length is all the same? on: May 17, 2018, 01:22:33 PM
I counted bitcoin address length, it is 34.

Is this all the same always?
No, they can be as short as 26 characters eg
Code:
11111111111111111111HeBAGj
to as long as 34 for P2PKH addresses (addresses that start with '1')
P2SH (testnet) addresses can have up to 35 characters IIRC.
Bech32 segwit addresses can be as low as ~14 characters long eg
Code:
BC1SW50QA3JX3S
to as long as 74 characters.
Quote
And how about other coin's case?
It depends on the encoding being used by the coin to generate addresses.

Quote
If same coin, address's length is always same?
No, they have the same RANGE but they're not always the same length.
The encoding provides the range of values that generates a valid address.

In some cases however, the address lengths are always the same because of the way addresses are derived.
For example Ethereum addresses are always 40 characters long (plus the 0x prefix to give 42 chars) because it's the last 20 bytes of the SHA3 hash of the  public key controlling the address.
39  Bitcoin / Bitcoin Technical Support / Re: please help with xpvt key reward on: May 16, 2018, 03:17:49 PM
master private keys i have like 300 of them i need to import them all in bulk or sweep them somehow
Wow, that's a lot!
I doubt you'll be able to find a tool that does that unless you make one yourself since a master private key -- like a seed phrase -- derives many addresses and is meant to be used for a single wallet.
40  Bitcoin / Bitcoin Technical Support / Re: please help with xpvt key reward on: May 16, 2018, 02:34:43 PM
thanks but i have a few 100 wallets so need to do it in bulk how would i derive the keys thanks
By wallets do you mean different master private keys or different addresses?
Pages: « 1 [2] 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!