Bitcoin Forum
July 03, 2024, 10:44:04 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 [218] 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 ... 311 »
4341  Bitcoin / Development & Technical Discussion / Re: Bitcoin-cli output addresses on: January 14, 2020, 04:17:59 PM
So let's say, that there is a multisig transaction, where on the output are 2 addresses. Who can then spend this output? Either one of those two?
Depends on what's indicated by the script, to check, use the JSON object result from 'getrawtransaction':

Check if it has "reqSigs", that's the number of required signature in order to spend that output.
If '1' and there are two addresses, then either one of those.

Or if there's no "reqSigs"(in some non-standard p2ms scripts), check the output's "asm": The first digit separated by space is the required signature, then the public key(s), the digit after another space indicates how many public keys are included.
4342  Other / Beginners & Help / Re: Some doubts about transactions validation on: January 14, 2020, 03:19:36 PM
That signing and verification works the same way as "digital signature scheme": read wikipedia (or just check the image)
Alice needs to include her public key and signature to the "RAW transaction" (will be Signed RAW transaction) before it can be broadcast to the network.
As explained in the image, it's the only information every node needs in order to verify if it's really the correct private key that signed the transaction.

BTW, Bob (the receiver) doesn't have to do anything in that transaction but to wait for his wallet/node's mempool to receive the transaction from his peers after Alice broadcast it.
After it got accepted by his node, it will be displayed as "unconfirmed transaction" (he can already spend it depending on the client/settings)
After it got accepted by a mining node and got included to a new block, they will relay it to their peers and will eventually reach Alice and Bob' nodes.
After being accepted by their nodes and verified that it's valid, the unconfirmed transaction will be deleted from their mempool and the wallet will display it as "1 confirmation".

imagine that Input is a banana, output is the same banana but peeled.
It wasn't supposed to be funny but the 'banana analogy' made me laugh :D
4343  Bitcoin / Bitcoin Technical Support / Re: recovering seed from address on: January 14, 2020, 05:01:13 AM
Only thing is that his handwriting is terrible and we're having a hard time figuring out the exact 24 word phrase.  
Then, the issue are the unclear words and he still have the paper where the seed was written?

If that's the case, just compare each word with the most similar word from this list: BIP39 Word List
Take note of the possible number of characters and similar letters.
4344  Other / Beginners & Help / Re: Some doubts about transactions validation on: January 13, 2020, 03:15:19 AM
If the transaction is between Alice and Bob with Alice as sender and Bob as receiver, after Alice checks the sign with OP_CHECKSIG operation, why, as stated above, the transaction has to be validated by every node of the network?
That's how "trustless" works, nodes don't trust other peers and must validate each transaction and blocks before accepting/relaying it to others.

Quote from: fabbit
Another thing, after a block has a certain number of transaction the block is validated and inserted in the blockchain with the PoW algorithm?
No, it can only have the coinbase transaction (mining reward) and still be valid.
4345  Bitcoin / Development & Technical Discussion / Re: Can I/Miners spend an output with anyone-can-spend public script? on: January 13, 2020, 03:04:31 AM
As I am reading BIP 141, there is a sentence saying "Wallets should always be wary of anyone-can-spend scripts and treat them with suspicion."
Based from what I understand, it's still on-topic about the paragraph's title "backward compatibility" and talking about "wallets of/connected to non-upgraded nodes".
It used "wallets", so not just Bitcoin Core but including other clients that might misread witness data because:

Quote from:  bip-0141
Non-upgraded nodes, however, will not see nor validate the witness data and will consider all witness programs as anyone-can-spend scripts
-snip-
What a non-upgraded wallet cannot do:
Validating segregated witness transaction. It assumes such a transaction is always valid
'think this quote is enough?
4346  Bitcoin / Electrum / Re: Lost money? on: January 12, 2020, 02:30:38 PM
-snip- the transaction went to an incomprehensible address bc1qcygs9dl4pqw6atc4yqudrzd76p3r9cp6xp2kny tell me what’s the matter? Payment has already been confirmed.
Version Electrum 4.0.
FYI, that's a valid Bitcoin address.
It's a bech32 SegWit address and currently have 6.9BTC balance: https://www.blockchain.com/btc/address/bc1qcygs9dl4pqw6atc4yqudrzd76p3r9cp6xp2kny

Sadly the above reply is true, you've been scammed.
4347  Bitcoin / Development & Technical Discussion / Re: Some doubts about transaction on: January 12, 2020, 10:01:51 AM
*: The twice mentioned is explain from user B. If the amount of BTC he sent to user A is not the total bitcoin he owned in that address (I assume he does that transaction with output from only one address). For example, he own 2 BTC in that address, and send to you only 1.

