Bitcoin Forum
June 17, 2024, 04:07:53 AM *
News: Voting for pizza day contest
 
  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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 [52] 53 54 55 56 57 58 59 60 61 62 63 64 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 ... 106 »
1021  Other / Beginners & Help / Re: Stuck transaction on: January 25, 2017, 01:14:08 PM
Yeah, there are a ton of unconfirmed transactions in the mempool right now ( around 55,000 at the moment ) so transactions will take a lot longer to confirm if the fees are lower.

During times of heavy congestion like this, you definitely want to use a higher fee than normal. Dynamic fees are previously mentioned a great tool to help ensure that good sized fees are used.
1022  Economy / Gambling / Re: bustabit.com -- The Social Gambling Game on: January 24, 2017, 09:07:48 PM
Thanks to @cowbay for the idea. The ability to "precredit" deposits for a small fee so you don't need to wait on confirmations. And I'll probably extend free-precredits as a VIP feature for established players Cheesy

Interesting feature. Seems like it would be open to abuse though. User pays a 3,200 bit fee to have 320,000 bits precredited, withdrawals/tips them and doublespends the transaction. I don't think charging a fee makes it any safer to accept unconfirmed funds unless you have some other mechanism in place to prevent abuse ( such as limiting tipping / withdrawls until confirmation )
1023  Bitcoin / Electrum / Re: Updating portable without loosing my BTC ?? on: January 24, 2017, 06:55:49 PM
You shouldn't need to do anything special to upgrade to a new Portable version. Electrum reads the wallets/configurations/etc from your User directory folder.

For example, on recent versions of Windows, it stores the data in the following folder
Code:
Users/YourUserName/AppData/Roaming/Electrum
and for Mac/Linux it will be in
Code:
~/.electrum

Just download the new version and you shouldn't have an issue.
1024  Bitcoin / Electrum / Re: Sending Bitcoin on Electrum On Phone? on: January 24, 2017, 04:42:58 AM
okay then how do you guys who sell bitcoin do this if not on your computer when selling to someone?

For that, the best way is probably to setup a wallet on your phone using Breadwallet (as previously mentioned, if using iPhone) or Electrum for Android. You could then send some of the funds from your Desktop wallet to your mobile wallet which could then be used when selling to someone. Using a separate wallet on your mobile device is recommended for increased security so that not all of your funds are at risk.
1025  Economy / Gambling / Re: BITDICE CASINO - CONGRATULATIONS TO WONTON FOR WINNING 300BTC on: January 24, 2017, 04:13:45 AM
I also think that luck favors to the brave decisions, still see what happened to wonton at the end. If he would have hesitated or would have stopped at right time then I will agree with you completely. Yet, daring and stopping at right time are contradicting each other imho.

You can really never know when the right time to stop is as no one can predict the future. That is the fun part about gambling as you never know what will happen next.
1026  Bitcoin / Electrum / Re: What does this code snippet do? on: January 23, 2017, 05:59:00 AM
Indeed, but then I guess the string must be "Seed version" in our electrum, otherwise the whole verification system won't work.

So if I were to change that string, then the whole verification system would be pointless.

Yep, you also would have to use that same "Seed version" string for the verification as that is what they choose to use. I'm guessing they used that string as the key since the point of that is_new_seed function is to determine which version of the seed is being used.
1027  Bitcoin / Electrum / Re: What does this code snippet do? on: January 23, 2017, 05:31:48 AM
I am trying to understand Electrum and working on a project that will use Electrum, but I have a problem understandint it's key generation.

I have figured out that the SHA-512 hash of the normalized mnemonic starts with 1 as an encoding for normal wallets. I will only work with normal wallets though.

So the version.py has a constant:

Code:
SEED_PREFIX      = '01'      # Electrum standard wallet

That is called almost every time to check the version of the seed. So far so good.

But then you have in bitcoin.py a code snippet like this:

Code:
hash_encode = lambda x: x[::-1].encode('hex')
hash_decode = lambda x: x.decode('hex')[::-1]
hmac_sha_512 = lambda x,y: hmac.new(x, y, hashlib.sha512).digest()

