Bitcoin Forum
May 10, 2024, 12:57:05 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 »
101  Bitcoin / Development & Technical Discussion / Re: [ANN] bitcoin erlang daemon on: March 28, 2013, 03:52:07 AM
To be fair, r.willis acknowledged the issue earlier, before he released the code. Perhaps it was the reason he was reluctant to release the source to soon.

But if it does not verify transactions/blocks it relays, I effectively becomes threat to network, as if there is many such nodes, spammers can use them to amplify their abilities to flood nodes with malformed/fraudulent transactions.  

Or maybe the plan was indeed to have no verification in order to reduce transaction and block propagation time.
102  Bitcoin / Project Development / Re: Shouldnt we be funding/supporting a mesh network ? on: March 27, 2013, 10:21:27 PM
don't mean to rain on your parade, but the fact is that the Internet is indeed the largest mesh network even possible and to propose a 'supporting' network is almost ludicrous, because by definition, such a network would simply become an extension of the network. in fact, there is NO WAY that bitcoin itself could operate without the Internet....again, setting up a 'second' or 'supporting' Internet is not really technically correct way to see it, because by definition this 'extension' or 'supporting' network would simply be another part of the Internet.

anyway, you can't really create an 'internet' backup, and your question demonstrates you don't really know how the Internet works, or what it means. I'm just trying to help clarify so you don't waste years on a dream that is fruitless. The Internet is just that INTER-NET, it's not just one network, but literally millions or billions of nets all tied together, and even the BitCoin network is just another extension. amazing right, when you really stop to think about it.
Actually, it's pretty clear that you're the one who doesn't know how the internet works nor what a mesh network is.
103  Bitcoin / Project Development / Re: Free Webhosting For BTC project on: March 24, 2013, 11:02:43 PM
Does this include running a bitcoind instance each?

Anyway, maybe you should ask the mods for this to be stickied while the offer is available.
104  Bitcoin / Development & Technical Discussion / Re: Decentralised crime fighting using private set intersection protocols on: March 24, 2013, 10:54:36 PM
You know, if you want to argue that the financial system should be completely off limits to law enforcement and "follow the money" should be abandoned, definitely feel free to do that. Heck, maybe I'll be there arguing that along side you. Although it may not seem like it, I too appreciate the simplicity that comes with that approach.

The problem is, it's going to be a really tough argument to make, because law enforcement will have lots of examples of real cases where the technique worked. They will say, what about this case, or that case. How will we do our jobs if this tool is taken away from us?

The people listening to that debate will ultimately be politicians, who are trying to decide what to do with Bitcoin. They'll want to do whatever is most likely to get them re-elected. You know, they're faced with this system, how do they respond to it? So what happens if you can't manage to convince people (the voters) that "follow the money" is a fundamental infringement on peoples freedoms?

Well, you can propose a compromise solution in which "follow the money" is still possible, but designed such that it doesn't allow global surveillance or abuses of power by governments. Politicians are often open to such compromise solutions. Look at the DMCA. It balanced the needs of the content and tech industries via the safe harbor provisions: the whole thing is a giant compromise. So there is precedent for it.


By the way, I don't work on Google Wallet.

I find this political view rather naive, as if this good faith act of providing a compromise will count for anything in the eyes of those who don't like Bitcoin. Instead it simply provides a platform and a foothold on which to build. You cite DMCA as a good example, but ignore SOPA  Huh

This isn't really a compromise at all,
- the regulatory side are given a tool for free which may or may not be helpful, depending on the adoption of users (assuming no legislation to make it mandatory).
- the users of bitcoin get a more complicated system where some coins are less than others, in exchange for the hope that governments don't ask for more.
105  Bitcoin / Development & Technical Discussion / Re: Decentralised crime fighting using private set intersection protocols on: March 23, 2013, 11:00:12 PM
The problem I see is that users will converge on a set of blacklists whether they agree with the reason for blacklisting or not. Here's how (so you can explain what I've missed Smiley )

Suppose someone obtains some coins through a drug deal, and I don't care about that, so I happily accept his drug money for some other service. When I later try to spend that drug money, a large number of people refuse to accept, so I'm forced to use clean money for that transaction. This essentially means that the drug money is unspendable, and hence worthless, or simply worth less than clean money. I decide I'm not making that mistake again, so even though it's against my political principles, I refuse to accept drug money in future. I'm now one more person who has cut off anyone using drug money.

Combine the above with the fact that the majority of people don't want any trouble at all - even when completely innocent, and so will choose not to accept money on any of the blacklists run by governments, and you end up with a situation where your money is worth the most if it's not on any of the blacklists.