Consequently, he has 1 BTC left in that address as a new UTXO. Whenever he uses that UTXO (contains 1 BTC) for next transaction, your receiving address will be recorded for the second time on the network. Because that UTXO contains transaction history relates to your address A.
Use "twice" was clearly explained as 1 time for receiving and 1 more time for sending, and never use it again.
Sending 1BTC from a 2BTC UTXO won't leave a new UTXO to the same address unless the client doesn't support "change address" or the user disables it.
Let me rephrase it: "if he did exactly 'that', he will gain more privacy"; so, if a user do the one in your scenario, he'll gain the opposite.

@fabbit That part must be relying on your understanding of the previous parts that states: when receiving, it's the hash of the public key that has to be included in the transaction and not the public key.
But yeah, "public key twice" is kinda wrong term to use for that "twice thing". Maybe it was written in consideration of P2PK script? Undecided

Perhaps someone may consider following this:
BETA: This documentation has not been extensively reviewed by Bitcoin experts and so likely contains numerous errors. Please use the Issue and Edit links on the bottom left menu to help us improve.
4348  Other / Beginners & Help / Re: Timelock bitcoin method on: January 12, 2020, 03:20:15 AM
From which article?
It must have something to do with future protocol changes.
Because somewhere in the future, bitcoin might stop standardizing transactions with timelock or OP_CLTV scripts.

If that's the case, it's still applicable.
4349  Bitcoin / Development & Technical Discussion / Re: Chain reorg question on: January 11, 2020, 07:14:55 AM
Thanks for the inputs.
So I conclude:
The winning fork has its own version of pending transactions (mempool) which will still have the transactions not included in the overtaking chain. The nodes which followed the shorter version for a while will not have these, but will get to know about them when these pending transactions eventually will be included in a block.
They won't wait for those transaction to get included in a block in order to "know" them.
The transactions from the orphaned block that weren't included to the latest block(s) of the longest will be added to their mempool again.

The book: Mastering bitcoin used the term "queued up again" that lightly indicates that the node will move them from the orphaned block back to mempool.
4350  Bitcoin / Bitcoin Technical Support / Re: Bitcoin-CLI - Cannot connect on: January 10, 2020, 02:29:50 PM
If you want to use 'bitcoin-qt' instead of 'bitcoind' for some reason, add server=1 to your bitcoin.conf file from the default data directory.
Create a new file and rename it including the extension if don't have one.
4351  Alternate cryptocurrencies / Mining (Altcoins) / Re: Noob-Identical cards different hash power? on: January 10, 2020, 06:50:36 AM
I know nothing about editing or configuring the scripts but it tells me every time it starts to use "-strap"  and "-rxboot" .  I've attempted to edit the start.bat file in the Nicehash config folder to modify that but I'm still getting that message.
"-rxboost" maybe?
It suggest you to add both to the start-up parameter.

Quote from: stinkywea
One other thing that I've noticed, which maybe it should be like this, but my GPU speeds are way different.  Most of the time GPU0 is around 27.XXX Mh/s and GPU1 is around 11.XXXMh/s.  I guess my question is... Is that normal?
No if those are identical and both aren't defective.
In your (nhml) Nicehash's Settings->Devices/Algorithm tab, Select GPU1-2, Check/Highlight the Algo and add -rxboost 1 -strap 1 to "Extra Launch Parameters", then save.

P.S. You're not mining Bitcoin, you're renting your hashrate and being payed with bitcoins.
4352  Bitcoin / Wallet software / Re: ! Bitcoin Clients not longer offering possibility to send to multiple addresses on: January 10, 2020, 04:04:02 AM
I've seen that hot-wallets opers such transaction without problem,  so it means that this is not related to the Bitcoin network !!!  Do using Bitcoin core allow operating such transactions ?
Yes by protocol, it has always been possible to send to multiple outputs.
For Bitcoin core, click + Add Recipient below the Send tab window to add another send-to-address field.