def is_new_seed(x, prefix=version.SEED_PREFIX):
    import mnemonic
    x = mnemonic.normalize_text(x)
    s = hmac_sha_512("Seed version", x.encode('utf8')).encode('hex')
    return s.startswith(prefix)


I am trying to figure out what this does, step by step.

1) For example the "hash_decode and hash_encode" structure which is never used again.

Is that what "x.encode" calls?

What is the function of these 2 lines?:

Code:
hash_encode = lambda x: x[::-1].encode('hex')
hash_decode = lambda x: x.decode('hex')[::-1]

2) I also don't understand what the "Seed version" phrase does exactly, does it append that to the encoded mnemonic?

3) Then it also checks for the start character of "s", but  then what is the point of adding the "Seed version" into the hash itself?

It's a pretty complicated structure, somebody could please explain.

For the hash_encode, it looks like it is simply taking x reversing it and encoding it in hex. [::-1] is the notation to reverse a string.

For the hash_decode, it looks like it is taking a hex input and decoding/reversing it back to the original.

I don't actually see the hash_encode/hash_decode variables being anywhere in the code snippets provided.

The "Seed version" string is the key for the hmac.new function which could really be any phrase, they just chose to use that one.  An HMAC is a cryptographic hash that uses a key to sign a message. A receiver could verifiy the hash by recomputing it using the same key.

So it looks like it is hashing the seed mnemonic encoded into hex and checking which prefix it starts with to determine if it is a new or old version of the seed format.
1028  Bitcoin / Electrum / Re: Sending Bitcoin on Electrum On Phone? on: January 23, 2017, 05:02:36 AM
I have electrum on my laptop.  Thus when sending bitcoin, i use the electrum wallet to do this on computer.  Now i want to know, can you do this on your phone?  For example i know certain people meet others and then release the bitcoin with their phone.  But can i use electrum on iphone and send bitcoin on it?  Blockchain you obviously can do this but logging onto the website since thats how blockchain is.

There is actually a version of Electrum for Android and supposed to be one released for iphone soon, but there isn't currently one for iphone. I've heard that a lot of people are using Breadwallet on their iphone. It seems to be the most recommended iphone wallet at the current time.
1029  Bitcoin / Electrum / Re: Electrum Sending Fee on: January 23, 2017, 05:00:24 AM
I recommend using the Dynamic Fees option within Electrum that can estimate the fees for you. The size of the fees are based on a multitude of factors such as transaction size, number of inputs, network congestion, etc.

To enable Dynamic Fees in Electrum, go to Tools->Preferences->Use dynamic fees

Then you can use the slider depending on how fast you wish for the transaction to confirm. If you want it to confirm quickly, use the slider all the way to the right. I have found that it is good at estimating the proper fees which works better than specifying a flat per KB fee.
1030  Bitcoin / Development & Technical Discussion / Re: Can I make wallet estimates from Bitcoin address? on: January 23, 2017, 04:21:58 AM
Wallets do not use different address formats. The address format (base58 check encoding in general) is a standard format in Bitcoin and used by all Bitcoin wallets.
Unless you are using a vanity address, which certainly is not an anonymity improvement.

Vanity addresses are still in base58 format and the format isn't changed on a vanity address. Vanity addresses are just brute forced to reflect some vanity at the front but the format is still the same as a normal address.
1031  Economy / Web Wallets / Re: Blockchain.info RPC JSON API on: January 23, 2017, 04:02:04 AM
Looks like the config.php file is missing the ending to the array.

It should be the following I believe:
Code:
<?php
      $rpc 
= array(
'login' => 'mywalletID',
'password' => 'mypassword',
'ip' => 'rpc.blockchain.info',
'port' => '80'
                
);
?>


Edit: Actually, it wasn't reporting an error about that so maybe that was just left out when you pasted into the forum post.

The
Code:
No address associated with hostname
error leads me to believe it could be an issue with DNS lookups. Have you verified that the resolver is properly set and that you can resolve domain names on the server?

Do you have a link to the specific version of jsonRPCClient.php you are using?
1032  Bitcoin / Electrum / Re: android electrum wallet on: January 22, 2017, 10:43:26 PM
Do you get any specific error messages when it crashes? It is always possible there is some specific error with that phone as well which could be fixed by the developers.
1033  Bitcoin / Electrum / Re: Electrum public address on: January 22, 2017, 09:54:57 PM
Just signed up on Electrum, but I seemed to have not gotten assigned a public address. I'm new at this, so am I just stupid?