People in general are lazy, stupid and only willing to fight for their political beliefs when they personally are being persecuted, so I think the idea that we'll have some happy equilibrium representing what the majority believe in will not happen.
106  Bitcoin / Project Development / Re: How to make donations to bitcoind coders? on: March 23, 2013, 07:21:16 PM
Sure, mine is: 1B2fZN58SD4JqaTitHmBLcSo89GfUtvWZ3

Btw xenland you would be surprised. We're not compensated in any way.


If you intended to mean "direct" compensation I can agree, but I guess i was pointing out that usually people do things as an incentive and if the "core" dev team is still on board and do not get direct payments i'd have to say their "personal" investment increases over time (every 4 years?) and during bitcoin upgrades which in turn is their payment (or incentive).

What?
107  Bitcoin / Development & Technical Discussion / Re: A bitcoin UDP P2P protocol extension on: March 23, 2013, 03:42:37 PM
Not looked at the code yet, some thoughts:

1) In IPv4 max UDP data size is 65507 bytes.
2) What about big messages (block)?
3) I think relay speed can be increased only by reducing network diameter.  Introducing super-nodes with thousands of connected peers can greatly help here.
4) The only (IMO) UDP advantage: hole punching. But requirement of active TCP connection defies it. And hole punching will need protocol extension.
5) unsolicited tx broadcast will increase traffic of full nodes (especially well-connected) and less people will run them.
Maybe I'm reading this as overly negative, but I think you need to look at this in terms of how it can provide a foundation for experimentation and further work, rather than how it won't immediately solve every problem and will create others.

The point is that the protocol as it stands has shortcomings, and these may become problems as we scale up (in number of transactions, nodes or block size). As such, the protocol will have to evolve. Having work in place for sending and receiving some messages over UDP allows for more possibilities when considering solutions to larger network issues, and will give us a better understanding of the benefits of different approaches.
108  Bitcoin / Project Development / Re: [BOUNTY] 200 BTC for lightweight colored coin client(s) on: March 23, 2013, 10:08:06 AM
Fixed a bug (sounds like the one you describe) - check pull request.

Yeah, works now. Thanks.

Your second patch didn't work though: it says no valueToBigInt function, or something like that.
Ah, sorry, the calls to valueToBigInt should have been to Util.valueToBigInt.
109  Bitcoin / Project Development / Re: [BOUNTY] 200 BTC for lightweight colored coin client(s) on: March 23, 2013, 01:54:05 AM
color-aware block explorer kinda works now:

http://178.33.22.12:3334/bexplo.html

It is on testnet because there are performance issues with mainnet... Likely need to upgrade server to run it on mainnet... Also fix code, I guess.

Two color definitions are loaded: red and blue. (In future one could just point it to a color definition bundle of his choice.)

Genesis of blue:
b1586cd10b32f78795b86e9a3febe58dcb59189175fad884a7f4a6623b77486e
(loaded at start)

Genesis of red:
8f6c8751f39357cd42af97a67301127d497597ae699ad0670b4f649bd9e39abf

There is a bug: in some cases, colored input might be shows as having color 'none' at first, but when it shows same transaction again (click 'show' button) color is displayed correctly.

E.g. here: bd34141daf5138f62723009666b013e2682ac75a4264f088e75dbd6083fa2dba (4 blue inputs are merged into one).

Code is here: https://github.com/killerstorm/bitcoin-tx-spent-db (branch 'extra')

Fixed a bug (sounds like the one you describe) - check pull request.
110  Bitcoin / Bitcoin Discussion / Re: OMG! What has Satoshi created? He has opened Pandora's box on: March 20, 2013, 05:47:44 PM
Well Bitcoin IS mind-boggling, but it's not backed by natural resources. It is actually more accurate to say that Bitcoin is a natural resource itself... or more accurately a man-made resource.

Like gold, Bitcoin is not backed by anything because it is useful for certain purposes.

Sometimes I worry that I will wake up and Bitcoin will all have been a dream. I'll try to explain it to my friends and family, who will dismiss the silly dream as absurd. Of course you can't have secure decentralized digital money! Psssh!!

