Bitcoin Forum
May 02, 2024, 04:21:25 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 103 ... 162 »
1041  Bitcoin / Mining / Re: Where are unprocessed transactions stored? on: December 06, 2012, 07:15:29 PM
See https://en.bitcoin.it/wiki/Transaction_fees
1042  Bitcoin / Development & Technical Discussion / Re: DNS Bootstrap/Addnode Logic on: December 06, 2012, 07:13:22 PM
<snip>
  • Your local peers.dat file
  • Ask other peers
  • Query DNS
  • Use hardcoded list, compiled into client
<snip>
Thanks Jeff.  The hardcoded list, are those IPs or host names?

IP addresses.  But that hardcoded list, as you might imagine, gets out of date fairly quickly.

Typically an empty node with an empty peers.dat file gets most of its initial addresses from DNS.

After that, most addresses come via peer exchange, from talking to other nodes.

Quote
Sorry for such basic questions, I know the code is out there but I'm not a developer so I probably wouldn't know what I'm looking at.  I'm working on a project and want to be sure the peer finding process is as robust as possible when bitcoind starts up the very first time on a new client.  As I understand things, items 1 and 2 in the above list won't do anything the first time bitcoind starts up since there's no data there.  Item 3 will only work if DNS is functioning correctly.  Please correct me if I'm wrong.

That is correct.  But let's emphasize that this is the first time startup, so that other readers are not confused.

Too many people focus on the bootstrapping process, when normally most peer addresses come from your local database or other nodes.


1043  Economy / Exchanges / Re: Bitcoin-Central, first exchange licensed to operate as a bank. This is HUGE on: December 06, 2012, 05:33:54 PM
Great stuff.  Just sent this news to my G+ and twitter feeds.
1044  Bitcoin / Mining / Re: Where are unprocessed transactions stored? on: December 06, 2012, 05:18:18 PM
Well, extremely low priority transactions -- those with insufficient fees or otherwise appear somehow "spammy" -- will not be relayed or put into the memory pool.
A legit transactions with no fees is no longer accepted?

Key word "priority"

A transaction with no fees will be accepted...  unless it is too low priority.
1045  Other / Beginners & Help / Re: I'd like to help on: December 06, 2012, 05:14:22 PM
Also, how does more nodes help the network?

Each bitcoin node performs the important task of verifying transaction and block chain data.

For example, if a powerful miner, one day, decided to produce a block that gave himself 100BTC, all the other nodes on the network would ignore that block, because the block reward is currently 25BTC.

Further, running a node helps the network by providing users access to bitcoin data.  If we do not have nodes on the network that accept incoming connections, it would be nearly impossible for anybody to send or receive bitcoins.

Each additional node on the network helps strengthen bitcoin.  Each node is a "vote" for good data.  If we have too few network nodes, an attacker could potentially control the data we see.
1046  Other / Beginners & Help / Re: I'd like to help on: December 06, 2012, 05:10:52 PM
So by running a node your supporting the network but not actually making anything from the node? I thought that people that ran nodes got some small fee from a transaction they facilitated.

No, you do not receive any fees or compensation for simply running a node (besides the satisfaction of knowing you are helping keep the bitcoin network running).

1047  Bitcoin / Mining / Re: Where are unprocessed transactions stored? on: December 06, 2012, 08:27:41 AM
Where are the unprocessed transactions stored?

The memory pool.

However, because the state of each node's memory pool is random, your client is expected to retransmit transactions until they appear in a block.

This has nothing to do with priority: any acceptable transaction that hasn't been mined into a block goes into the memory pool.

Well, extremely low priority transactions -- those with insufficient fees or otherwise appear somehow "spammy" -- will not be relayed or put into the memory pool.

1048  Bitcoin / Bitcoin Discussion / Re: [COMMUNITY] Taaki, never tell anyone you are involved with Bitcoin ever again. on: December 06, 2012, 03:44:17 AM
Second, his attitude of "we're all just a bunch of hackers having fun" may have been appropriate last year but not at this point when lots of people work on bitcoin-related companies full time and Mt. Gox exchanged just under 10 million USD (bitcoincharts.com) in the last 30 days.  His use cases move from Silk Road to dodging the Wikileaks financial blockade to donations to print guns.  What's a simple shopkeeper going to think?  A more balanced portrayal needs to happen, and one that contains a lot less personal ideology.

+1000

