Bitcoin Forum
May 21, 2024, 09:29:37 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 [450] 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 ... 514 »
8981  Bitcoin / Electrum / Re: Self compiled build won't run on Windows? on: July 14, 2017, 03:12:21 PM
Are you able to run the pre-compiled binary available for download on electrum.org using the Ubuntu 16.04 LTS and Wine 2.0.1 combination? Just wanting to rule out possible issues with attempting to run the Windows version under Wine.
8982  Alternate cryptocurrencies / Announcements (Altcoins) / Re: BYTEBALL: Totally new consensus algorithm + private untraceable payments on: July 14, 2017, 03:00:52 PM
Is anyone else getting an Uncaught Exception... looks like an SQLite Error of some description... but no idea what is causing it? Huh

Quote
Uncaught exception: Error: Error: SQLITE_CONSTRAINT: FOREIGN KEY constraint failed INSERT INTO unit_authors (unit, address, definition_chash) VALUES(?,?,?) FDIOwPxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxO2/yE=, HZTYxxxxxxxxxxxxxxxxxxxxxxxxxxxxxCUE,




8983  Bitcoin / Bitcoin Technical Support / Re: btcrecover on: July 14, 2017, 02:52:17 PM
Sorry... can't help you with that. I've never experienced that error before... and the technical details of what the script is doing there is beyond me Undecided

I suggest that you create an error report on the btcrecover github issues page: https://github.com/gurnec/btcrecover/issues

Alternatively, you *might* be able to contact "btchris" aka "gurnec" aka Chris Gurnee, the script author here: https://bitcointalk.org/index.php?action=profile;u=1171
8984  Other / MultiBit / Re: MultiBit on: July 14, 2017, 02:38:24 PM
Does it matter if I exported my private keys encrypted? Or should I keep them in plain text?
That really depends on what you want to do with the exported keys... if you're just wanting to back them up... then encrypted would definitely be the best option. If you're wanting to import them elsewhere, then having them encrypted will be problematic, as most other wallets will be unable to import the encrypted file. In fact, a lot of wallets will probably fail to import the unencrypted file as well as it isn't really in a "standard" format... as there aren't any standards! Tongue But at least you're be able to open the file in a text editor and copy/paste the keys as required to import

Some useful reading:
https://multibit.org/help/v0.5/help_exportingPrivateKeys.html
https://github.com/keepkey/multibit/wiki/Export%20and%20limited%20import%20of%20private%20keys

pay close attention to the Development Notes which explains how to decrypt the encrypted file!
8985  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: July 14, 2017, 02:28:10 PM
That's a little tricky because you don't specify the "payout" when using scripts... you specify the "chance" and the site calculates the payout... and because sites have different house edge, the payouts and chances are not the same across all sites... Undecided

So, what you do is work out the "House Edge"... hopefully the site tells you what it is... then use that and the multiplier to work out what the chance is... also, figure out what the maxPayout number is for the site you're using and set that as well!

Code:
-- UNTESTED!!

-- Set these 3 values to match the site you're using and what you want your baseBet to be

houseEdge = 0.8 -- ie HE = 0.8% = 0.8, HE = 1.1% = 1.1
maxPayout = 9920 -- set this to site max! 9920x = Crypto-Games.net
basebet = 0.00001000

---------------------- Don't Edit below here ;) --------------------------

basePayout = 1.1 -- start at 1.1x payout
firstLossPayout = 2
currPayout = basePayout

nextbet = basebet
chance = (100 - houseEdge) / currPayout
bethigh = true

function dobet()
 
  if win then
    --reset Payout to 1.1x
    currPayout = basePayout
  else
    if currPayout == basePayout then
      -- first loss
      currPayout = firstLossPayout
    else
      currPayout = currPayout + 1
    end
  end

  if currPayout > maxPayout then
    stop()
    nextbet = 0
  else
    chance = (100 - houseEdge) / currPayout
  end

end
8986  Bitcoin / Bitcoin Technical Support / Re: NOOB need help. OLD ass wallet HOW TO ? on: July 14, 2017, 06:52:12 AM
You need to send your coins to an address controlled by your TREZOR.

