Bitcoin Forum
May 24, 2024, 02:59:22 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 [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 ... 103 »
641  Bitcoin / Bitcoin Technical Support / Re: Public Adresses - when do they start to exist? on: April 25, 2014, 10:06:22 PM
thanks

Is it possible to create a valid adress without the private key?

Yes, but it's practically impossible to find the private key for it.

See - 1BitcoinEaterAddressDontSendf59kuE

Sorry, I don't understand the mathematics.
The BitcoineaterAdress - how was it created? Did someone created addresses to bruteforce the bitcoineater-public-adress?
The address (before getting 58 encoded)  is 25 bytes. First byte is always zero. Next 20 is the hash of a (hypothetical) public key.
The remaining 4 bytes is a checksum of the previous 21.
It's easy to brute force such strings to match a certain b58 text pattern.
Much more complex though is to generate random private keys, originate a public key from that and hashing the public key - bruteforcing such to meet a pattern takes much more time.

Yes, you can create a valid address without a private key, but you won't be able to spend from it.
642  Bitcoin / Development & Technical Discussion / Re: How do I generate the transaction IDs used in createrawtransaction? on: April 21, 2014, 12:54:53 PM
"the txids are in essence (indirectly) referencing"... - not "addresses", but specific coins; coins which are known to be unspent.
in reality the blockchain protocol does not deal with such a thing as an "address" - instead it deals with a so called output scripts.
"address" is just a concept that made the technology more user-friendly, but the block-chain itself operates on unspent coins (described by txid+vout) that are protected by output scripts.

"to easily obtain the txids programatically?"
check out this RPC command:
Code:
listunspent
643  Bitcoin / Wallet software / Re: Gocoin - totally different bitcoin client with deterministic cold wallet on: April 13, 2014, 07:37:51 PM
Another monthly update on the development.
The previous one was on 0.9.3 - now 0.9.7 is about to be released.

Among the changes there isn't really anything big, rather gadgets though a few useful ones, so I think I will just quote the change log:
Code:
0.9.7
* Wallets tab of WebUI has an option to move an empty address to UNUSED wallet
* A user can quickly switch wallet being at any tab of the WebUI, as well as to reload it
* SendTx tab of WebUI refreshed Address Book using Ajax and addrs.xml
* Fixes and additional test cases around parsing of alert messages
* Added unit tests for "sighash.json" from the satoshi's repo and some more unit test rework
* A link to the user manual (served at google sites) in the header of each WebUI page

0.9.6 - 2014-04-02
* Client has a hammering protection (bans peers that keep trying to reconnect)
* Miners tab of WebUI does not show crap anymore is the chain isn't up do date.
* MakeTx tab of WebUI calculates estimated transaction size after signed (assumes compressed keys)
* Downloader can work with testnet and got a fix around an empty peers db after the headers stage
* New function "tools/utils/fetchtx.go", to download raw tx data from other websites
* If neccessary, FetchBal and FetchTx try several websites to fetch a raw transaction data

0.9.5 - 2014-03-24
* "MakeTx" tab of WebUI automatically recalculates the payment values to mBTC (for verification)
* The downloader does not have a default seed node anymore (you need to find one by youself)
* Do not block connections from 129.132.230.70-100 anymore
* Some changes in wallet's decode transaction functionality to better deal with non stardard txs
* "wallet -d <txfile.txt>" ignores spaces, tabs and EOLs in the hexdump of the transaction

0.9.4 - 2014-03-20
* The default "FeePerByte" changed from 10 to 1 (like they have done it in the reference client)
* The "-d" option of the wallet can now proparly decode coinbase transactions
* The client can work with multisig address description JSON files (place them in "wallet/multisig")
* Having the files in "wallet/multisig", MakeTx tab of client's WebUI can now create "multi2sign.txt"
  ... for the wallet, even properly mixing inputs from different addresses and address types.
* For multisig payments, "payment.zip" from the client contains "multi2sign.txt" and "multi_pay_cmd"
* The wallet can now deal with mixed (multisig and regular) inputs

Actually looking for the JSON files in "wallet/multisig" (added in 0.9.4) is a good stuff - quite convenient way of preparing multisig transactions for spending.
If I'd only used it myself... Smiley But if you are into multisig, have a look at this - you won't regret, I promise.

From other things, there is an updated User Manual, which I have spent some time on today. I described the WebUI and the client's config file. I believe it covers now the most important things on how to use gocoin, but I am open for any suggestions. I mean, it's kind of hard to write a manual for something that you know everything about, because you built it. So if you had any questions that it doesn't cover, or some feedback about parts that are not clear, I'd be happy to address it.

Also, apparently somebody reads this topic, because even though I wasn't asking for it the mods gave me back my Gocoin article on our wiki.
So if you'd like to contribute into that article, feel free. Just don't delete it to replace it with your ads, please - this time I already know where to go Wink
644  Bitcoin / Development & Technical Discussion / Re: Can Bitcoin Core be compromised by Heartbleed - are private keys exposed? - How? on: April 12, 2014, 11:21:25 AM
But apparently only few developers actually do that and bitcoin core devels don't seem to be on that list... at last as far as I had checked this code.
So, shame on you too! Smiley
Check again; see the use of CKeyingMaterial/CPrivKey which uses a secure_allocator (which asks the operating system not to swap the memory to disk, and which zeros memory on free). If I recall correctly, the RPC importprivkey should be the only place where the normal memory allocator is used (the keys exist as ordinary hex strings in memory before they are processed by the importprivkey code).
I see. Sorry - my bad.
Shame on me, then! Smiley

Well in such a case, the consequences of the vulnerability should not be so big after all, even if exploited.
If the keys are not left there, on the heap, no attacker can get them.
At the other hand to be really sure, one would need to dig into the actual openssl code, and audit that nowhere there such "secured" memory gets copied into some intermediate buffers. I mean, during any of the operations that involve some secret (priv key or a password).
645  Bitcoin / Development & Technical Discussion / Re: Can Bitcoin Core be compromised by Heartbleed - are private keys exposed? - How? on: April 11, 2014, 01:29:24 PM
FWIW, I absolutely disagree with how the openssl team solved the heartbleed bug.
Fist of all, the very issue of the problem originates not at this change, but at this one (or maybe even sooner, when they introduced an internal memory heap, to the library).
"Memory saving patch" - really? Smiley
This guy wrapped it up very well: http://article.gmane.org/gmane.os.openbsd.misc/211963

Had they not introduced the own heap to openssl in the first place, this heartbleed bug would have been causing memory access violation and the issue would be spotted long ego.
Moreover, the only reason for a security lib to have its own heap manager is to provide more security - meaning: make sure to clear all the memory while freeing it.
What this heap does instead is actually making sure that no memory is being cleared, no matter how you had built the lib!
So whatever buffer you allocate, in whatever function, there is a decent change that you will get it filled with some crucial data, like a private key used just a moment ago.
And therefore, knowing life, I am pretty certain that there are also other functions that leak the private data from openssl's internal heap - its just a matter of time before someone finds them.

The proper way to fix that issue was by fixing the internal heap (make it to clear the memory while being freed), or just removing it because it wasn't necessary in the first place.
But definitively not just fixing it like this, abstracting from the actual original cause.

At the other hand, it is a developer's (who uses this lib) duty to clear up all the crucial data from the memory, before freeing any buffer that would contain it, and preferably even sooner; as soon as the crucial data isn't needed anymore.
But apparently only few developers actually do that and bitcoin core devels don't seem to be on that list... at last as far as I had checked this code.
So, shame on you too! Smiley
646  Bitcoin / Development & Technical Discussion / Re: How do I Verify that a Transaction is Mine? on: April 10, 2014, 07:56:35 PM
I would like to know how the wallet processes transactions and determines which transactions belong to me and which do not.

Yes, walletnotify fires when a tx related to me has changed and whatnot. But I would like to understand the back end a little more in the bitcoind.
Well man, it's a complex subject.
Nobody can explain it to you in like one post.
Had you have a specific question, that would be much easier.

How the wallet processes transactions - that's the ultimate question, but there is no ultimate answer. Just a lot of studying.
647  Bitcoin / Wallet software / Re: Gocoin - totally different bitcoin client with deterministic cold wallet on: April 10, 2014, 03:53:21 PM
In case if anyone had wondered:
No - Gocoin isn't anyhow vulnerable to the heartbleed attack. Smiley

But mark my words: expect more of openssl shit hitting the fan in a future.
And in the meantime: better watch your money - Gocoin can help you with this.
648  Bitcoin / Wallet software / Re: Gocoin - totally different bitcoin client with deterministic cold wallet on: March 30, 2014, 07:55:04 AM
So my implementation has not much to do with bitcoind, but instead it is focused on fulfilling my own personal needs, which might (by a chance) be similar with your needs

What do you mean ?
I said it below, in the same post: a possibility (though back then rather a limitation:)) to disable relying transactions, convenient cold wallets, network bandwidth usage limit.