1049  Bitcoin / Bitcoin Discussion / Re: My first experience with bitcoin was NOT positive :( on: December 06, 2012, 02:14:49 AM
Am now on my 3rd day of downloading the block chain.  To say this is ridiculous would be generous.  Come on core devs!

BTW, how did this happen?  Did no one anticipate how unwieldy the block chain would become?

It is not an issue of unwieldly block chain, but unwieldly database software.

Upcoming version 0.8 already addresses this issue.

1050  Bitcoin / Development & Technical Discussion / Re: Python implementations on: December 05, 2012, 08:00:08 PM
pynode pull requests accepted and encouraged!

Right now, I've been busy with the bitcoin C library implementation and client (libccoin and picocoin), which bumped pynode down on the priority list.

1051  Bitcoin / Wallet software / Re: [ANNOUNCE] picocoin and libccoin -- C-based bitcoin library and client on: December 05, 2012, 06:39:17 PM
A bit of a non-announcement, as it Just Worked(tm), but picocoin is happily talking to IPv6 nodes on the network.

Tor support (SOCKS5) should be added sometime soon.

1052  Bitcoin / Bitcoin Discussion / Re: POLL - Importing Private Keys in Satoshi Client. on: December 05, 2012, 05:49:30 PM
I think import private key should not be exposed to average users. Sweep private key should be offered instead.

Users are apt to believe that once they import a private key they have ownership of the funds. But someone else who has the private key can still swipe them, a rude awakening. Offering sweep solves this.

Indeed.  Any sort of private key from a gift card (or casascius coin) should be import and then the funds immediately sent to another private key, to prevent the previous private key holder from touching those funds.

1053  Bitcoin / Development & Technical Discussion / Re: Deterministic wallets on: December 05, 2012, 05:46:47 PM
In general, deterministic wallets (a) make life easier while (b) increasing the security threat (e.g. decreasing overall security).  Before, if one private key was compromised, others were safe.  Now, the picture is not so clear.

And if the seed is compromised, all keys are thus compromised.

If all private keys are covered by the same master key, then the security situation is largely unchanged, and the threat model focuses on protecting the seed (rather than a wallet full of keys).

However, private keys are not necessarily all tied together.

1054  Bitcoin / Wallet software / Re: [ANNOUNCE] picocoin and libccoin -- C-based bitcoin library and client on: December 05, 2012, 05:17:01 PM
Hey, thanks for libccoin!!! I used it for a brute forcer for Casascius's BIP38 contest and it was very clearly laid out (at least from what I used on the library side.)

Thanks for giving it a try.

Quote
I did find a possible bug, though:

When generating a public key and Bitcoin address from a private key, the EC key is using the compressed form, when I believe it should be using the uncompressed form. I added this workaround here, but I don't know if it is the right way to go.

https://github.com/notespace/picocoin/commit/736235acabf08f2eae8856673bfd68574c8600fe

The developer consensus seems to be that uncompressed form just wastes bytes in the blockchain, which is true, so libccoin was coded to always used compressed form.

However, it might make sense to support uncompressed public keys for use cases such as yours, as long as the code still produces compressed form by default.

Such a change would involve adding "bool uncompressed" (default: false) to struct bp_key, and behaving accordingly based on that.

1055  Bitcoin / Development & Technical Discussion / Re: New Sidechain Concept on: December 05, 2012, 04:37:08 AM
Sounds great! Now, that we have the technology, what will be the killerapp? :-)
Ente

How about a decentralized torrent tracker for a killer app?

Someone wrote that a long time ago: the DHT.

1056  Bitcoin / Bitcoin Discussion / Re: How do we deal with an internet blackout? on: December 05, 2012, 04:35:50 AM
If you want to transmit whole blocks, you are looking at 1,000,000 bytes every 10 minutes.
1057  Bitcoin / Bitcoin Discussion / Re: How do we deal with an internet blackout? on: December 04, 2012, 09:56:56 PM
This is turning into an interesting thread.  Although it is now lapsed, I was formerly a licensed ARRL amateur radio operator ("KB4UZB").

Here is a useful, cheap, realistic idea that would help bitcoin survive an Internet blackout:

Have multiple stations broadcast the best known bitcoin block header.

It is only 80 bytes of data, which on average changes every 10 minutes.  That should be feasible for packet radio and other low bandwidth communication streams.

Back in the late 1980s, the BBS days, I remember one FidoNet operator had access to a few unused, off-screen scanlines of a satellite TV channel broadcast all over the world.  If you bought or built a cheap decoder box, and already had a satellite dish, you could receive FidoNet file downloads via satellite.  You had no choice in what you received, of course -- it was whatever the FidoNet operator decided to send that day -- but it was a great alternate one-to-many broadcast mechanism.

One could broadcast the blockchain headers in the same manner, with extraneous satellite bandwidth.  (of course, that is an old trick and probably impossible these days due to tighter resource management)
1058  Bitcoin / Development & Technical Discussion / Re: DNS Bootstrap/Addnode Logic on: December 04, 2012, 09:47:03 PM
The internal, in-memory peer address database reads from several sources (in decreasing priority order):

  • Your local peers.dat file
  • Ask other peers
  • Query DNS
  • Use hardcoded list, compiled into client

The logic for finding peer addresses should be considered separate and independent of the logic used for connecting to other peers.

Addnode will always attempt to connect to the peer specified with -addnode, and it does not care what is in the in-memory address database.

Similarly, -connect does not care about the address database.  -connect always connects to the specified peer.

1059  Bitcoin / Development & Technical Discussion / Re: Python implementations on: December 04, 2012, 09:42:12 PM
The python pycrypto package uses python-wrapped C implementations for the performance-intensive classes, if my cursory perusal is correct. What I'd consider higher-level applications, like for instance, escrow, refundable deposits or micropayments are not typically that performance sensitive, and happen at "human speed". So as long as the real crypto-crunching hashes and public key algorithms are encapsulated in classes implemented in C, python or ruby are good choices to knit these lower level functions into bigger, more human-relevant applications.

Sadly, this is not enough.  pynode is a "full node" implementation.  It fully verifies all bitcoin blockchain data, including scripts and ECDSA signatures.

pynode uses OpenSSL/hashlib for all crypto and ECDSA, which are, of course, C-based python wrapper modules.

CPU profiling of pynode indicates that the vast majority of CPU time -- a significant, noticeable slowdown -- occurs in simple Python data structure copying.  Bitcoin's SignatureHash function requires copying an entire CTransaction, modifying it a bit, then hashing the serialized result.

This would not be noticeable in a lightweight client, but it is the #1 cause of slowdown when verifying a bitcoin block.

1060  Bitcoin / Bitcoin Discussion / Re: My first experience with bitcoin was NOT positive :( on: December 04, 2012, 04:37:50 PM
I think Blockchain.info is the first place new users should be sent to who want to create a new wallet.

That is disappointing, because it pushes users straight into a centralized, non-private, easy-to-monitor solution.  In engineering terms, an SPOF (Single Point Of Failure).

Point users to a decentralized client like MultiBit or Electrum etc.

Pages: « 1 ... 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 103 ... 162 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!