Bitcoin Forum
May 23, 2024, 12:10:11 PM *
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 »
121  Bitcoin / Development & Technical Discussion / Re: Problem: common language for Bitcoin wallets on: December 13, 2014, 04:36:57 PM
https://onename.io/

This is the only service I think that is close to what you're saying.

They use Namecoin to register Bitcoin addresses and offer an API to query the Namecoin blockchain and look up the bitcoin address by just querying the onename ID.

Your service could implement onename... but unfortunately, there will always be services that only offer bitcoin addresses, and onename is an opt-in service.

I think Bitcoin is still very small, so people are trying to find out what works best.

If you want to make something new that everyone will use, then awesome.
122  Bitcoin / Electrum / Re: Can't send bitcoins from Electrum on: December 13, 2014, 12:55:40 PM
10000 addresses??  Don't understand why you created so many addresses but I say just back up the keys to a secure location first then do it with 100 addresses at a time in electrum. Can't think of any other way.
Yes, already did it, many thanks for responses! It was damn painful )

Also beware: If you have 10,000 addresses and you're trying to put them into one, I'd assume you have 10,000 inputs... just your inputs alone would be over 1.8 Megabytes... which is larger than the block limit!!!

you will need to bunch your bitcoins together in transactions of less than 100 kB... which by the way, would be at the most 552 inputs and 2 outputs.

So if I were you, look at all the utxos you have, and bunch them together in groups of 527 inputs and send them to another address (so 1 output) and be sure to leave AT LEAST 0.00096 BTC miner's fee. (literally, anything less than 0.00096 BTC for a 96 kB transaction and it will be treated just like a no fee transaction...)

Any transaction over 100000 bytes will not do well...

if you have 10,000 utxos and put 527 in each transaction. you will need 19 transactions to pool them together in one address, then you'll be left with 19 utxos... if you want to pool those together 1 transaction is ok...

So your endeavor will require about 20 transactions to do.

Good luck, and have fun ;-)
123  Bitcoin / Development & Technical Discussion / Re: sign transaction on: December 13, 2014, 02:30:47 AM

I highly recommend against writing your own crypto...

What language are you trying to code in?
124  Bitcoin / Electrum / Re: Can't send bitcoins from Electrum on: December 13, 2014, 01:54:34 AM
i suggest you use Blockchain.info its online and you can import your private keys there to use them

Importing 10,000 addresses one at a time is horribly painful. Blockchain.info only allows you to add one key at a time, and you must enter your password every time.
125  Bitcoin / Development & Technical Discussion / Re: How Perfect Offline Wallets Can Still Leak Bitcoin Private Keys on: December 10, 2014, 07:05:57 AM
Better to just sign twice and compare the results: they should be identical.

I found a company that was having unauthorized transactions from their corporate bitcoin address in small amounts over a long period. I asked to review their code, and the guy they hired to code the system had basically used H( tx ) where H is 281 rounds of sha256 as a "deterministic" k and had secretly stolen the private key by looking at the blockchain. (as the tx was public knowledge and the only secret was the iteration count... which he knew.)

Using your check twice method, signing the same tx twice would give the same k... but still be unsafe.
126  Bitcoin / Development & Technical Discussion / Re: How to compute stealth address prefix compatible with Dark Wallet on: December 07, 2014, 03:12:32 PM
Thank you again for another informative post!  So if I am understanding correctly, the 10 most significant bits of the hash of the OP_RETURN script (including the 6a identifier and the length) need to match the most significant bits of the prefix bytes.  So I just churn through nonces until the complete script hashes with the proper prefix bits.

As for the "i" problem -- I actually didn't know that i was available after the loop ended-- I thought it was destroyed.  That's why I was confused about that.

Also, what is the point of a multisig stealth address?  What is an example use case?  For the life of me, I don't understand the purpose of it.

You, me, and my brother exchange pubkeys and decide on a prefix and scan keypair, we can now create a static multisig address that anyone can pay to but it will generate a new multisig address for each transaction. So like the Darkwallet donation address is p2sh multisig, a team of bloggers could post a stealth multisig that's 2 of 3 etc. but looking up that address will not get you anything on the blockchain.

Use case could be a company that needs 2 of 3 signatures from 3 execs high up, but they don't want to reveal the entire funds of the company, plus they don't want to continue to give out new addresses every single time. Just one static address that is not lookup-able on the blockchain, and will give them new addresses for each transaction.
127  Bitcoin / Development & Technical Discussion / Re: How to compute stealth address prefix compatible with Dark Wallet on: December 06, 2014, 12:20:14 PM
Also, I don't know how to make a pull request, but I'm pretty sure in lines 184-186 that the variable i should be changed to multi_n