But yet, it seems real, and we're living it right now.
I expect your friends and family think you really a major drug dealer, and that this 'bitcoin' thing is just a way for you to avoid admitting it to them Grin
111  Bitcoin / Development & Technical Discussion / Re: How can I generate bitcoin notes securely? (Methodology) on: March 20, 2013, 05:33:53 PM
Split the work into a 2 man process? Use BIP 38 and have the note itself contain two individually sealed parts, one for each person's information (the encrypted key and the password).
112  Bitcoin / Project Development / Re: [BOUNTY] 200 BTC for lightweight colored coin client(s) on: March 20, 2013, 01:02:48 AM
For example, Brainwallet can give you a signed raw transaction ( http://brainwallet.org/#tx ), and it is very simple.

So I don't think it is monstrous at all... Just glue some pieces together.
Ah, I wasn't aware of this.

Also, without having the blockchain headers in the browser (say in local storage) and verifying them, the cryptographic proof is meaningless  - you don't have verification of the block header that the transactions are linked to.

Not quite... We can estimate how hard it is to make a fake block from this block alone. If we have some reasonable estimation of current difficulty, we can estimate opportunity cost of attack.

Note that one needs to mine a fake block after transaction was submitted... You cannot pre-mine some fake blocks and insert transactions there, it would change Merkle root.

So, all in all, if you know current difficulty, you can estimate that faking one block costs about 50 BTC.
Ok, fair enough, but that assumes that you are trying to fake a recent block. If you want to fake an old block, the difficulty is much lower.


So you additionally need to have a way for the server to provide a full header chain download and verification code in the browser.

I don't think it is a problem: server can collect all information needed by client in one blob. Client will then parse this blob to get block headers, Merkle branches, transactions etc. Size of this blob? Maybe a couple of megabytes... It isn't big by internet standards.
If you do this, then wouldn't it be simpler not to do backwards scan in the client at all? Instead, the client provides the server with the definition and the output he wants to test, the server then does a forward or backward scan and determines whether the output is colored, constructing a proof as it goes. Then it sends the proof to the client. Maybe this was your idea all along?
113  Bitcoin / Project Development / Re: [BOUNTY] 200 BTC for lightweight colored coin client(s) on: March 20, 2013, 12:01:36 AM
DFS-based coloring will used distance-to-coinbase db built on server to make sure that scanning uncolored outputs does not take too much time. It's just not ready, requires a bit more work.

ok, i see. i don't know that much about dfs, but from what i've read it doesn't seem possible on a key-value db like leveldb (which is what bitcoinjs uses by default). have you implemented a custom/separate db for the coloring?
Currently the algorithm finds the matching inputs for the given output and then visits each of these inputs. It is depth first because the order in which the inputs are put on and taken off of the queue is last-in, first-out. What killerstorm wants is to pre-calculate the depth of each output and store this depth with the output itself. This way, when adding the transaction inputs to the queue, you sort them in order so that the one with the smallest depth is always the last item in the queue, and thus is the next output that will be visited.


color.js works perfect ... but ... it does a recursive query using http. to me that seems a bit ... insane. at the very least sockets would seem more efficient.  but why not just do all the recursion work on the server-side? (is that the eventual goal?? -- plug the color.js module into bitcoinjs -- sorry if i missed this somewhere .. suffering from information overload)

I think the plan is that the code I wrote will actually end up browser side, replacing the node specific http requests with jquery ajax or something. The idea is that the server knows nothing about colored coins or any color definitions. Instead, all it provides is transaction data so that the client can store color definitions and perform the color-matching algorithm itself. This way you do not have to trust the server.

I wrote the code with the idea that it was probably going to be cannibalized and modified later when it gets integrated into the rest of the work. It is mostly a proof of concept that the idea works and that the performance is acceptable for an end user.


also, i'm confused, because i'm pretty sure the color definitions are based on addressHash160. but your code seems to key on specific transactions. i assumed you would query back to each address' "first appearance" as the origin. mainly because then you can easily distribute more coins of the same color (how can this be done with tx origins?)

i've mentioined before that i'm trying to keep my own work in line with your "official" coloring implementation. my biggest problem right now is multiple-color txs (using ordered ins and outs).  i'm sure i just need more time & understanding working with the bitcoin protocol (so this will come eventually).

A color definition is a pair of transaction hash and output index. This uniquely specifies a given output. When an address receives funds, what it actually means is that there was a transaction where the output specified that address as the receiver. The inputs of each transaction are simply the outputs of a previous transaction (or reward for mining a block). This way, you can trace all the bitcoins back to their creation, or similarly, trace all the created coins forward to where they are now.

The colored coins idea is that we simply label a given transaction output and then we can trace the location of this output forward as it gets transferred and split up between other people. By using addresses rather than outputs, you would limit the ability to use colored coins with non-standard transactions, and really, colored coins are much more interesting if you combine them with exotic transactions.
114  Bitcoin / Project Development / Re: [BOUNTY] 200 BTC for lightweight colored coin client(s) on: March 19, 2013, 11:04:40 PM
Development on client side:
2. Make it so client verifies crypto stuff rather than simply trusts server
This is a monster of a task - it equates to implementing most of the functionality of an SPV node in the browser. The crypto is intimately tied to the binary representation of the transaction data, so you need to implement full parsing of the raw transaction and block header structures.

Also, without having the blockchain headers in the browser (say in local storage) and verifying them, the cryptographic proof is meaningless - you don't have verification of the block header that the transactions are linked to. So you additionally need to have a way for the server to provide a full header chain download and verification code in the browser.

Anyway, I think if this is your plan, I can do this (assuming I have the time), but it's a lot of work, so can you break it down and assign individual bounties.
115  Bitcoin / Development & Technical Discussion / Re: What Bitcoin Could Learn From Gnutella (or, why devs need a spanking) on: March 14, 2013, 06:08:02 PM
The source code is the best documentation possible, and I dont wish to see few other implementation from third party, this may just brings problems..
If you only ever want one client, then who cares whether the source code provides good documentation or not? You'll use the software you're given because that's all there is. Your statement makes no sense.
116  Bitcoin / Bitcoin Technical Support / Re: bitcoin client that doesnt use so much bandwidth? on: March 11, 2013, 06:21:32 AM
What's the lie?

That it spends less bandwidth.
If I remember correctly from when I installed Multibit the ticker was active by default. At least I don't remember activating it, I just remember changing the currency from USD to EUR. But that was more than 1 month ago, so I may be mistaken.

BTW, Jim, if you read this, you should put a warning that after deactivating the ticker the client should be restarted or else it continues getting the data.

Lol, I didn't realize you could turn it off - assumed it simply stopped displaying it as the network activity didn't change.

Turns out that only accounts for 1KB/s each up and down, so there's still some funny business going on. 5KB/s total up and down over 24 hours is pushing half a gigabyte, compare that to what is possible from a thin client
- Sync from last checkpoint in mid-February, 3200 blocks is about 260KB down (2000 headers at 81 bytes per block plus 24 bytes message header, then same but for the remaining 1200),
- 144 blocks over 24 hours which is another 15.1KB (81+24 bytes per block header)

So total down could be as little as 275KB for your first day, then 15.1KB per day after that. Compare that to half a gigabyte per day and it's quite significant if you're running it over 3g or something.
117  Bitcoin / Bitcoin Technical Support / Re: bitcoin client that doesnt use so much bandwidth? on: March 11, 2013, 03:27:33 AM
Both have empty wallets. Surely Multibit should really only be receiving rare unsolicited 'inv' and 'addr' commands and sending nothing.
Ahh, just realized what the extra bandwidth is - MtGox ticker data.

Anyway, does anyone really care about a few KB/s?

Kinda strange that the Multibit developer doesn't know the behaviour of his own client and comes here passing lies as truths. But I digress...
What's the lie?
118  Bitcoin / Bitcoin Technical Support / Re: bitcoin client that doesnt use so much bandwidth? on: March 11, 2013, 03:01:07 AM
Now that MultiBit has bloom filtering it really reduces the amount of bandwidth used.

It will only download the transactions relevant to your wallet - my network usage when I am syncing is only about 100 KB/s at 100 blocks a second.

Well, I've used nethogs to check bandwidth spendings of bitcoin-qt and multibit yesterday, and your client spends more bandwidth than bitcoin-qt in normal usage. Like 5x more. And yes, I have way way more than 8 connections on bitcoin-qt.
Just tried this myself, here's the results after both have synchronized
Multibit: send 2.6 - 3.2 KB/s, receive 3.6 - 5.0 KB/s
Bitcoin-qt: send 0.6 - 1.2 KB/s, receive 0.6 - 1.2 KB/s

Both have empty wallets. Surely Multibit should really only be receiving rare unsolicited 'inv' and 'addr' commands and sending nothing.
119  Bitcoin / Development & Technical Discussion / Re: Poll regarding rounding of Bitcoin amounts in clients on: March 03, 2013, 09:21:35 PM
I think there are a few apps and website that use the 'satoshi digits' to indicate the roll of the dice etc so you will always need the option to show all 8 digits.

I think most of the time people read the first 3 or 4 digits and then the other digits hardly even register in their visual cortex. Maybe we could have the first few digits in regular sized font and then the rest in a smaller font, like this:

0.12345678

big = 10pt, small = 7pt.
The cutoff for big/small would have to be an option.
That way there would not actually be any rounding, but you'd only notice the significant digits.

I think this is what the blockchain.info phone app does. I liked the idea when I saw it, but it looked kind of weird to me. In a similar vein to changing font size, changing the colour saturation might also work, e.g.

0.12345678

or both combined (now my favourite after clicking preview)?

0.12345678
120  Bitcoin / Project Development / Re: [BOUNTY] 200 BTC for lightweight colored coin client(s) on: March 03, 2013, 08:55:10 PM
Yes, we have our own half-assed tx data server which can work instead of blockchain.info, I think.
Details?

Also, test vectors?
Pages: « 1 2 3 4 5 [6] 7 8 9 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!