If you have NOT received any coins since you last sync'd your bitcoin QT wallet... and you still have all the old blockchain data on your computer along with your wallet file... then you could effectively just setup the TREZOR, generate a receiving address and then create and sign a transaction offline that sends all your coins to that receiving address. You would then just need to transfer that signed raw transaction to an online computer and broadcast it to the network using one of these:
https://coinb.in/#broadcast
http://blockr.io/tx/push
https://live.blockcypher.com/btc/pushtx/
https://btc.com/tools/tx/publish

If you have received coins or you no longer have the old blockchain data, then you either have to let Bitcoin Core sync up... will take a while and gobble up some 120+Gigs of diskspace... and then send your coins to your TREZOR.
or
You can dump out your private keys from Bitcoin-QT (dumpwallet or dumpprivkey) and then sweep them into an address that is controlled by your TREZOR using Electrum.

If you need to dump out your private keys, then you'll want to do this either on an airgapped computer or a virtual machine with no networking etc... maybe even consider using a "live" distro like TailsOS or something with all the networking disabled.
8987  Bitcoin / Bitcoin Technical Support / Re: Lost bitcoin? on: July 14, 2017, 06:34:11 AM
Simplest solution if you can't get Bitcoin Core to sync due to lack of available space is to run in "pruned" mode.

Just use the "-prune=<n>" commandline argument, where <n> = Amount of Megabytes you want to store on the harddrive... minimum is 550. So you can use: \path\to\bitcoin\bitcoin-qt -prune=550

This method won't expose your private keys, but will take time as it still needs to sync the whole blockchain.


Otherwise, it you just want your coins "now" and don't mind exposing private keys:

1. Download and install Electrum
2. Create a new Electrum wallet (make sure you back up the 12 word seed some place nice and safe offline)
3. Export the private key out of Bitcoin Core for the address that you sent the coins to (Help -> Debug Window -> Console. Use the "dumpprivkey" command)
4. Sweep the private key to Electrum

Electrum is an SPV (aka lightweight) wallet, so will "sync" in a matter of seconds.

You can also create a non-HD wallet in Electrum at step 2. if you use the option "use public or private keys". You can then enter your private key and have direct access to your coins, but you lose the advantages of having an HD wallet.
8988  Bitcoin / Bitcoin Technical Support / Re: How to recover btc after windows reinstall on: July 14, 2017, 05:54:51 AM
You realise you can just "edit" your previous post right? There is no need to create 3 posts in a row... Wink

Do I run salvagewallet from the shortcut I created for Bitcoin Qt by opening properties then typing salvagewallet after exe leaving a space first, then hit apply and okay?.
I believe it should be: -salvagewallet

So your shortcut should look like this:


If you managed to get the -salvagewallet option working OK and that is the output you're getting then it would seem that the wallet file that was recovered was totally corrupted...  Undecided

At this point maybe pywallet is likely to be your best option.
8989  Economy / Exchanges / Re: Bitcoin has vanished from wallet!! on: July 14, 2017, 05:48:11 AM
Only if you still have the private key for the address that the 0.14 BTC is currently attached to.

In Bitcoin Core, if you goto "File -> Receiving Addresses"... do you see the btc address with the coins? Alternatively, if you use the "dumpprivkey" command from the debug console ("Help -> Debug Window -> Console")... does it output the private key for that address?

