Bitcoin Forum
May 26, 2024, 04:42:06 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 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 ... 162 »
781  Bitcoin / Bitcoin Discussion / Re: Should the bitcoin community ban the Satoshi Dice filter patch? on: March 12, 2013, 03:39:18 PM
I agree that it doesn't have to be SD specific; it could simply filter out spammy dustcoins with no tx fee.

I believe SD sends dustcoins WITH proper tx fees. SD is paying the vast majority of fees now included in blocks, and has been for a while.

This is entirely irrelevant when the fees are miniscule, compared to the block reward subsidy.

The cost of all those unspent outputs created by SD, for lost bets, impacts all bitcoin users.

782  Bitcoin / Development & Technical Discussion / Re: Does a Request for Comments (RFC) for the Bitcoin protocol exist? on: March 12, 2013, 07:47:05 AM
second point: start to use testnet extensive before you go on prodnet. create a public testnet environment with massive transaction volume to get a feeling what can happen on prodnet. this is very important. at the moment you use the prodnet as a test and you are surprised if something goes wrong. this is not acceptable and this is not professional.

You are welcome and encouraged to fund a large, professional testing effort.  We need all the help we can get!

783  Bitcoin / Bitcoin Discussion / Re: In re Bitcoin Devs are idiots on: March 12, 2013, 06:41:23 AM
BDB shouldn't even be part of the spec, the spec should abstract the actual database implementation details and just maybe talk about whether it should have atomic transactions, whether we should be able to roll those back, under what circumstances to roll than back and so on.

Enshrining some bug in some particular implementation of "database back end" should be anathema, our spec should basically be telling us "BDB isn't up to spec, don't use versions of it that aren't able to perform as we need them to".


This. So much this. Dublin Core and RDF/RDA container formats are excellent examples of standards that in all of their lenitive documentation provide an example of moving the database details out of the software implementation.

This idea is from an alternate world where you don't have to worry about breaking existing users' software and data to the point that they cannot spend their own money.

Bug-for-bug compatibility is not a choice made joyfully and willingly.

Engineers always prefer a clean slate, a clean interface.  That works here, only with a little help from science fiction's time machines.

784  Bitcoin / Bitcoin Discussion / Re: In re Bitcoin Devs are idiots on: March 12, 2013, 06:38:36 AM
It is always entertaining to watch non-contributors opine about completely obvious solutions that the devs are silly to have overlooked.

The interesting thing about bitcoin is its organic nature.  The bitcoin codebase, warts and all, was dumped into the Internet's collective lap.  Reality does not give anyone a chance to pause, wait for a specification to be polished, to wait for every single edge case to be tested (if that were even possible), etc.

Almost half a billion dollars in market cap, and the dev team is still largely unpaid volunteers, trailing behind events, cleaning up the messes reality leaves behind.

785  Bitcoin / Bitcoin Discussion / Re: Alert: chain fork caused by pre-0.8 clients dealing badly with large blocks on: March 12, 2013, 06:04:45 AM
Please explain how the timestamp of block 225449(2013-03-12 05:30:02) is before block 225448(2013-03-12 05:33:45)?

It is permitted within the spec that one block may set its 'nTime' field before a previous block... but always within a certain range of time.

786  Bitcoin / Bitcoin Discussion / Re: Alert: chain fork caused by pre-0.8 clients dealing badly with large blocks on: March 12, 2013, 04:11:48 AM
"no amount of testing would have found this" is a bit strong.

It is a longstanding bug that has existed through bitcoin's history, but it is certainly not impossible to test for this condition.  testnet has many test cases embedded in the chain, and this bug trigger certainly could have been one such test case.

Water under the bridge...  Satoshi had zero test cases in this original software.  Gavin and gmaxwell led the charge to start adding unit tests, and testnet blockchain tests.  BlueMatt has been working on a block tester as well.

787  Bitcoin / Bitcoin Discussion / Re: Alert: chain fork caused by pre-0.8 clients dealing badly with large blocks on: March 12, 2013, 03:32:44 AM
It is my understanding that it's still possible for the problem to occur, if someone keep mining on 0.8, right?  As long at 0.8 is in the field...