For Electrum (desktop), click "Tools->Pay to many" to be able to add more addresses as recipient (follow the format on BitMaxz' screenshot).
The default send tab wont let you.
Code:
Address1,amount
Address2,amount
Address3,!
Electrum will send all of the remaining spendable/unfrozen inputs to the address if you use '!' as amount.
4353  Bitcoin / Development & Technical Discussion / Re: Is there a way NOT to connect to specific peers? on: January 10, 2020, 03:33:10 AM
Mostly I do not want the lower power RPis to connect to the other nodes on the network during sync.
Just make them connect to specific nodes instead of blocking them from your other nodes.
Add connect="node" (one line per node) to the RPis node's config file.
By using "connect", your node will not connect to other nodes other than the ones you listed.
4354  Bitcoin / Development & Technical Discussion / Re: Own Bitcoin-API on: January 09, 2020, 12:00:20 PM
As far as I could read now the official BTC core installation supports RPC-Calls but you can get only the balance of your own accounts.
For transactions, you can use the RPC command -getrawtransaction "TXID" true for any transaction as long as you add -txindex in the config which will require additional space.
You might also need to add/start with -reindex if it's the first time you start with txindex.

For addresses' balance, you need something like the above posts.
4355  Bitcoin / Bitcoin Technical Support / Re: 0.19.0.1 keeps hanging while syncing coins on: January 09, 2020, 10:48:17 AM
it's a usb 3.0 max transfer rate is 100 mb/sec, tested. when it's on 100% usage with core, it barely uses 1-2 mb/sec so that's NOT the bottleneck.
It can't be the RAM, CPU and BitcoinCore 0.19.0.1 because most of the users doesn't experience that freezing issue.
See, it's at 100% but it it's only at 1-2 MBps (that's the max performance).

How about the USB port where it is connected?
If you plug it in a USB2.0 port, it wont use the USB3.0 bandwidth.
4356  Bitcoin / Bitcoin Technical Support / Re: 0.19.0.1 keeps hanging while syncing coins on: January 09, 2020, 03:05:20 AM
Task Manager only had the HDD (where the chain is) to 100% at all times until synced. the CPU and ram are all looking good.
That might be the issue, any 100% process usually causes those 'freezing' that still running in the background because it's on its limits and the process is demanding "more''.
Based from the spec, your Rig can handle BitcoinCore even with higher dbcache.

however Core runs the blockchain on an external hdd, which i think is a 7200rpm Maxtor External or 5400 rpm (cant remember)
The External HDD must be the bottleneck, specially if it's connected to a USB2.0 port instead of USB3.0, the HDD speed won't matter much for the former.
Check the External HDD's (or enclosure/adapter) specs if it's USB3.0 (usually blue) and the port where it is plugged.
4357  Bitcoin / Bitcoin Technical Support / Re: 0.19.0.1 keeps hanging while syncing coins on: January 08, 2020, 07:30:22 AM
What is your previous version before upgrading and can you post your W10 PC's specs?
You may also check your 'Task Manager' if your CPU, Memory and Disk process is at 100% during BitcoinCore's operation.

I haven't updated to 0.19.01 and still using 0.18.1, I will upgrade right now to see if it's a problem with the version.

-edit-
Mine isn't freezing, is yours random or all the time?
4358  Bitcoin / Electrum / Re: Using Electrum with a Hardware Wallet? on: January 08, 2020, 07:12:58 AM
Wallet addresses with balance can't be changed to other format while maintaining the same balance, it has to be sent to the new address.
So just create a new wallet in Electrum by clicking "File->New/Restore", then follow HCP's tutorial and select the correct format.
If your Ledger Live's addresses starts with '1', Select Legacy, if '3' select p2sh-segwit.

You can also delete the current 'bc1 electrum wallet' before proceeding or after creating the new wallet.

When looking for info about ledger, first use their page's search field above;
Bitcoin address format: https://support.ledger.com/hc/en-us/articles/115005195945
4359  Other / Beginners & Help / Re: Where to use .json file ? on: January 08, 2020, 03:07:02 AM
As the edit implies, it's already solved and there's currently no known tool for generating the wallet's addresses and keys from the "chain_private_key".
Please read the previous replies first before posting Wink

This was a good hack. But its still a lot complex to be honest.
All you have to do is to Click, Copy and Paste Undecided Don't sweat the terms and numbers.
But do not try that with your current funded account's backup, do it if there's no official tool yet, you really need to spend your coins and you lost access to your account.

I bet if there will be a tool for that json file, the first batch will be command line tools that's much more complex for beginners.
If anyone find one, please share it here.
4360  Bitcoin / Armory / Re: Help with 0.96.4 on: January 07, 2020, 01:26:20 PM
Bitcoin Core V.18.1 running on an external hard drive (D:)
Quote from: Marla_H
2020-01-07 12:54:36 (INFO) -- ArmoryUtils.pyc:1284 -    Satoshi BTC directory : D:\Bitcoin core
2020-01-07 12:54:40 (ERROR) -- ArmoryQt.py:1862 - Failed to setup SDM
BitcoindError: bitcoind not found
Is there really a space between 'Bitcoin' and 'core' of the folder name of your Bitcoin Core's directory?
Because you've been trying to load it from E:\BitcoinCore last November, but now, you changed it to D:\Bitcoin core (with space)

-edit-

She deleted her post, maybe it was solved.
Pages: « 1 ... 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 [218] 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 ... 311 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!