If it doesn't, then there is a chance that you no longer have that private key in your current wallet.dat file. Do you still have a copy of the original wallet.dat file backed up?
8990  Bitcoin / Bitcoin Technical Support / Re: Bip 39 and additional passphrase. on: July 14, 2017, 05:20:52 AM
Again... I refer to what I said earlier:
Adding on a passphrase (or even two) gives you the option to "hide" extra wallet(s) with your "real" stash of coins... As there is no evidence that you even have a passphrase (it's stored in your head right? and the mnemonic WILL generate a valid decoy wallet that shows some coins/history)... so even a relatively "short" but complex passphrase (10-12 chars with alphanumerics and symbols) should easily give you time to move your coins should you learn that your mnemonic has been compromised... assuming that the thief believes you even have a passphrase setup and are hiding coins.
How would these theoretical hackers even know you have a passphrase? Why would they continue looking after discovering the decoy 0.1 BTC in the "default" wallet (ie. mnemonic only, no passphrase)?

Given that people use 10-12 character passphrases to encrypt wallet files... I don't see why using a 10-12 character passphrase to secure a mnemonic would be any less secure... especially given that any attacker cannot simply test that their generated passphrase "works"... it isn't a simple "boolean" check like testing username/password combinations... ANY passphrase entered in combination with a valid mnemonic will generate a valid master private key and valid keys/addresses... so they have to generate a master private key... generate a number of receive addresses AND change addresses... and check for balances.

Maybe try playing with these:
https://www.grc.com/haystack.htm
https://apps.cygnius.net/passtest/
8991  Bitcoin / Bitcoin Technical Support / Re: btcrecover on: July 14, 2017, 05:09:26 AM
Are you double clicking on the btcrecover.py script to run it? If so, and you don't have a properly created btcrecover-tokens-auto.txt file, then the script won't run.

How did you create the btcrecover-tokens-auto.txt and what commands did you put in that file? If it is just an empty file... then it won't work. Did you read this: https://github.com/gurnec/btcrecover/blob/master/TUTORIAL.md#command-line-options-inside-the-tokens-file ?

So your btcrecover-tokens-auto.txt file needs to have commands and tokens in it like:
Code:
#--wallet wallet.dat --autosave progress.sav --pause --otherCommandsHere
Your Lists of
Tokens
Go Here and
Here

Set "wallet.dat" to be whatever your wallet file is.
8992  Bitcoin / Hardware wallets / Re: Electrum? Trezor? Safety? on: July 14, 2017, 04:49:07 AM
That is really handy info! You saying those conversion tools can be used to convert Electrum priv keys?  That would be easier then having your own Electrum full node server =) ... in the event Electrums server network goes down.
Yes. Assuming that by "Electrum priv keys" you mean the master private key that is generated by the "Mnemonic -> Seed -> xprv" conversion in Electrum.

Once you have the "master" xprv, you can just put it into the BIP39 tool as described above and it will do most of the hard work for you...

AFAIK no-one has, as yet, created a standalone Electrum Mnemonic converter... but I've had a quick look at the existing BIP39 tool code and compared it with the Electrum source code... it seems like it would be a relatively trivial task to modify it to accept Electrum Mnemonics so you wouldn't even need to use the "getmasterprivate()" command to get the xprv... you could just put in your 12 word seed (and/or custom words) and away you go.

The only difference in "Mnemonic -> Seed -> xprv" conversion between Electrum and BIP39 is that Electrum uses a "default" passphrase of "electrum" instead of "mnemonic"... the other differences relate to the structure and checksum validation of the mnemonic, which would probably be just as trivial to implement, but aren't necessarily required if all you want is to convert the seed to addresses/keys.

NOTE: I actually did a quick dirty mod on the BIP39 tool code to test it... I just forced the mnemonic checksum validation to always return true, changed the default passphrase from "mnemonic" to "electrum" and voilą... it will take an Electrum seed, you set BIP32 and path as m/0 (or m/1 for change addresses) and it spits out the correct addresses/private keys Wink
8993  Bitcoin / Development & Technical Discussion / Re: Private Key --> ripemd160 hash in perl on: July 14, 2017, 03:48:25 AM
I want to get from a simple hexadecimal private key to the ripemd160 hash of the bitcoin address. All this in perl.

The best would be such a simple way like ripemd160(sha256(publickey(x))) where x is a positive integer. Smiley
I assume you are wanting to do steps 1 through 4 of the "private key to bitcoin address conversion" in Perl: https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses ?

Although quite old, these might give you some ideas:
https://github.com/mtve/bitcoin-pl
https://github.com/grondilu/libbitcoin-perl

parts of which appear to have been rewritten into: http://rosettacode.org/wiki/Bitcoin/public_point_to_address#Perl
8994  Bitcoin / Development & Technical Discussion / Re: testnet bitcoin required to test the exchange platform payout module on: July 14, 2017, 03:17:20 AM
http://lmgtfy.com/?q=bitcoin+testnet+faucet

There are 4 or 5 faucets on the first page that you can easily get 2+ BTC from for testing purposes...
8995  Bitcoin / Bitcoin Technical Support / Re: Urgent help required in configuring bitcoin core in Ubuntu on: July 14, 2017, 12:01:03 AM
I think what you might be missing is that some of the big sites that "only" charge 20K-30K sats for withdraws... will do so in a "batch transaction". So, for example, you get 10 users all decide to withdraw in a given hour... you charge them all 20K sats... then you bundle up all their requests into one transaction and set the fee as required to try and achieve the confirmation time you require. This gives you 200K sats to play with as a "total" fee... but you can reduce your total transaction size by quite a bit... from 2260 bytes (~226 bytes * 10 transactions) down to as low as 532 bytes (1x 148 byte input + 11x 34 byte outputs + 10 byte fixed)...