The defaults for 0.8 mining are just fine.

However, if you increase the default block size limit, you can reintroduce the problem, yes.

Don't worry though.  Now that people are aware of the issue, it is easy to handle.

The fork will "heal", and all coins are safe.

788  Bitcoin / Bitcoin Discussion / Re: Do you think bitcoin users is blockchain spam? Drop their TX's - Solution inside on: March 09, 2013, 04:14:59 AM
It is not a solution. Satoshi Dick can start using unique generated addresses for each bet and it will be even worse then.

Open question.

Unique generated addresses might imply some per-bet or per-session communication with the users, that would open the door to a much more efficient method of sending the "bet lost" message.

789  Bitcoin / Bitcoin Discussion / Re: [ANN] Bitcoin blockchain data torrent on: March 08, 2013, 07:19:06 PM
Torrent file now also available via bitcoin's SourceForge page:

     https://sourceforge.net/projects/bitcoin/files/Bitcoin/blockchain/

790  Bitcoin / Bitcoin Discussion / Re: Do you think SatoshiDice is blockchain spam? Drop their TX's - Solution inside on: March 08, 2013, 04:29:38 PM
Lets make sure Bitcoin is transaction neutral!

Bitcoin was never transaction-neutral. Transactions with the highest fees per kilobyte will always "win", while transactions with no fees and new coins will always "lose". The rules exist to protect the network

Much more than that -- miners have always had the power to choose which transactions to include in blocks, which transactions to exclude from blocks.

The "censorship" is an intentional part of the system.  Miners should be free to ignore transactions they do not feel worth mining.

791  Bitcoin / Development & Technical Discussion / python-bitcoinlib: Comprehensive bitcoin library for python on: March 08, 2013, 03:13:49 AM
GitHub URL: https://github.com/jgarzik/python-bitcoinlib
Repository: git://github.com/jgarzik/python-bitcoinlib.git

The python library for pynode has matured sufficiently to have a home of its own.  The python-bitcoinlib project attempts to present a lightweight, modular, a la carte interface to bitcoin data structures and network protocols.

Features:
  • Easy object interface to all bitcoin core data structures: block, transaction, addresses, ...
  • Full transaction script engine
  • Fully verifies main and testnet block chains (via pynode)
  • ECDSA verification (OpenSSL wrapper)
  • Object interface to all known network messages
  • Binary encoding/decoding (serialization) for full bitcoin protocol interoperability
  • Passes many of the tests shipped with the bitcoin reference client (bitcoind/Bitcoin-Qt)

Like pynode, this library is currently a developer-only release, not recommended for highly secure production sites.

Pull requests, comments, questions and donations always welcome.


792  Bitcoin / Development & Technical Discussion / Re: [ANN] pynode: Simple bitcoin P2P node on: March 08, 2013, 03:04:42 AM
Library forked, and moved to a new home and forum thread:

     https://github.com/jgarzik/python-bitcoinlib

Pull requests and donations welcome, as always.

793  Bitcoin / Mining / Re: Soft block size limit reached, action required by YOU on: March 08, 2013, 02:27:34 AM
Readers are urged to consider that the following two positions of Satoshi are potentially mutually exclusive:

  • Fees will support the system, long term
  • Block size may be increased in the future

Right now, the block reward subsidy supports the entire system, so it is difficult to draw any conclusions about a fee-supported future -- and yet that is what we are being asked to do.

At the two extremes...

If the block size strategy is too loose (too big), there is no incentive to curb spam, there are not enough fees.

If the block size strategy is too tight (too small), fees are very high, in-blockchain traffic is discouraged, possibly users are discouraged away from bitcoin.

The open question is...
how to pick the best number?
or, how to enable a market to pick the best number?
or, how to pick an algorithm that picks the best number?

The fee/block-size balance is a crucial balance that must be maintained for the health of the system.  There is little evidence that Satoshi put much thought into this, probably supposing that the market would figure out the answer.

794  Bitcoin / Mining / Re: Soft block size limit reached, action required by YOU on: March 08, 2013, 02:18:50 AM
Most of this was already covered here in rough form:

   http://garzikrants.blogspot.com/2013/02/bitcoin-block-size-thoughts.html