On top of that I can add: quickly switching between wallets, coin control (when bitcoind didn't have it back then), web interface (so I can operate/monitor my node via network), tuning to fastest peers (by periodically dropping the slowest one), mining pool stats... the list is long; whatever feature I found useful or even interesting during the last year - it's there.

For me as a developer it is also very important to be able to quickly rebuild a software for trying any change - bitcoind is a nightmare when it comes to that. Go is just so much more convenient and its code much smaller and readable than C++, though still performing quite similar.
649  Bitcoin / Development & Technical Discussion / Re: testnet: how to spend non-standard output? on: March 29, 2014, 07:45:14 PM
executing pkscrip (from the output you're trying to spend) fails in EvalScript(), at this check:

Code:
    if (script.size() > 10000)
        return false;

the pkscript from that coinbase transaction is almost 1MB - that's the reason, it makes it unspendable.
650  Bitcoin / Development & Technical Discussion / Re: Website Payment Intergation - What to Use? on: March 27, 2014, 05:49:43 PM
blockchain info API is very easy to use, but I don't think it is secured enough - mtgox merchant API had a better security.
I mean: except for the fact that the money was going into mtgox block hole Smiley

anyway, the best API I can think of (which I don't think exists yet, at least not for free) should be based on public key cryptography validating the 'payment received' callbacks.
blockchain info (for all I know) uses a fixed authentication token, same one for everything - that's just a disaster waiting to happen, if you'd want to use it for a serious stuff.
651  Bitcoin / Development & Technical Discussion / Re: network hardening or other ways to prevent forks in a war scenario on: March 27, 2014, 04:18:26 PM
Some are suggesting a mesh VHF network, but bandwidth on these frequencies, is too low.

I think you are either overestimating how much data bitcoin moves, or underestimating how much data packet radio can move.
And you don't even need to broadcast the entire blocks to prevent a fork.
Just announcing the block headers should be enough to inform the entire world where is the head of the chain.
That you don't have the transactions - that would be a different issue.

I was thinking about initial download of the block chain.
That's eventually going to become a problem, even with the internet working just fine, outside a war scenario.
Some way for compressing the chain (making possible to download just its current state) - this will become a necessity, sooner or later.
652  Bitcoin / Development & Technical Discussion / Re: Is this 16-of-16 multisig tx redeemable under current bitcoin implementation? on: March 24, 2014, 07:11:34 AM
You have "fd 04 a1", while it should be LSB: "fd a1 04"

try this:
Code:
01000000010c0ff2174a66d60bc4316d6ceb07f4301bf076a8db2e887580
113e22ead8e62e00000000fda10400493046022100c9d96032febdad642b
e00284ddfe71d9c42ee8b1111cecbb3086bcbfd756a774022100cc448b05
46ba2a7f7fc454d743a213ce7afd771dfc7ef4d9456790fcb9af5ecf0149
3046022100c9d96032febdad642be00284ddfe71d9c42ee8b1111cecbb30
86bcbfd756a774022100cc448b0546ba2a7f7fc454d743a213ce7afd771d
fc7ef4d9456790fcb9af5ecf01493046022100c9d96032febdad642be002
84ddfe71d9c42ee8b1111cecbb3086bcbfd756a774022100cc448b0546ba
2a7f7fc454d743a213ce7afd771dfc7ef4d9456790fcb9af5ecf01493046
022100c9d96032febdad642be00284ddfe71d9c42ee8b1111cecbb3086bc
bfd756a774022100cc448b0546ba2a7f7fc454d743a213ce7afd771dfc7e
f4d9456790fcb9af5ecf01493046022100c9d96032febdad642be00284dd
fe71d9c42ee8b1111cecbb3086bcbfd756a774022100cc448b0546ba2a7f
7fc454d743a213ce7afd771dfc7ef4d9456790fcb9af5ecf014930460221
00c9d96032febdad642be00284ddfe71d9c42ee8b1111cecbb3086bcbfd7
56a774022100cc448b0546ba2a7f7fc454d743a213ce7afd771dfc7ef4d9
456790fcb9af5ecf01493046022100c9d96032febdad642be00284ddfe71
d9c42ee8b1111cecbb3086bcbfd756a774022100cc448b0546ba2a7f7fc4
54d743a213ce7afd771dfc7ef4d9456790fcb9af5ecf01493046022100c9
d96032febdad642be00284ddfe71d9c42ee8b1111cecbb3086bcbfd756a7
74022100cc448b0546ba2a7f7fc454d743a213ce7afd771dfc7ef4d94567
90fcb9af5ecf01493046022100c9d96032febdad642be00284ddfe71d9c4
2ee8b1111cecbb3086bcbfd756a774022100cc448b0546ba2a7f7fc454d7
43a213ce7afd771dfc7ef4d9456790fcb9af5ecf01493046022100c9d960
32febdad642be00284ddfe71d9c42ee8b1111cecbb3086bcbfd756a77402
2100cc448b0546ba2a7f7fc454d743a213ce7afd771dfc7ef4d9456790fc
b9af5ecf01493046022100c9d96032febdad642be00284ddfe71d9c42ee8
b1111cecbb3086bcbfd756a774022100cc448b0546ba2a7f7fc454d743a2
13ce7afd771dfc7ef4d9456790fcb9af5ecf01493046022100c9d96032fe
bdad642be00284ddfe71d9c42ee8b1111cecbb3086bcbfd756a774022100
cc448b0546ba2a7f7fc454d743a213ce7afd771dfc7ef4d9456790fcb9af
5ecf01493046022100c9d96032febdad642be00284ddfe71d9c42ee8b111
1cecbb3086bcbfd756a774022100cc448b0546ba2a7f7fc454d743a213ce
7afd771dfc7ef4d9456790fcb9af5ecf01493046022100c9d96032febdad
642be00284ddfe71d9c42ee8b1111cecbb3086bcbfd756a774022100cc44
8b0546ba2a7f7fc454d743a213ce7afd771dfc7ef4d9456790fcb9af5ecf
01493046022100c9d96032febdad642be00284ddfe71d9c42ee8b1111cec
bb3086bcbfd756a774022100cc448b0546ba2a7f7fc454d743a213ce7afd
771dfc7ef4d9456790fcb9af5ecf01493046022100c9d96032febdad642b
e00284ddfe71d9c42ee8b1111cecbb3086bcbfd756a774022100cc448b05
46ba2a7f7fc454d743a213ce7afd771dfc7ef4d9456790fcb9af5ecf01ff
ffffff01d0dd0600000000001976a9147140b351f972295e98759a02c8f0
74bb7fd0c84b88ac00000000
653  Bitcoin / Wallet software / Re: Gocoin - totally different bitcoin client with deterministic cold wallet on: March 23, 2014, 04:54:14 PM
I think the most important thing for me, is an easy to use cold storage wallet - deterministic, based on a seed password.
It does not require me to do any backups, not even to store the actual password anywhere, except in my own brain.

Of course, for convenience and additional security (to access the cold wallet less often), I also use a wallet containing some small amounts on the online machine - obviously with a different seed password, but also not requiring any backups.

The client node can switch between my different wallets, in a fraction of a second. So I can easily choose any of them, use the web GUI to make an unsigned transaction - and then just execute the wallet app (on any PC I want; hot or cold) to sign it, simply by typing in the seed password which I keep stored only in my head.
Let's face it: it's the best security there is and none of the existing commercial hardware wallets comes even close to it.

And the recent versions also support a relatively easy to use multisig signing - which makes the security aspects even more crazy.
Personally I have not used it yet, didn't find a need for it, but I did test it, FWIW, so it should work.
654  Bitcoin / Development & Technical Discussion / Re: Is this 16-of-16 multisig tx redeemable under current bitcoin implementation? on: March 23, 2014, 04:33:34 PM
except that non-standard does not mean unredeemable
655  Bitcoin / Wallet software / Re: Gocoin - totally different bitcoin client with deterministic cold wallet on: March 23, 2014, 08:29:30 AM
Can you imagine that some asshole removed my entire article from the wiki, just to put an ad of his corporation in its place?
https://en.bitcoin.it/w/index.php?title=Gocoin&action=historysubmit&diff=43684&oldid=41856

We empower merchants... - WTF? What kind of article is this?
Vandalism and spam - that's all I know they empower for sure. Smiley

Anyway, I'm not going to argue with idiots, so I just recovered the content from the history and put it at a different name.
https://en.bitcoin.it/wiki/Gocoin_bitcoin_software


EDIT (2014-Apr-12):
I did not ask for it, but apparently people read my posts and someone decided that I should get the original location back:
https://bitcointalk.org/index.php?topic=560755.0
Anyway, thanks, whoever you were Wink
656  Bitcoin / Development & Technical Discussion / Re: Is this 16-of-16 multisig tx redeemable under current bitcoin implementation? on: March 23, 2014, 07:45:32 AM
can you post the raw transaction here?
657  Bitcoin / Legal / Re: suggestion on how to implement tax on bitcoin transactions. on: March 18, 2014, 03:38:47 PM
well, i think taxation plays a big role with regards to the acceptance of different governments. they don't want to legalize the use of bitcoins and they keep on  giving negative feedback to it.
that sucks for them Smiley
658  Bitcoin / Development & Technical Discussion / Re: How much information is shared with a multisig transaction/address? on: March 18, 2014, 03:25:17 PM
Quote
what information do people who are **NOT** part of the address themselves see

As long as you don't spend anything from a certain multisig address, everything stays secret from the third parties.

As soon as you have spent anything from such an address, everybody gets to know:
1) How many signatures were needed (N) for how many keys (M)
2) Each of the M public keys
659  Bitcoin / Wallet software / Re: Gocoin - totally different bitcoin client with deterministic cold wallet on: March 17, 2014, 05:14:06 PM
Haven't really looked at the other project.

From the description I read that it's basically bitcioind rewritten into Go - so that's at least the first difference, because Gocoin's architecture is quite different from bitcoind, especially at the "blockchain parser/db <=== online node ===> wallet" interface.

Yes, it's been a year since I started it, so you may say that it was one man-year work, though I wasn't working on any schedule, rather for fun, education and a personal necessity.
But that (according to some research I've learned) is supposedly much more efficient way of development than working for money and I think I can agree with it, comparing to how quickly I remember delivering stuff last time anyone was paying me, not to mention how much more stressful it had been  Smiley

So a may-year is a relative term and moreover, apparently the less you pay for it, the more you can get Wink
660  Bitcoin / Bitcoin Technical Support / Re: MAJOR BUG IN BITCOIN-QT! Payments on blockchain but not in Account on: March 17, 2014, 02:47:21 PM
Ok I will explain again, I am a newbie and half the talk your saying is going past my head about a million k's. Im not a retard, but you need to explain things simply to I get it.

All I got out of that is that one transaction has already been spent, and you agree that why does it not show.

Your confused about the isvalid as much as me!

I have already said -scan did not work and I done it twice. It scanned, but never showed the missing payments. How on earth can you expect the world to take Bitcoin seriously if these problems cannot be understood even by well seasoned user?? The sad part is I am out of pocket here! I seriously cant believe you said it doesn't matter that much!!

Well, for a starter, I am saying that there is no fucking way that your bitcoin client (working in a non-testnet mode) would return:
Code:
{
"isvalid" : false
}
... after
Code:
validateaddress 1JJA3L6UGUtrK3MzscbKdWFt8mrv6eHfkk

Either you found a bug in a piece of code that is very well tested (because completely wallet/chainstate independent) - or you cannot even execute a simple command properly.
Not to offend you, but knowing life, my odds are on the later.

In other words, paraphrasing you: how on earth can you expect anyone to take you seriously if the data you are providing are extremely hard to believe in?
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 ... 103 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!