so instead of having 10 transactions with 88 sats/byte fees (20K / 226 bytes), you could have one transaction with 375 sats/byte fees (200K / 532)... or do what most of the sites do and set the fee to something lower say 200 sats/byte and pocket the rest as 'profit' without most of the users even noticing  Shocked Lips sealed

As for the actual values you should be using for fees... those goal posts are constantly moving... right now, the number of unconfirmed transactions is averaging somewhere near 5K... last month it was like 150K!! Similiarly, with fees... now you can get transactions with fees of 0.00025 BTC/kB (25 sats/byte) confirmed in a couple of hours... last month you were lucky if 0.0025 BTC/kB (or 250 sats/Byte) would confirm in less than a day!

8996  Bitcoin / Bitcoin Technical Support / Re: Transaction does not exist on: July 13, 2017, 11:22:36 PM
The only other reasons for it that I can think of is that they're trying to artificially raise the amount of BTC they're "paying out" and/or the amount of BTC people are depositing by paying money to themselves...

or it is some sort of arrangement where the pool claims a share of the "profit" or something? Huh

otherwise there is simply no point doing it... they're just wasting money on fees and making the unconfirmed transaction chain longer. Undecided

8997  Bitcoin / Wallet software / Re: so i didnt knew my transaction size before sending bitcoins on: July 13, 2017, 11:54:54 AM
It will probably be a lot longer than a few days... even with the fees and the number of unconfirmed transactions being a lot lower than last month.

Sadly, you can't even use the ViaBTC TX Accelerator as you're below 10 sats/byte... Sad However, if you post the TXID I can try and accelerate it via another method.
8998  Other / MultiBit / Re: multibit support bip 148? on: July 13, 2017, 04:40:25 AM
To be honest, with all the issues with MultiBit classic and MultiBit HD at the moment... and the complete lack of updates from the developers... leaving your coins in MultiBit is a bit of gamble regardless of whether or not there is a fork. Just check all the threads in this board with people having issues.

The ONLY thing in their favour is that MB Classic supports exporting your private keys... so you'll be able to "rescue" your coins relatively easily... and MB HD uses BIP39 mnemonic from which you can somewhat easily derive your private keys (ie. by using https://iancoleman.github.io/bip39/)...

Given that the devs have declared Classic is no longer supported, don't expect any updates for BIP148 ever... and given that MB HD has not been updated since March despite so major errors, don't expect an update for BIP148 any time soon
8999  Bitcoin / Electrum / Re: Recovering funds from a P2SH multisig address on: July 13, 2017, 04:31:25 AM
You can verify that it belongs to that address... if you right click on the original "3" address in your 2FA wallet, you should be able to view the three public keys that belong to that "3" address. You can then generate the redeem script for this address by following the instructions here: https://bitcointalk.org/index.php?topic=1989369.msg19830190#msg19830190 (credit to Abdussamad for the Electrum console commands)

Once you have the redeemscript, there are instructions for determining the "1" addresses here: https://bitcointalk.org/index.php?topic=1989369.msg19853098#msg19853098 (Basically, just do steps 2 and 3, you only need to do the other steps if people want a signed message)

And finally, by using an offline copy of bitaddress.org (use the Github or zip download links at the bottom of the page and use in a VM or airgapped PC), you can input the two private keys you have generated and see if they match up with the addresses... or alternatively, you can just import those private keys into a new Non-HD Electrum wallet (select the "use public or private keys" option when creating a new "Standard wallet") and see if the "1" addresses match up with those from the redeemscript.
9000  Bitcoin / Electrum / Re: Electrum for Android on: July 13, 2017, 04:04:23 AM
If you mean specifically from Electrum for Android... there doesn't seem to be a way to access the private keys directly from the GUI. One method would be using your seed and importing it into the desktop version of Electrum. From there you will be able to easily get your private keys for your addresses.
Pages: « 1 ... 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 [450] 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 ... 514 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!