Go to Receive tab and it will give you an address that you can receive BTC on. You can also use the Addresses tab ( Ctrl-A ) which will show you a number of different public addresses that can be used to receive BTC on.
1034  Economy / Gambling / Re: BITDICE CASINO - CONGRATULATIONS TO WONTON FOR WINNING 300BTC on: January 22, 2017, 08:24:29 PM
Looks like there was a bad run and a large amount of that profit has come back to the site. The site profit has crossed back over into the positive side for the time being.
1035  Bitcoin / Development & Technical Discussion / Re: Developing a Wallet? on: January 22, 2017, 07:22:05 AM

As Bitcoin_BOy$ said, there is also a trust part. Even if the individual wallet is developed, it must be accepted by the bitcoin community.

Actually I don't agree with the trust part. Trust is earned over time, if any developer gives up because he has no history and no trust, development is over.
Also everything is open source and if it is good, it will get peer reviewed, you can see this on GitHub in the number of "Stars" and "watchers" and "contributors" and some other stuff.

Yeah, everyone may not trust a new wallet initially until others have had the time to inspect and audit the code, but this shouldn't discourage development. Trust comes with time and if the software is built well, you should be able to gain trust after some time as long as the code is open source.
1036  Bitcoin / Electrum / Re: Do i have to upgrade each time a new version is released? on: January 22, 2017, 07:17:28 AM
Upgrading is generally a good ideas as the new releases contain bug fixes and new features. Some of the bugs fixed may be minor but other times critical bugs are fixed as well. It is generally a good idea to run the latest stable version, but you can always review the changelogs to see if it is critical to update or if you can wait a bit.
1037  Bitcoin / Electrum / Re: Send coins from a specific receiving address on: January 22, 2017, 02:39:48 AM
I believe I have the solution. Within Electrum, go to Wallet -> Coins. This replaces the "Address" tab with a "Coins" tab. From here, right click, select "Spend".

Yep, this seems to work. I tried upgrading to Electrum 2.7.17 from an older 2.7 version and could indeed no longer spend from the Addresses tab for some reason.

I'm guessing its due to the following change in the changelog:
Code:
* Qt: use separate tabs for addresses and UTXOs

Using that new Coins tab, I was able to send from specific addresses.

Wonder why they removed the Send From on the addresses tab.
1038  Economy / Gambling / Re: BITDICE CASINO - CONGRATULATIONS TO WONTON FOR WINNING 300BTC on: January 22, 2017, 02:32:58 AM
But BitDice security is too strong that noone for now can hack it's system and also he is a skilled gambler so he knows when to stop and won't lose any at all.

Skilled gambler? he is a lucky one, this game doesnt require skill , moreover with that much btc in the site he might use few and gamble with it again which probably resulted in a loss .Besides that it has nothing to do with the security because those 300 btc is not really in his possession yet unless he withdraws it

He has already withdrawn funds many times. So the 300 btc are indeed in his possessions and there isn't anything stopping him from withdrawing in the future lol.
1039  Economy / Gambling / Re: BITDICE CASINO - CONGRATULATIONS TO WONTON FOR WINNING 300BTC on: January 20, 2017, 09:29:45 PM
I want to congratulate wonton for making 300BTC profit!.

Go and try YOUR luck on the most honest casino online.

Regards,
Alex

Almost 300, but he is 2.4 BTC short Tongue But yes, he has been quite lucky in his rolls and has won quite a decent chunk.
1040  Bitcoin / Electrum / Re: Incorrect password. on: January 20, 2017, 08:45:19 PM
wyświetla mi się default_walet(standart) zapomniałem hasła ale mam nasiona jak odzyskać bitc.czy ktoś mi pomoże jestem nowicjuszem Wink

You can create a new wallet without the password or with a new password. For this, create a new wallet, select “restore” and enter your seed words. It should restore your wallet without the need for you old password.
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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 [52] 53 54 55 56 57 58 59 60 61 62 63 64 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 ... 106 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!