Nope, this function parses it perfectly fine. I could replace i with (multi_n - 1) but since i ends the for loop with (multi_n - 1) anyways I left it there for simplicity's sake.

Edit:

Here's a stealth address I put together, it's a 2-of-3 p2sh multisig stealth with a 10 bit prefix at the end of it.

You can run it through my commit and it generates the outputs properly.

Code:
XnLzPVrAtK85YYpfthuy6o8urGjQCbr3kcbgzvKyCvuGY2VGSG1wmnkT5mYj1LTrY1fLi8eUjoLDDhA9VJYF2QWYdmW35V3dWPaCK4CJXWriLkXSXxXSLrgVNJxBpbZfcXf784Xzwa3YYPc3xycNQc8jZzo7828fCneoWS6zVfFeHFugBmx82Y64ZbA5rsYSkAo

Decoded into hex to make it easier to read with spaces:

Code:
2a = mainnet
00 = option
02e7b4c89573e9b26d6943919802fae4e364bc6520a2f7e7225e94121b38fcd394 = scan pubkey
03 = 3 total spend pubkeys
026cf6e82a420de750a5bb287a61274f4c593b2092c310eabd7837369d8fd40490 = spend_pubkey 1
03c4677b8497f7c785c9ac374db157c4e7b746040d425e13293d412784a85fa770 = spend_pubkey 2
02ae347b9e2d7d9ddf46b565438acee41df2b191762833ab362473f625a50c7267 = spend_pubkey 3
02 = 2 required signatures
0a = 10 prefix bits
ffff = 2 bytes because RoundUp(10 / 8) is 2, so 2 bytes. the first 10 bits (1111111111) must be matched.
7a00549c = the b58check checksum
128  Bitcoin / Development & Technical Discussion / Re: How to compute stealth address prefix compatible with Dark Wallet on: December 05, 2014, 12:50:11 PM
https://github.com/dabura667/electrum/blob/sendstealth/lib/bitcoin.py#L191

You are basically comparing the prefix to the trailing bytes at the end of the stealth address.

If the stealth address ends with a 0x00 that means a 0 bit length prefix.

if it is 0x0B then there will be two bytes tagged on to the end (because you need at least 2 bytes to represent 11 bits and 0x0B is 11)

so the sender takes the OP_RETURN script and hashes it with the nonce until the first 11 bits match the 1st 11 bits of the prefix bytes (the two bytes at the end of the stealth address)

This makes it easier for the receiver to find their payments, as the obelisk server stores all the stealth OP_RETURNS in a table along with the hash value given by double sha256ing the script + nonce.

So instead of checking every single one (like they do now) You can narrow it down to specific transactions.