In general, I would say there is rough consensus that the 1MB size limit probably will change sometime in the future.  But beyond that, opinions vary wildly.

I think there is also a rough consensus that unlimited block size is nutters.

795  Bitcoin / Development & Technical Discussion / Re: [ANN] pynode: Simple bitcoin P2P node on: March 07, 2013, 09:37:26 PM
pynode is very much alive and well.  It is becoming popular enough that we can branch off the internal "bitcoin" sub-directory into a proper python library, python-bitcoinlib.

Stay tuned for details.

796  Bitcoin / Development & Technical Discussion / Re: Block Size soft-limit maxing out this AM 6/3/13 on: March 07, 2013, 07:05:55 PM
The "soft" limit is set by each miner.

When I mined using vanilla, unmodified bitcoind + p2pool, it was a simple configuration setting to change the limit to 900k.

My first block was over 400k.

Soft limit "maxing out" is a non-event.

Oh, it's as simple as changing some configs? So pool operators are voluntarily limiting their blocks with no particular reason?

And some people seem to fear they would go the other way around....

For pools with older bitcoind software, changing the soft limit is simply a matter of changing a constant and recompiling.

For pools with recent bitcoind software, changing the soft limit is simply a matter of changing configuration settings:

Quote
         -blockminsize=<n>       Set minimum block size in bytes (default: 0)
          -blockmaxsize=<n>       Set maximum block size in bytes (default: 250000)
          -blockprioritysize=<n>  Set maximum size of high-priority/low-fee transactions in bytes (default: 7000)
797  Economy / Services / Re: John (Johnthedong)'s escrow service on: March 07, 2013, 06:08:32 AM
Does your service include using actual bitcoin escrow transactions (ex. 2-of-3 multisig)?
798  Bitcoin / Development & Technical Discussion / Re: Now that we've reached the 250kb soft limit... on: March 06, 2013, 07:57:17 PM
Clients should re-broadcast transactions or assume they are lost, if they fail to be included after X * 4 [blocks | seconds]

The current behavior of clients is fine:  rebroadcast continually, when you are not in a block.

Optionally, in the future, clients may elect to not rebroadcast.  That is fine too, and works within the current or future system.
799  Bitcoin / Development & Technical Discussion / Re: Now that we've reached the 250kb soft limit... on: March 06, 2013, 07:12:06 PM
...you can see how any long-running node will eventually accumulate a lot of dead weight.

Wow...tightrope walking with no net. If blocks are always filled and fees go up, the SatoshiDICE transactions (low fee) will clog the memory pool and I guess eventually there will need to be a patch.

Correct.  It's not needed right now, thus we are able to avoid the techno-political question of what to delete from the mempool when it becomes necessary to cull.

Quote
Quote
The mempool only stores provably spendable transactions, so it is DoS'able, but you must do so with relay-able standard transactions.

Why aren't mempool transactions purged after some fixed amount of time? This way someone could determine with certainty that their transaction will never make it into a block. Apologies if this has already been asked many times (it probably has).

As a matter of fact, that is my current proposal on the table, with has met with general agreement:

   Purge transactions from the memory pool, if they do not make it into a block within X [blocks | seconds].  

Once this logic is deployed widely, it has several benefits:

  • TX behavior is a bit more deterministic.
  • Makes it possible (but not 100% certain) that a transaction may be revised or double-spent-to-recover, if it fails to make it into a block.
  • mempool is capped by a politically-neutral technological limit

Patches welcome Smiley  I haven't had time to implement the proposal, and nobody else has stepped up.

800  Bitcoin / Development & Technical Discussion / Re: Now that we've reached the 250kb soft limit... on: March 06, 2013, 04:47:37 PM
Is there a place that describes how the reference client deals with the memory pool? Like, what happens when it fills up (which transactions get purged, if any, and after how long)?

The only way transactions are purged is by appearing in a block.  At present it cannot "fill up" except by using all available memory, and getting OOM-killed.  Therefore, you can see how any long-running node will eventually accumulate a lot of dead weight.

The mempool only stores provably spendable transactions, so it is DoS'able, but you must do so with relay-able standard transactions.
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 ... 162 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!