The higher the prefix bit count, the harder it is to send to you but most people will probably only pick like a 3-4 bit prefix just to make synchronizing a tad faster. Higher the bitcount the less anonymity the stealth address has. (in fact, I think a 32 bit prefix that just tells the sender to place the 4 byte prefix AS THE NONCE and use that as an optional fully transparent re-usable address is one use case imo, as you can paste it statically on a website but you won't be reusing addresses when people send to you.

Anywho, any other questions?
129  Bitcoin / Electrum / Re: Using six sided dice to generate 12 random words from electrum wordlist on: December 01, 2014, 05:40:44 PM
Since most people use six sided dice and since I don't trust any function within operating systems that claims to collect sufficient entropy for cryptography, I have made a table to choose randomly and uniformly a word from the electrum wordlist using a six sided die or dice. The table can be downloaded here as a .htm file:

http://s000.tinyupload.com/index.php?file_id=85824502831582364441

Feel free to spread this file.

The table can be used to generate 12 random words using true randomness (dice) thus allowing you to create a private key with electrum. This can for example be used for a brainwallet.

http://www.reddit.com/r/Bitcoin/comments/2akdl5/howto_use_your_own_dice_rolls_to_generate_an/

This is better imo.
130  Bitcoin / Electrum / Re: Bitcoin Authenticator on: December 01, 2014, 05:35:19 PM
Ah, I missed this, good to know Smiley
Can you give me a link about this?

https://github.com/spesmilo/electrum/blob/master/plugins/cosigner_pool.py

This plugin was first committed on August 22nd.
131  Bitcoin / Electrum / Re: Bitcoin Authenticator on: November 30, 2014, 02:44:26 PM
If someone writes a plugin for it, sure...

But Electrum will support multisig 2FA of its own... so there's no need to implement that.
132  Bitcoin / Development & Technical Discussion / Re: ECDSA math on: November 30, 2014, 08:45:29 AM
This also allows you to calculate the public key from the signature.
lol. If you know the private key, you don't need the signature to calculate the public key.
133  Bitcoin / Development & Technical Discussion / Re: ECDSA math on: November 30, 2014, 02:39:01 AM
Quote
What is n ?
n = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141
aka "the order of the curve" of secp256k1 (the curve bitcoin uses)
134  Bitcoin / Development & Technical Discussion / Re: What is the possible biggest free transaction in bytes? on: November 29, 2014, 07:20:00 AM
I would like to know what is the biggest transaction(in bytes) without a fee could be created that node would relay?

https://en.bitcoin.it/wiki/Transaction_fee#Sending

A transaction may be safely sent without fees if these conditions are met:

  • It is smaller than 1,000 bytes.
  • All outputs are 0.01 BTC or larger.
  • Its priority is large enough (see the Technical Info section below)

So because of #1 in that list, I would say 1,000.

If your tx doesn't meet the above 3 requirements, then it will check the fee. If the fee is less than MIN_RELAY_TX_FEE (currently set to 0.00001 BTC on most nodes) than they remove the transaction from their mempool and don't pass it along.
135  Bitcoin / Development & Technical Discussion / Re: Vanitygen: Vanity bitcoin address generator/miner [v0.22] on: November 24, 2014, 08:15:53 AM
snip
Yes I am aware of how it works, I am just wondering where the "latest" repo is. (with support for compressed keys etc)

And if possible I would like some binaries... but not a requirement.
136  Bitcoin / Development & Technical Discussion / Re: Vanitygen: Vanity bitcoin address generator/miner [v0.22] on: November 24, 2014, 04:19:10 AM
I'm reeeeally sorry for giving up my epic quest of searching various keywords on this thread / clicking through the pages...

But if someone could make a new post that actually updates the OP with the latest news (I mean, this thread's OP makes no mention of all the functionality you guys are speaking of) on vanitygen, I'd appreciate it much more...

I am looking for a compiled version for Windows 7 64bit that a trusted member of the community has up on github or something... or a link to a well known repository...

that supports compressed addresses with oclvanitygen.

If there's any wiki-type page with all the necessary info on vanitygen and the latest patches / versions... I'd appreciate it. Thanks, and sorry again for failing at weeding through this thread.
137  Bitcoin / Electrum / Re: How do you protect your wallet and backup file? on: November 24, 2014, 02:42:50 AM
Whenever I click on my wallet, it opens directly and load the wallet file. However, I assume this is not safe. So how do I set a protection or encryption on the actual wallet? And how do you keep the backup file safe? I need a encryption for that, so each time I want to open the file, I will have to type a password.

This is not supported in Electrum for technical reasons.

The password you enter at the creation of the wallet only protects for sending bitcoin and viewing the seed / private keys.

Looking at your balance can not be password protected for technical reasons.
138  Bitcoin / Electrum / Re: Offline PC is not signing transactions on: November 22, 2014, 01:01:20 PM
Online and offline are both 1.9.8. I just reinstalled the offline 1.9.8 and tried a small .1 btc send, went ok. Next tried a larger transaction of one bitcoin and the transaction signs on the offline computer but clicking on the save button does nothing. I can not save the signed transaction to the usb key. This is a real problem for me. Program has been trouble free up to now. Ubuntu 12.04 lts on an older Toshiba laptop.
I have a question:

On the screen with the sign, save buttons, there are 2 white text boxes, the upper box should have a bunch of rows of gibberish and the lower one should have 1 or 2 rows with bitcoin addresses on them.

How many rows of gibberish are in the upper white text box for the one bitcoin transaction that fails.
139  Bitcoin / Electrum / Re: sending out 1btc, transaction shows as pending, not found in blockchain on: November 22, 2014, 09:55:12 AM
What are the exact output amounts of the transaction? Was one of the change outputs less than 0.0000546 BTC?
140  Bitcoin / Development & Technical Discussion / Re: As a developer, what's the best way to accept BTC without using third-parties on: November 22, 2014, 08:54:49 AM
If you can run a daemon you dont need to rely on any third partys.
You can create an account for each address in your daemon and use getbalance account to check that specific address balance.
Addresses need to be created on that daemon or imported and an account needs to be assign to that address.

Then once you have 100000000000000 keys on your wallet, you'll need 30 GB for the blockchain, and 500TB for your wallet.dat file... lol
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 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!