<nwilcox> gmaxwell: (I haven't read the wiki link yet...) I was imagining SPV-style PoW verification as a "strong bet" against double spends, so I don't quite follow your comment.
<CodeShark> wouldn't it be sufficient for a sender to prove that the output they've created has witnesses all the way back to valid coinbase transactions?
* nwilcox skims wiki page.
zooko has joined #bitcoin-wizards
melvster has joined #bitcoin-wizards
<gmaxwell> nwilcox: if you're trusting the hashpower then you can stop at just whats in bitcoin today. No more is needed. But _why_ trust the hashpower? it's a necessarily anonymous self-selecting group (you hope) of parties. :P There is a hope that the hashpower is economically incentivized to conform to the protocol because if they don't they'll get caught and their blocks ignored; but there needs to be
<gmaxwell> a mechenism for that to actually happen. :P
<gmaxwell> CodeShark: no because that doesn't show the absense of a double spend.
<nwilcox> gmaxwell: Well, yes, removing the reliance on PoW assumptions would be awesome. I wasn't considering that.
jmcn has quit [Ping timeout: 276 seconds]
<gmaxwell> K. well if you're willing to make them, then bitcoin's SPV ought to be enough.
jmcn has joined #bitcoin-wizards
<nwilcox> CodeShark: That sounds sufficient to me *iff* you assume PoW validation protects against double spends, right?
<gmaxwell> it's totally wasteful though, because you don't have to do that at all if you're trusting pow, just check the initial membership. Also I suggest traversing the graph of some coins sometime, for a great many you are rapidly casually connected to a signficant fraction of all transactions. :)
<gmaxwell> (thanks betting sites. :) )
<nwilcox> I blame non-hoarders for tightly interweaving the transaction graph.
erasmospunk has joined #bitcoin-wizards
<gmaxwell> nwilcox: there have been a number of on-blockchain betting services that their specific design required them to jointly spend coins from multiple sources that are atypically good at comingling histories, esp since moast of the transactions to them are numerous tiny amounts..
<gmaxwell> er most
d1ggy_ has joined #bitcoin-wizards
d1ggy has quit [Ping timeout: 265 seconds]
<CodeShark> gmaxwell: what about schemes that incentivize demonstration of double-spend proofs?
<CodeShark> point is construction of the proof could be offloaded to specialists who make it their business to detect them
<CodeShark> yes, there could be a conspiracy to withhold them
<CodeShark> but assuming the incentives are not misplaced and the system is sufficiently decentralized, can't it be made at least extremely difficult to enforce withholding?
erasmospunk has quit [Remote host closed the connection]
<CodeShark> actually...if you were to keep track of the total amount of existing coins on the network, wouldn't that also be a way to track double-spends?
<CodeShark> or detect them, rather
<gmaxwell> CodeShark: I am disappoint at your lack of reading sometimes, it makes talking with you a lot less fun.
<CodeShark> what should I read?
<gmaxwell> What I said in the discussion here (and #bitcoin-dev!) if I say something you don't get please ask me to cliarify. State commitments are sufficent to make the checks efficient (maybe necessary, not quite sure, e.g. commitments to a hashtree over the utxo set.
<gmaxwell> Then there are compact proofs for both double spending and spending a non-existing coin.
tcrypt has joined #bitcoin-wizards
tcrypt has quit [Remote host closed the connection]
<CodeShark> the thing you seemed to be concerned about was withholding attacks
<CodeShark> everyone playing dumb
<CodeShark> and I, admittedly, hadn't clicked on your proofs link
<gmaxwell> it's okay, it's just that you seem to be reinventing this I'd just mentioned! :)
<CodeShark> so then what's the downside to state commitments?
<CodeShark> :)
<nwilcox> miner overhead?
<CodeShark> presumably we need a scheme that does not require even miners to perform full validation
<CodeShark> so asymptotically, it would actually reduce miner overhead
<gmaxwell> CodeShark: it's a large overhead for verifiying, because now you have to verify that the stat updates are faithful, which needs a bunch more random IO.
<gmaxwell> "asymptotically" is a good way to talk yourself into a lala land of irrelevance though. :)
<CodeShark> well, even for finite systems that are growing exponentially :)
<dgenr8> i don't read either. what stops somebody from presenting a perfectly good UTXO proof from two years ago when it was spent an hour ago?
<gmaxwell> basically with the right commitment sets you can avoid having anyone store the state, but then you end up carrying around membership and update proofs for each input (hashtree fragments) and for our current utxo set size they end up being a couple kilobytes.
<gmaxwell> "so great, you've saved a $1 one time disk space cost for a $50/mo bandwidth cost. :P (or what have you, random numbers -- the point I'm making is that asymptotics can be misleading)
<CodeShark> I'm talking about a model that can survive exponential growth in usage (at least for a while)
<CodeShark> if the usage were to remain constant, then yes, it's silly
<dgenr8> CodeShark: with full-node security, or SPV?
<CodeShark> with something a lot better than SPV - but not necessarily deterministic
<CodeShark> let's say with negligible failure rate
<CodeShark> or with mitigated failure
<dgenr8> CodeShark: akin to SPV with arbitrarily many peers?
<gmaxwell> as I said, these are not new ideas; you are _years_ behind on this, please go actually crunch the numbers on what it looks like and you'll see the tradeoffs are not attractive at least anywhere within the realm of reasonable loads (e.g. supportable on today's hardware)
<nwilcox> "CodeShark> presumably we need a scheme that does not require even miners to perform full validation" Woah... so, relaxing global consensus?
<CodeShark> gmaxwell: forgive me for being behind - I have not seen the literature with these numbers and can't possibly follow all the forums and mailing lists and read everything back to the beginning of time
<gmaxwell> dgenr8: SPV security is not really improved by 'arbitrarily many peers'.
<CodeShark> so if you have some good literature with a summary it would be greatly appreciated
<dgenr8> gmaxwell: no? if an SPV node connects to the entire network, how does withholding work?
<nwilcox> +1 for literature summaries for people catching up (if you can afford the effort/time).
<gmaxwell> CodeShark: you're forgiven, there is no great one stop shop to catch up in an instant; thats not what I'm barking about. But actually following the links I give in context would be good.
<gmaxwell> The key words in this space are "txo commitments" "stxo commitments" "utxo commitments" and "stateless mining".
<CodeShark> I usually do - I got interrupted by a phone call in this instance
<gmaxwell> :)
<gmaxwell> dgenr8: withholding _what_?
<CodeShark> believe me, gmaxwell, there's nothing I'd rather be working on more than solving these exact issues...unfortunately I also have a bunch of other stuff to attend to :p
<CodeShark> so if you can help me catch up so I can usefully contribute it would be very much appreciated
jtimon has quit [Ping timeout: 246 seconds]
<gmaxwell> Will do. (But I don't have the time to do so right this second, but indeed collecting pointers on this would be very useful; since it seems a few new people have shown up)
<dgenr8> gmaxwell: spentness
<CodeShark> I think a bunch of people are essentially trying to invent the same thing here...and there isn't the best amount of communication
<gmaxwell> CodeShark: there was a ton of communication this litterally 100s of posts, mailing lists entries, presentations, wiki articles, implementations.
<CodeShark> please point :)
<CodeShark> most of the stuff on these things is noise
<gmaxwell> As I mentioned at the top, enthusasim has waned in part because of those two technical issues.
<CodeShark> and I just can't go through all of it
<phantomcircuit> Emcy, IPC is roughly irrelevant for bitcoin validation speed
<phantomcircuit> Emcy, i would be entirely surprised if intel is holding back on raw processing speed
<Emcy> what about moar coars
<phantomcircuit> probably the only way to significantly increase validation speed would be ops specifically intended for it
<hulkhogan_> CodeShark, grep ;p
<gmaxwell> dgenr8: what if no one at all knows? CodeShark's premise was that there are not full nodes at all, not even miners. So what if you create an invalid block and then just plead ignornace?
<Emcy> thye prob would put EC hardware in the cpu eventually but very liekly not the curve bitcoin uses
<gmaxwell> "oh, you want to test this part of it.. oh nope, don't know anything about that part"
<Emcy> EC is getting some widespread use now i think
<Emcy> though something bothers me about a CPU having all this hardware for very specific functions
<gmaxwell> Emcy: intel IPC has actually increased tremendously in recent parts.. count the actual cores.
<gmaxwell> they now ship 18 core parts...
shen_noe has quit [Quit: Leaving]
<dgenr8> gmaxwell: the interesting question is how to serve a couple billion SPV nodes. for that, the network should not need to be all full nodes. miners though, they need full node security afaict
Aquentin has quit [Ping timeout: 265 seconds]
<CodeShark> the only thing useful about the SPV concept is the hash tree - everything else I'd be totally happy scrapping :p
<gmaxwell> dgenr8: then you're talking about something different from codeshark.
<Emcy> 18 cores damn
<Emcy> not consumer though
<gmaxwell> Emcy: right because consumers would have no clue what to do with it, unfortunately.
<gmaxwell> applications have not scaled well to multicore in general, and consumers are (as we've noticed) now been conditioned to believe that fully using a core for more than a fraction of a second means the software broken. :(
<Emcy> how do we make sure bitcoin wont end up only runnable on server market parts
<jgarzik> throttle adoption
<gmaxwell> Emcy: non-server market seems mostly to be optimizing for power usage and size right now.
<leakypat> jgarzik: +1
belcher has quit [Quit: Leaving]
c0rw1n is now known as c0rw|zZz
<gmaxwell> disagree that throttle adoption is necessary or sufficient.
<gmaxwell> A single person could drive bitcoin to require a 18 core server cpu to keep up with absent limits, behold the power of "while true"; mean while the overwhleming majority of bitcoin denominated transactions happen without perturbing the blockchain (inside exchanges.).
<leakypat> To clarify, I mean adoption of blockchain written transactions
nwilcox has quit [Quit: leaving]
<gmaxwell> leakypat: yea, with that context I agree more!
nessence has quit [Remote host closed the connection]
<dgenr8> a UTXO set is a performance enhancement for a full node. since "everyone playing dumb" is a problem, it's probably just as well to skip the whole exercise of trying to prove unspentness...
<dgenr8> ...and just directly distribute the exercise of proving spentness. which just requires a tx index, not a summary database.
gmaxwell has left #bitcoin-wizards [#bitcoin-wizards]
<dgenr8> ...and allows individual nodes to have less than the full blockchain. ie they are capable of proving spentness for a certain part of the space
<CodeShark> what about an incentives model?
<CodeShark> why would they be interested in proving it?
<Emcy> it seems the only consumer hardware still going for raw power is gfx cards
<Emcy> so bitcoin has to better utilise those right
<dgenr8> CodeShark: well when resource requirements were lower, I hear there were 350K nodes
<Emcy> amd is pretty good at the gpu compute stuff right
<CodeShark> dgenr8: but generally, yes - incentives for proofs of spentness seems like a promising approach
<phantomcircuit> Emcy, even gpu's aren't designed for continuous load
<Emcy> well bitcoin isnt continuous
rht__ has quit [Quit: Connection closed for inactivity]
shen_noe has joined #bitcoin-wizards
<dgenr8> CodeShark: suppose you had both. if you ask about a txout, and you get both an "unspent proof" and a "spent proof", guess which one wins ;)
<CodeShark> unspent proof seems a lot harder
<dgenr8> lack of an unspent proof is a lousy substitute for a spent proof. lack of a spent proof gets more interesting the larger the set who fail to provide it
<CodeShark> the only person who might perhaps have the proper incentives to provide unspent proofs are the spenders
<CodeShark> *is the spender
<CodeShark> for anyone else it
<CodeShark> it's too expensive
<CodeShark> not worth it
<CodeShark> however spent proofs are relatively cheap
jb55 has quit [Remote host closed the connection]
jb55 has joined #bitcoin-wizards
<CodeShark> presumably if you got a spent and an unspent proof something broke :p
<dgenr8> CodeShark: unspent is fleeting. spent is forever (modulo reorgs)
<CodeShark> right - the unspent proof would only say "unspent within this particular chain"
<CodeShark> once the chain grows or changes, all bets are off
<CodeShark> so if a spender were to want to provide a proof of unspent, they'd have to continue updating the proof as the chain grew
jb55 has quit [Ping timeout: 255 seconds]
erasmospunk has joined #bitcoin-wizards
<dgenr8> i'm not sure that's harder than keeping a txindex, but the logical properties of an sxto query seem superior
<CodeShark> well, it's also difficult because the witness must be compressed
<CodeShark> it must use some SNARG or SNARK of some sort
<CodeShark> whereas proof-of-spent can be easily accomplished with a single witness...the transaction that spends it
<dgenr8> yes. the other stuff is reading-list material for me ;)
bramc has joined #bitcoin-wizards
<phantomcircuit> Emcy, IBD is continuous load
<bramc> There seems to be a law of commenting on bitcoin online: No matter what you say, somebody will accuse you of being a socialist
<CodeShark> pinko!
<CodeShark> hmm, not sure I've gotten that accusation from bitcoin specifically, bramc
<zooko> bramc: I'm just saving up my favorite Bram Cohen quote about Bitcoin for the right moment.
<Emcy> yes but not forever
<Emcy> cards are coming with stock waterloop snow anyway
<bramc> zooko, Huh?
<Emcy> >mfw "If there is hope, it lies with the gamers"
GAit has quit [Read error: Connection reset by peer]
<Emcy> socialism is ok
<Emcy> it saved my nans life a few months back after a series of 4 minor strokes
priidu has quit [Ping timeout: 264 seconds]
GAit has joined #bitcoin-wizards
<bramc> Emcy, My own economic outlook isn't so simplistic, I'm just confuzzled that people are accusing me of being a socialist for wanting to have prices set by market demand instead of subsidizing them to be zero
<bramc> supply and demand I mean
<zooko> bramc: I was just reminded of my favorite quote by Bram Cohen about how stupid Bitcoin is.
<zooko> bramc: I was teasingly claiming that I'm waiting for the worst possible moment to quote you on it.
<bramc> zooko, Using bitcoin as a 'store of value' continues to be ridiculous
* zooko cackles gleefully
<Emcy> subsidising the fees?
<bramc> zooko, People are quoting me on it to attack me now, I don't care. I will happily remind people about the track record of bitcoin to date in terms of what's it's done to people who have bought into it
<Emcy> what you described seems the opposite of socialism
<bramc> Emcy, subsidizing the transaction costs I mean. I just finished driving for two hours and am not wording good
<bramc> Emcy, Hence my being confuzzled!
erasmospunk has quit [Remote host closed the connection]
<Emcy> except if it counts as corporate socialism to the miners, which is the only kind of socialism people seem to be blind to heh
<zooko> bramc: wait, they're already quoting you from when you said something like "Bitcoin is just digital goldbuggery, which is even more idiotic than normal goldbuggery" ? Damn, there goes my chance to embarass you in public.
<bramc> zooko, It's golbuggism not goldbuggery, and yes they are
<amiller> rofl goldbuggery
<bramc> And I've always said, and continue to say, that getting excited about bitcoin because the value is going up is stupid, and saying it's a failure because the value is going down only marginally less so.
<Emcy> >goldbuggery
<Emcy> it seems it is you who has provided a quote for the ages zooko
<zooko> lol
zmanian has quit [Ping timeout: 272 seconds]
shen_noe has quit [Quit: Leaving]
erasmospunk has joined #bitcoin-wizards
Dr-G has quit [Disconnected by services]
Dr-G2 has joined #bitcoin-wizards
Dazik has joined #bitcoin-wizards
jaekwon has quit [Remote host closed the connection]
nessence has joined #bitcoin-wizards
airbreather_ has quit [Remote host closed the connection]
erasmospunk has quit [Remote host closed the connection]
cosmo has quit [Quit: Leaving]
Dazik has quit [Ping timeout: 248 seconds]
Dazik has joined #bitcoin-wizards
PRab has quit [Quit: ChatZilla 0.9.91.1 [Firefox 38.0.5/20150525141253]]
erasmospunk has joined #bitcoin-wizards
<bramc> Aaand Gavin's proposed BIP uses nlocktime instead of block height for rollout dates. The whole subject is horribly depressing.
<Dazik> join #warez
Dazik has left #bitcoin-wizards ["Leaving"]
prodatalab has quit [Ping timeout: 248 seconds]
PRab has joined #bitcoin-wizards
copumpkin has quit []
copumpkin has joined #bitcoin-wizards
<CodeShark> bramc: you mean block_timestamp, not nlocktime (I hope) :)
<CodeShark> although block_timestamp is almost as bad :p
<jgarzik> indeed, it is block_timestamp
<jgarzik> median time has been suggested on the list
erasmosp_ has joined #bitcoin-wizards
<bramc> If you want to be more precise about future time, you can have block_timestamp be used at some point to determine an amount of extra height before things kick in
<bramc> That would be a few minutes noisy but not have weird reorg problems
<CodeShark> I don't quite get the rationale for not using block_height either - I mean, I can understand that block height doesn't accurately predict a moment in time...but the rationale given is that the block height isn't available in the block header.
<CodeShark> two things: you still need to calculate block height to validate difficulty
<CodeShark> and...if we're going to hard-fork, might as well move the block height into the header rather than using that ridiculous coinbase hack
erasmospunk has quit [Ping timeout: 276 seconds]
<CodeShark> and let's add an extra arbitrary 256 field to the header to allow for future extensions
<CodeShark> oh, right...that breaks miners
<CodeShark> also, if we can't hack around the coinbase data issue, we could have a way of requesting only the merkle tree for the coinbase transaction
erasmosp_ has quit [Remote host closed the connection]
TheSeven has quit [Ping timeout: 256 seconds]
<CodeShark> still is an utterly rube-goldbergish hack...but at least it can be easily encapsulated so we never have to ever look at it in our code again
<CodeShark> I can already imagine miners creating coinbase transactions with a zillion outputs just to piss us off :p
TheSeven has joined #bitcoin-wizards
<CodeShark> so someone please explain to me the use case for "not needing to know the block height when doing validation" ?
<CodeShark> it is quite depressing, bramc...
<CodeShark> ah...I see Gavin's real reason in the ML
<CodeShark> it was easier for him to hack up something that only requires the timestamp :p
<CodeShark> grabbing the block height was apparently too much work
<phantomcircuit> CodeShark, the block height is not suitable because it can be +- the network hashrate growth from the expected day
<phantomcircuit> ie you calculate the expected height in 6 months
<phantomcircuit> price goes up and the hashrate goes up
<CodeShark> it's not particularly accurate - but it's very well-defined
<CodeShark> same thing goes for block reward halving
<phantomcircuit> and the difficulty retarget lag causes that block height to be reached x% earlier
<phantomcircuit> CodeShark, using the timestamp is reasonable, the way it's being used is comically absurd
<bramc> It could be set to the first block with a timestamp greater than X plus a certain amount of height
<phantomcircuit> bramc, and we have a winner!
<CodeShark> :)
<bramc> That would be fairly easy to hack up, and not have so many headaches.
<phantomcircuit> bramc, it's really silly either way though
<phantomcircuit> if you actually have a majority consensus you merely need to switch the nodes version of reality permanently
<phantomcircuit> all the non believers be damned
<CodeShark> the question is whether the reality really switched
Jaamg has joined #bitcoin-wizards
<CodeShark> if you can
<bramc> Might as well move around some utxos while you're at it. Get rid of all the really old unspent mining rewards, maybe eliminate the ones known to have been seized my mt. gox.
<CodeShark> lol
<phantomcircuit> CodeShark, that's the great joke
<phantomcircuit> what miners vote for is meaningless
<phantomcircuit> using that as the switch over criteria shows a fundamental failure to understand the matter
<CodeShark> we lack any other objective metrics besides hashing power that can't easily be games
<CodeShark> *gamed
<justanotherusr> I think the idea is to assume everyone already switched over manually..
<CodeShark> that's the unfortunate truth
<justanotherusr> the miner vote is just to get miners to agree with each other before they risk wasting moneey
<phantomcircuit> CodeShark, the only metric that matters is user adoption
<phantomcircuit> CodeShark, which cannot be reliably measured
<phantomcircuit> there is no safe way to hard fork
<CodeShark> phantomcircuit: precisely
<phantomcircuit> tada
<bramc> phantomcircuit, Miner buy-in for compatible extensions works fine
<phantomcircuit> bramc, yes for a soft fork it's fine
<phantomcircuit> bramc, since it's essentially the miners colluding to censor transactions which violate the new rules
<bramc> phantomcircuit, That's part of it, but it's also them agreeing that they'll all understand the extensions and deciding when to start issuing them
sundance30203 has joined #bitcoin-wizards
<bramc> technically a soft fork where the miners all agreed to censor certain utxos and make them unspendable would also work
<bramc> Although that... would be a bad idea
<phantomcircuit> bramc, shh dont tell them
<CodeShark> for a hardfork, if the vast majority of users are still on the old fork it just means miners waste their hashing power securing nothing
<phantomcircuit> CodeShark, correct
<bramc> CodeShark, The result of a hardfork doesn't tend towards one side or the other winning, it tends to mining hashpower going to the two sides proportionately to what their mining rewards are trading at on exchanges
mjerr has joined #bitcoin-wizards
<phantomcircuit> bramc, thus it being almost certainly a disaster unless you can achieve near universal consensus first
<bramc> Just like they're two completely unrelated altcoins, which basically they are
<CodeShark> bramc: yes, but I would think that's highly correlated with the proportion of actual users
<CodeShark> the price at exchanges, that is
<bramc> phantomcircuit, Yes exactly
<bramc> CodeShark, There aren't very many exchanges, they're the ones who have the greater say
<CodeShark> the exchanges will go with what they think is in their own economic self interest
<CodeShark> higher volume of trading would generally be seen as better for their bottom line
<CodeShark> however...I don't think this forked ledger is a stable situation :p
<CodeShark> I think the ultimate outcome is both lose
<CodeShark> either one wins overwhelmingly...or both lose
<CodeShark> and the longer the fork carries on without an overwhelming victor, the more likely they'll both lose
<phantomcircuit> CodeShark, except a bunch of them are planning to do centralized offchain transactions also
<phantomcircuit> so whose to say?
<CodeShark> I don't quite follow
<CodeShark> was that meant sarcastically? :)
<phantomcircuit> CodeShark, lots of them have -- as part of their business model -- operating trusted off chain transaction systems
<phantomcircuit> which mucks up the question about rational actors
<CodeShark> sure - that's fine for internal trades. the issue only applies to on-chain deposits and withdrawals
<CodeShark> but if it's easier for someone to get into and out of positions, they're more likely to want to trade
<jgarzik> a longstanding forked ledger is incredibly unlikely
<jgarzik> c.f. "50 BTC or die" folks :)
<phantomcircuit> jgarzik, at a 75% switch over it's practically guaranteed to happen for some period of time exceeding a week
<phantomcircuit> there's a fairly substantial amount of mining infrastructure that's entirely on autopilot
<phantomcircuit> nobody would even notice
sundance30203_ has joined #bitcoin-wizards
<phantomcircuit> hell even if 1% stays
<phantomcircuit> that's 1 block/day
<jgarzik> c.f. P2SH :)
<CodeShark> and not only do both forks lose in this scenario - any potential future cryptocoin loses as well
<jgarzik> That's perfectly OK... miners are allowed to piss money away
<CodeShark> confidence in the whole idea suffers
sundance30203 has quit [Ping timeout: 246 seconds]
<CodeShark> if a few miners are the only ones left behind I don't think anyone will shed a tear
<jgarzik> a few miners + MP
<jgarzik> ;p
<jgarzik> hmmmmm. Now I like forking even more ;p
<CodeShark> lol
<phantomcircuit> jgarzik, soft fork experience is meaningless
<CodeShark> the march 11th fork is actually a great example of user adoption did defeat hashing power adoption...but only by human intervention
<CodeShark> and willing cooperation from said miners
rht__ has joined #bitcoin-wizards
<moa> bramc: " it tends to mining hashpower going to the two sides proportionately to what their mining rewards are trading at on exchanges"
<moa> this is exactly what happened in early days of namecoin
<moa> and viiolent oscillations bettwen value and hashpower shifts
<CodeShark> are you talking about miners who mined both bitcoin and namecoin? not sure how this example fits in
<phantomcircuit> moa, and now namecoin is worthless
<phantomcircuit> so historical precedent is not good
<CodeShark> two merge-mined distinct ledgers is a whole lot better than one fork-mined ledger :p
<phantomcircuit> CodeShark, namecoin forked a bunch of times
<phantomcircuit> CodeShark, which resulted in diffent exchanges trading different forks
<CodeShark> ah
<CodeShark> that must have been a few weeks before I came into this space
<moa> CodeShark: this was before merge mining
<CodeShark> merged mining is perhaps namecoin's most significant legacy. unfortunately, namecoin's merged mining implementation is just about the worst possible way it can be done :p
<moa> depending on points in the cycle it was more profitable to mine namecoin or bitcoin, with same hashpower
<CodeShark> I missed out on all that mining fun - I never got to do any bitcoin mining
<moa> so hashpower was jumping back and forward between ... and exchange rate and difficulty oscillating wildly
<moa> which was partly the incentive to implement merge mining
<CodeShark> when I came into this space, GPU mining probably at its peak
<moa> hurredly admittably ... but hey
<moa> it works right
<CodeShark> it actually explains a bunch, moa
wallet42 has joined #bitcoin-wizards
<moa> lesson being you do NOT want the sha(256) hash power to split and start competing against each other
<moa> it's like a dragon eating it's own tail
<CodeShark> switching between different coins is not nearly as bad as switching between different ledgers of the same coin :p
<CodeShark> during the march 11th fork, the recommended policy for merchants and exchanges was to stop all transactions until the fork is resolved
<phantomcircuit> CodeShark, which is the only rational behavior during a hard fork
<phantomcircuit> which means there's no rational way to decide which side to goto as a user/miner
<phantomcircuit> and tada
<phantomcircuit> systemic collaprse
<CodeShark> there could be a rational reason to back one fork rather than the other if you strongly believe it will ultimately prevail
<CodeShark> as a miner, that is
<CodeShark> as a user, I think the rational thing to do is wait :)
<CodeShark> barring criminal intent, of course
<CodeShark> as a miner, the only real downside to backing one side and losing, really, is cost of electricity and a few missed blocks
<CodeShark> so one could even argue that it's more rational to mine on either fork (even without having any idea which will prevail) than not mining at all
<phantomcircuit> CodeShark, the rational decision for miners is to turn off their equipment
<phantomcircuit> fun right?
<CodeShark> so the conclusion is 75% of hashing power is an extremely poor metric to use here :p
<CodeShark> but any other metric likely requires some level of human intervention
<jgarzik> miners follow users after a hard fork
<jgarzik> except the ones on autopilot that get ignored
<CodeShark> jgarzik: that only happened on march 11th because of pressure applied on a few big pool operators
<CodeShark> had that not been done, they might not have noticed for a while :)
<CodeShark> autopilot definitely favored the minority fork in that situation
<phantomcircuit> CodeShark, i believe it is actually the worst possible
<phantomcircuit> it's high enough that the uninformed will believe it's meaningful
<phantomcircuit> will also being a useless metric
<phantomcircuit> AND basically gurantees a true network split
<CodeShark> can't we conduct a poll somehow and decide based on that? (yes, I know polls can be sybilled...but let's not be such geeks for a moment and think practically)
sy5error has quit [Remote host closed the connection]
<phantomcircuit> jgarzik, you really have no way of knowing that, the march fork had an entirely clear course of action once it became clear what was happening
<phantomcircuit> CodeShark, no because sybil
<CodeShark> lol
<phantomcircuit> CodeShark, the polls people have put up are actually being attacked in this manner
<CodeShark> we don't just place an online questionaire up for anonymous responses - we'd have to have the process monitored by actual people...and yes, it can get political
<jgarzik> phantomcircuit, outside of hyperventilating wizards, the near unanimous majority I hear wants the network to continue to scale. If the network hard forks to 2MB in 6 months, the network will not fall over. Hard forks include big risks, but it is being blown way out of proportion -- on here & by Mike Hearn both. Mountains are being made out of molehills.
<jgarzik> As a result, when the block limit is higher and there is truly a danger to decentralization, the wizards will get ignored because they squawked too loudly, too early.
<jgarzik> On the conservative side there is a noted lack of proposals, which leads to difficulty in taking that side seriously. At least Adam has his thinking cap on.
<CodeShark> I don't think we're only talking about this block size issue, jgarzik - I think this applies generally to having any sort of hard fork process
<CodeShark> it's not about people wanting the network to scale, ultimately...that's a red herring
<jgarzik> CodeShark, perhaps - the context is unavoidable. _This_ hard fork is not going to end the world.
<CodeShark> it's about one group of developers wanting control over the network vs. another
<jgarzik> and painting is thusly is disengenuous
<CodeShark> that's really what it will come down to
<CodeShark> let's not be naive here
antanst has joined #bitcoin-wizards
<phantomcircuit> jgarzik, i've heard things from "what the fuck" to "i want bigger blocks without a hard fork"
<jgarzik> leave the cloister
<jgarzik> and get out into the world
<phantomcircuit> jgarzik, i've yet to speak to anybody who both wanted larger blocks and understood that they required a hard fork
<phantomcircuit> "your sample size is small and you should feel bad!"
<jgarzik> I've literally been flying all over the world taking samples ;p
<CodeShark> also, the block size increase push has a lot more to do with avoiding fee pressures than scaling
<CodeShark> let's also not be naive about that one :)
<leakypat> I couldn't find anyone at my meet up who didn't want to raise the block limit, some wanted it removed with no limit
<phantomcircuit> jgarzik, i suspect your samples are strongly biased
<jgarzik> CodeShark, yes - and they go hand in hand. To review, the _years long_ policy has been avoiding fee pressure. That is the market expectation. It is a major - and conscious - market shift to change that.
<jgarzik> That is not a judgement of good/bad, just a statement of fact.
<phantomcircuit> either way
<phantomcircuit> nobody will be happen when shit explodes
<jgarzik> Maybe you want fee pressure, maybe you don't.
<jgarzik> either way, it is a delta
<phantomcircuit> note: i personally will divest entirely before the fork date...
<jgarzik> to argue to _begin_ fee pressure is a market change
<leakypat> Most people I talk to aren't aware that fees are subsidized
<jgarzik> and an economic policy change
<moa> just a little fee pressure then?
<bramc> jgarzik, 'Leave things be' as a proposal is hard to take seriously?
<Luke-Jr> jgarzik: we have had fee pressure before
<jgarzik> bramc, No semantics will get around the fact that it is an change in economic policy to introduce consistent fee pressure.
<bramc> jgarzik, arguably the market expectation has been that the rules which everyone has bought into by participating in the system will continue to be followed
<Luke-Jr> jgarzik: also, it's becoming more and more apparent that we will have fee pressure no matter what very soon: "stress test" spammers are going to be filling blocks as much as they can.
shen_noe has joined #bitcoin-wizards
<Luke-Jr> jgarzik: I'm not sure what the link is meant to suggest.
<bramc> jgarzik, Is a balloon at the end of a mortgage schedule a sudden change in policy?
<jgarzik> bramc, If you want to argue for economic change, that's fine
<jgarzik> bramc, but be honest and admit that it is different from current policy
<Luke-Jr> jgarzik: we haven't consistently had no-fee-pressure either
arubi_ has quit [Quit: Leaving]
<jgarzik> Luke-Jr, on average yes we have. each time the situation arises, Hearn lobbies miners to increase their block size soft limit, and/or Bitcoin Core increases default miner soft limit.
<jgarzik> the history is quite clear.
<bramc> jgarzik, I am arguing for economic change, but it's also coming right on schedule, as everyone paying attention has been aware of for years
GAit has quit [Read error: Connection reset by peer]
<jgarzik> the numbers are quite clear.
<jgarzik> bursts of fee pressure are inevitable and natural. the long run average is low pressure / subsidized however.
<moa> full nodes could be incentivised to pay miners for smaller blocks I suppose
<dgenr8> people keep saying that word "subsidized". i dont think it means what they think it means
<gwillen> dgenr8: transactions are secured by miners, but miners are paid by inflation right now, not by transactions.
<gwillen> So the security of transactions is subsidized.
<bramc> gwillen, Also subsidized by full nodes
GAit has joined #bitcoin-wizards
<dgenr8> that makes all kinds of assumptions about the future economic value of the block reward
<moa> hearn is a good lobbyist, it has to be said ... the bitcoin foundation could have used him
<bramc> dgenr8, Some members of the ecosystem are taking on significant costs to avoid those costs hitting others. 'subsidized' is a close enough word.
<dgenr8> the exhg rate since the last halving pays for the next 3 halvings.
<bramc> the bitcoin foundation seems to be a collection of the sketchiest people you'll ever meet
<dgenr8> so lets not get too up in arms about it
jmcn has quit [Ping timeout: 276 seconds]
<jgarzik> moa: hehehehe I dunno I think hearn isn't so great as a lobbyist, he's angering everyone with this contentious fork stuff
<bramc> dgenr8, Nobody is suggesting getting rid of the halving!
<jgarzik> maybe he is a lobbyist for keeping it at 1MB :)
jmcn has joined #bitcoin-wizards
<dgenr8> read what i wrote again
<dgenr8> exchange rate is up 10x since 2012 halving
<dgenr8> gavin is right that this is the number miners should care about
<CodeShark> there seem to be two main interests behind the fee pressure avoidance policy: 1) bitcoin maximalists who think if we only were able to convince more people to use bitcoin the network would magically be able to suddenly support hundreds of millions of new users. 2) lazy developers who don't want to try to figure out a good solution to fee bidding
<bramc> I like fee bidding as a subject. I wish we were discussing that.
<jgarzik> CodeShark, now who's being naive ;p
<CodeShark> I said "seem" :p
<gwillen> bramc: I was interested to see that fee estimation is more widely deployed than I realized
droark has quit [Quit: ZZZzzz…]
<bramc> gwillen, Where? How?
<gwillen> that plus safe-RBF (or CPFP) sort of gives you fee bidding
<gwillen> bramc: let me see if I can find where I read that
<bramc> safe-rbf is something but it sucks. It directly reduces the potential throughput of the system as a whole, driving up prices even more
<jgarzik> CodeShark, software & market are not prepared for consistent fee pressure. c.f. economic policy change.
Giszmo has quit [Quit: Leaving.]
<jgarzik> "Let's change economic policies without preparing the ecosystem!" is not a responsible position.
<jgarzik> sorry bramc
<gwillen> bramc: "As of v0.10.0 Bitcoin Core estimates fees for you based on the supply and demand observed on the network. By default it tries to pay a sufficiently large fee to get into the next block, so as demand increases it pays higher fees to compensate."
<gwillen> jgarzik: it's clearly a chicken-and-egg problem
<gwillen> jgarzik: nobody puts in engineering effort to fix problems that don't exist yet
<moa> maybe we could have full nodes into a pool for assurance contracts that pays miners automatically when they produce smaller blocks ... and run it on lighthouse?
<bramc> gwillen, *cringe* there are some control theory problems with that
<gwillen> bramc: oh sure, but it's a first attempt at least
<gwillen> it's better than _not_ doing it
<gwillen> it at least gives a better starting point for RBF than just guessing blindly
pavel_ has quit [Quit: Leaving]
paveljanik has joined #bitcoin-wizards
<gwillen> you're right that a real auction would be better economically, but I'm not even sure how you'd begin to do that
ThomasV has joined #bitcoin-wizards
<CodeShark> it clearly is chicken-and-egg...we need to push the envelope...and can't expect things to always be economically smooth
<bramc> jgarzik, I very much want to discuss economic preparation, but the conversation is all getting derailed by talk about a hard fork and rbf not being supported and things which are generally sabotaging forward progress :-P
<CodeShark> we need to be faced with the problem to motivate us to find a solution - and it's arguably easier to solve it now rather than later...while blocks are still mostly subsidized by reward
<bramc> I've also talked with the lightning network guys and am trying to help with that as I can
<gwillen> jgarzik: do you follow rusty's blog at all? http://rusty.ozlabs.org/
<gwillen> jgarzik: he has good posts recently about (1) what gets crowded out if blocks fill, and (2) what happens to latency if blocks grow. (Both simulations based on guesses, obviously.)
<bramc> gwillen, Miner algorithms for what to accept are *mostly* straightforward, it's the clients deciding on fees which is hard.
<gwillen> bramc: agree on that, yes
<bramc> Come to think of it, a lot of people not cringing about the suggested fee estimation techniques is because they don't have much experience with control theory. I have, uh, a lot more experience than I ever cared to with control theory.
<gwillen> When you talk about control theory, is the issue that you can't reason adequately about what fees are required based on the data you have? Or that a bunch of clients trying to naively do so at the same time will interact badly with each other?
<gwillen> I.e. fees will oscillate wildly or something?
<moa> bramc ... multivariate problem requiring LQR, perhaps with LQE thrown in?
<gwillen> Because I could imagine both of these being an issue although it seems like both of them _could_ be fine in practice.
Mably has joined #bitcoin-wizards
<bramc> gwillen, oscillation is one example of a problem. The issue is that if you have some algorithm for setting prices, and everybody's using it, then prices will be set based on what the previous prices were... which were also set by algorithm
<gwillen> That's not inherently bad... but I agree that it could be
<bramc> moa, unfortunately each participant only does things very sporadically, so those kinds of information-heavy approaches don't even apply
<bramc> I believe that no matter what your general approach to price setting is, you always want to make an attempt to lowball early and only raise the price if it fails
<bramc> Otherwise prices have a tendency to get high and get stuck there for no particular reason
<gwillen> well, this particular problem doesn't seem too likely to get stuck there
<gwillen> depends on how the estimator works I guess, but the marginal price to get into a block is just above the minimum price of any transaction in that block
<gwillen> and if a block is literally full of transactions above a given price, it's hard to imagine the fair price being below that
<CodeShark> gwillen, miners could fake them
<gwillen> mmmmmm, true
<bramc> gwillen, Yes, but if everybody assumes that they need to offer that same amount to get into the next block then it may happen, even if it's untrue
<gwillen> bramc: if everybody is _willing_ to offer that amount to get into the next block, it can't be untrue
<CodeShark> unfortunately, without listening to the network gossip it seems very difficult to accurately assess fees...
<gwillen> the only way the true price could be lower is if people are letting the fee estimator pay money it's not actually worth to them, because they're asleep at the switch
<bramc> gwillen, maybe it looks like it's true because the miners fill up the extra space with self-payments
<CodeShark> just looking at past blocks is not enough
<gwillen> yes, miner cheating could do it
<gwillen> although you'd need a minimum hashrate fraction or a cartel, to make it profitable
<gwillen> I don't know what that fraction would be
<gwillen> otherwise you'd be bleeding fake fees to other miners
spinza has quit [Ping timeout: 252 seconds]
<gwillen> (oh, that's a lie, nevermind.... of course you only mine your fake fees into your own blocks)
<bramc> Also it could be that the fees on the next block will be dramatically lower than the last one, so maybe offering the same amount is a bad idea because you're paying too much.
<CodeShark> in principle, if miners are checked by sufficient parties, recent blocks would tend to be a fairly good guide...but I think bramc's claim of the "stuck" phenomenon is clients that aren't smart enough to figure out when miners start cheating
<gwillen> right, although that can be counteracted by looking at multiple past blocks, and looking at the mempool
<gwillen> yeah, miner cheating is the only serious issue I'm seeing here, but it's pretty serious
<bramc> Looking at the mempool can help, although it's fraught with danger
<bramc> And it requires new logic to get that info, and whoever you're talking to might lie about it if you're on spf...
<gwillen> the mempool can be full of lies but if you're smart you can't be fooled for long
<phantomcircuit> i doubt very much that there is a general solution to the problem that doesn't as it's first step assume that miners are ordering transactions on a feerate priority basis
<gwillen> phantomcircuit: that's fine, they largely do...
<bramc> phantomcircuit, Yes we all agree on that
<CodeShark> and they are more likely to do so even more if we have a real fee market
<CodeShark> assuming perfect transparency, it's the economically rational strategy
<bramc> As a general rule, there will always be some tradeoff between time for transactions to complete and fee paid
<CodeShark> of course, off-chain mining contracts might screw up even that assumption, though :)
<bramc> At the extremes there will undoubtedly be daily and weekly cycles
<bramc> So if there's a situation where, for example, there's fee pressure during peak times but none at all at other times, which will most likely happen for a while, you have to make a choice about how much you care about speed vs. fee
<phantomcircuit> gwillen, in that case it's as simple as sorting the mempool using some f(feerate, age) priority basis
<phantomcircuit> (age being a proxy for whatever other policies miners might have in place)
<CodeShark> the communication complexity (especially for thin clients) is significant for mempool stuff
<phantomcircuit> CodeShark, there's no way around that
<phantomcircuit> thin clients need to have a mempool
<bramc> CodeShark, the easy thing to do is for thin clients to simply ask the going rate. This has an obvious and horrific attack...
<phantomcircuit> although maybe it's not unreasonable to outsource fee estimation
<phantomcircuit> (on a strict fee rate basis)
<zooko> second-price auction
spinza has joined #bitcoin-wizards
<CodeShark> fee market makers :p
<bramc> phantomcircuit, There aren't many full nodes out there - it would be trivial for miners to run them just to lie to spf clients about how big the fees are
<moa> thin clients having a mempool (or sample of) is an intriguing idea
<phantomcircuit> bramc, i was actually thinking an authenticated trusted source
<bramc> This is all making my 'conservative' approach sound like a good idea
<phantomcircuit> the alternative is for thin clients to receive all transactions
<bramc> zooko, Yes we've all agreed to assume that the miners follow the obvious algorithm
damethos has joined #bitcoin-wizards
<bramc> zooko, In principle you could require that the fees charged to all transactions be the same but, well, that would allow miner stuffing, and Bitcoin Doesn't Work That Way
<zooko> I didn't mean that -- I meant some vague generalization/extension that maintains the Vickrey property of true preference revelation.
<zooko> Maybe when I wake up from this sleep I'll have an idea how that could actually work. Probably not. Goodnight!
<zooko> (P.S. there's a thing called Generalized Second-Price Auction, used for keyword ad sales...)
<bramc> My conservative idea, for those who haven't seen me talk about it already, is that clients don't do any of this mempool or historical lookup stuff at all. They start at a nominal fee, maybe the minimum allowed, add a random amount between 0 and 10%, and for each block where their transaction isn't accepted add another 10% compounding
<phantomcircuit> bramc, that's probably a good general solution if replace by fee is available
<phantomcircuit> (and no not the ffs version...)
<bramc> This has the advantage of being completely trustless and easy to implement. It has the disadvantages that it requires real rbf, and makes transactions take longer
<bramc> The extreme amount of noise in the capacity rate due the the stochastic nature of mining blocks doesn't help anything
<bramc> For that reason alone being willing to wait a bit longer will get you lower fees
<CodeShark> perhaps that issue will be remedied with some of the proposals out there for reducing block time variance
<CodeShark> eventually
<bramc> CodeShark, reducing block time variance comes with its own problems, like increasing the amount of orphan blocks
<CodeShark> not if you also use them for PoW
<bramc> It's probably best to assume that there will be fee/time tradeoffs as part of the new normal
<CodeShark> but obviously such a change is unlikely in the very near term on the Bitcoin network...
<leakypat> If you have a transaction in the memory pool with a high fee and then you get a number of blocks in quick succession that clear down the pool but miss your transaction , there is no way to lower your fee
<bramc> You can also do a hybrid approach, where you figure out an expected fee based on recent history or mempools or something, then lowball it and slowly raise
<CodeShark> I think the fee/time tradeoff is inherent - the only question is how to optimize this for particular use cases and automate it as much as possible
<leakypat> As miners would always mine the one with the highest fee
Mably has quit [Ping timeout: 272 seconds]
<bramc> leakypat, Yes yet another reason to start low
<CodeShark> right, the "stuck" phenomenon doesn't even require cheating miners - just a bunch of dumb clients :)
<bramc> If the fees go down right after your transaction goes through then, well, you should have been wiling to raise your fee slower.
<bramc> mempool has the other problem that it could potentially get fairly washed out, so you might be looking at only a fraction of what will eventually go into the block
<CodeShark> being able to listen to the network gossip will almost certainly help you estimate more accurately more quickly
<CodeShark> so those devices that have access to this should certainly make use of that information if they can
<CodeShark> there's also the communication complexity/decentralization tradeoff
<bramc> The day/night cycle should be taken seriously. That's likely to be dominant at first
<CodeShark> I sort of like the model of fee market makers - where you can pay a fee to someone who guarantees inclusion within a certain number of blocks or you get a refund
<CodeShark> and they then work their complex algorithms using reliable broadband connections
<CodeShark> as long as there are enough of these out there
<CodeShark> if there's only one or two, it's dangerous :)
<CodeShark> it's a decentralized fee estimation model that still supports thin clients
<leakypat> Wallets could probably provide that as a service
<bramc> Another thing a wallet can do is use the last fee it successfully used as a starting point for the next one
zmanian has joined #bitcoin-wizards
<leakypat> From its pool of users (if a centralized wallet)
<leakypat> Possibly could abstract fees completely , and charge per month or something for confirmation within n blocks guaranteed
antanst has left #bitcoin-wizards [#bitcoin-wizards]
* leakypat ponders if that could be done trustless and seamlessly
cdecker has quit [Ping timeout: 276 seconds]
cdecker has joined #bitcoin-wizards
<leakypat> The wallet service that broadcasts the transaction can have its own pool of inputs to use for attaching inputs for fee escalation
<phantomcircuit> <CodeShark> perhaps that issue will be remedied with some of the proposals out there for reducing block time variance
<phantomcircuit> im not aware of any such proposals
<phantomcircuit> indeed i dont believe they're possible...
<CodeShark> phantomcircuit: mostly the GHOST-like ideas
<CodeShark> amiller had such a proposal, too
<phantomcircuit> CodeShark, iirc amiller's proposal was to prevent pooling right?
<CodeShark> that's another potential benefit
<phantomcircuit> the problem there is that it... prevents pooling!
<CodeShark> well, ultimately what you want is for pooling to be incorporated into the protocol itself
<CodeShark> you can mine at lower difficulty and still have your work count towards the most difficult chain
* phantomcircuit looks around for petertodd to say treechains
<CodeShark> lol
DougieBot5000 has quit [Quit: Leaving]
<amiller> phantomcircuit, no the point wasn't to prevent pooling
<amiller> phantomcircuit, the point of that proposal (which predates ghost by a long time!) was to remove the block time magic setting
zmanian has quit [Ping timeout: 272 seconds]
<phantomcircuit> amiller, can you elaborate?
<amiller> im not sure this is the best motivation for it now, so i can tell you what i thought the point was
<amiller> the point was just to get rid of the hardcoded 10 minute block time and replace it with an automatically adjusting mechanism
<phantomcircuit> amiller, based on...?
<amiller> it should increase the target difficulty when the network is losing too much stale work
<amiller> it should lower the target difficulty as much as possible until it starts losing stale work
<amiller> the simple idea is to fix a desired 'target' for stale blocks
<amiller> the last time i asked i think it was 2%, maybe you should target 20% or 50%
orperelman has joined #bitcoin-wizards
<phantomcircuit> amiller, that's neat but probably fails to account for miners estimating costs
<amiller> phantomcircuit, what do you mean
<amiller> one thing i didn't pursue but now makes sense given ghost
<amiller> is whether you should give some rewards to the stale blocks or punish them
<amiller> ghost gives them some discount factor, maybe they should be given full credit i dont know
<phantomcircuit> amiller, it's currently fairly easy for a miner to calculate their revenues for the month
<phantomcircuit> it seems like it would be difficult to implement something like this without changing that
<amiller> ok this shouldn't make that any worse (i think it would be a useful idea to *prevent* large miners from doing that anyway)
<amiller> (or to put it another way, i think it would be a good idea to tempt large miners to gamble on an even bigger reward but more uncertainty)
<phantomcircuit> yeah that's probably true
p15 has joined #bitcoin-wizards
priidu has joined #bitcoin-wizards
bramc has quit [Quit: Leaving]
<amiller> but i dont have any good idea for how to set the target time
<amiller> er the target 'stale' blocks
<amiller> i dont know how to attach it to any market mechanism
<amiller> maybe there's a way to solve the lbocksize problem this way
<amiller> sdlerner wanted to decrease the block time rather than tinker with blocksize
<amiller> so i dunno maybe there's some way to let the average txes in a block or txfees determine a target stale blocks rate, and then use that to set difficulty
<CodeShark> we cannot assume that the tx fees are not the miners themselves if the model gives them any incentive to do so
<amiller> yeah
<CodeShark> also, variable block times has another potential danger...people need to understand that the security level is not proportional to the number of confirmations
<amiller> thats true but i wouldn't let such a concern about presentation to users narrow my options at this point
<CodeShark> the security level is given by how hard it is for someone to reverse the transaction - so this is what must be quantified
<CodeShark> of course, it's hard to measure this very accurately
d1ggy_ has quit [Ping timeout: 248 seconds]
Mably has joined #bitcoin-wizards
<CodeShark> it largely depends on the hash power distribution
<CodeShark> but I guess we can make some simplifying assumptions
<CodeShark> like assuming that nobody controls more than x%
<CodeShark> actually, encouraging small miners to publish their work more frequently (at lower difficulty) would perhaps give us a better sense of hash power distribution
wallet42 has quit [Quit: Leaving.]
<CodeShark> and discouraging withholding attacks obviously would as well
shen_noe has quit [Quit: Leaving]
darwin_ has joined #bitcoin-wizards
Aquentin has joined #bitcoin-wizards
damethos has quit [Quit: Bye]
jtimon has joined #bitcoin-wizards
MoALTz_ has joined #bitcoin-wizards
MoALTz has quit [Ping timeout: 256 seconds]
cdecker has quit [Ping timeout: 276 seconds]
cdecker has joined #bitcoin-wizards
mountaingoat has quit [Quit: WeeChat 1.2]
ThomasV has quit [Ping timeout: 276 seconds]
Aquentin has quit [Ping timeout: 264 seconds]
justanotherusr has quit [Ping timeout: 244 seconds]
MrTratta has quit [Ping timeout: 272 seconds]
MrTratta has joined #bitcoin-wizards
pollux-bts has quit [Ping timeout: 248 seconds]
pollux-bts has joined #bitcoin-wizards
lnovy has quit [Quit: Got root?]
dEBRUYNE has joined #bitcoin-wizards
andy-logbot has quit [Remote host closed the connection]
moa has quit [Ping timeout: 246 seconds]
andy-logbot has joined #bitcoin-wizards
* andy-logbot is logging
SDCDev has joined #bitcoin-wizards
ThomasV has joined #bitcoin-wizards
moa has joined #bitcoin-wizards
mountaingoat has joined #bitcoin-wizards
wallet42 has joined #bitcoin-wizards
moa has quit [Ping timeout: 252 seconds]
Quanttek has joined #bitcoin-wizards
JackH has joined #bitcoin-wizards
CoinMuncher has joined #bitcoin-wizards
adam3us1 has quit [Quit: Leaving.]
rubensayshi has joined #bitcoin-wizards
adam3us has joined #bitcoin-wizards
dgenr8 has quit [Ping timeout: 255 seconds]
lnovy has joined #bitcoin-wizards
GAit has quit [Remote host closed the connection]
ThomasV has quit [Ping timeout: 276 seconds]
orperelman has quit [Ping timeout: 244 seconds]
sparetire_ has quit [Quit: sparetire_]
ThomasV has joined #bitcoin-wizards
d1ggy has joined #bitcoin-wizards
dgenr8 has joined #bitcoin-wizards
gielbier has quit [Ping timeout: 264 seconds]
gill3s has joined #bitcoin-wizards
epscy has quit [Ping timeout: 252 seconds]
<maaku> today I learned that sha224(sha224(a) || sha224(b)) takes two rounds to calculate the outer hash
<maaku> epic fail NIST
orperelman has joined #bitcoin-wizards
<phantomcircuit> maaku, dat padding
gielbier has joined #bitcoin-wizards
ThomasV has quit [Ping timeout: 252 seconds]
moa has joined #bitcoin-wizards
Quanttek has quit [Remote host closed the connection]
stonecoldpat1 has joined #bitcoin-wizards
moa has quit [Client Quit]
moa has joined #bitcoin-wizards
stonecoldpat1 has quit [Ping timeout: 276 seconds]
Populus has joined #bitcoin-wizards
Populus has joined #bitcoin-wizards
Quanttek has joined #bitcoin-wizards
jmcn has quit [Ping timeout: 276 seconds]
jmcn has joined #bitcoin-wizards
Quanttek has quit [Remote host closed the connection]
<maaku> FIPS-202 has three bits of meaningless padding, because no reasons at all
<maaku> but at least with the sha-3 block sizes it doesn't result in the same inconvenience
Quanttek has joined #bitcoin-wizards
epscy has joined #bitcoin-wizards
stonecoldpat has joined #bitcoin-wizards
sundance30203_ has quit [Quit: Page closed]
ThomasV has joined #bitcoin-wizards
Tiraspol_ has joined #bitcoin-wizards
Tiraspol has quit [Ping timeout: 264 seconds]
d1ggy_ has joined #bitcoin-wizards
d1ggy has quit [Ping timeout: 246 seconds]
yosd has joined #bitcoin-wizards
hearn has joined #bitcoin-wizards
zooko has quit [Ping timeout: 248 seconds]
damethos has joined #bitcoin-wizards
priidu has quit [Ping timeout: 246 seconds]
orperelman has quit [Ping timeout: 264 seconds]
hearn_ has joined #bitcoin-wizards
hearn has quit [Ping timeout: 272 seconds]
hearn has joined #bitcoin-wizards
hearn_ has quit [Ping timeout: 256 seconds]
prodatalab has joined #bitcoin-wizards
Populus has quit [Remote host closed the connection]
lnovy has quit [Quit: Got root?]
mjerr has quit [Remote host closed the connection]
mjerr has joined #bitcoin-wizards
prodatalab has quit [Ping timeout: 248 seconds]
Tiraspol_ is now known as Tiraspol
Tiraspol has quit [Changing host]
Tiraspol has joined #bitcoin-wizards
Mably has quit [Ping timeout: 246 seconds]
ThomasV has quit [Ping timeout: 272 seconds]
yosd has quit [Remote host closed the connection]
theymos has quit [Quit: Bye]
theymos has joined #bitcoin-wizards
yosd has joined #bitcoin-wizards
yosd has joined #bitcoin-wizards
yosd has quit [Client Quit]
MRL-Relay has joined #bitcoin-wizards
<fluffypony> testing
<MRL-Relay> [fluffypony] testing
<fluffypony> yay, works again
Aquentin has joined #bitcoin-wizards
yosd has joined #bitcoin-wizards
yosd has joined #bitcoin-wizards
yosd has quit [Client Quit]
yosd has joined #bitcoin-wizards
yosd has quit [Client Quit]
yosd has joined #bitcoin-wizards
yosd has quit [Client Quit]
yosd has joined #bitcoin-wizards
yosd has quit [Client Quit]
yosd has joined #bitcoin-wizards
yosd has quit [Client Quit]
NewLiberty has joined #bitcoin-wizards
nessence has quit [Remote host closed the connection]
hashtag_ has quit [Read error: Connection reset by peer]
paveljanik has quit [Quit: Leaving]
hashtagg_ has quit [Ping timeout: 265 seconds]
Mably has joined #bitcoin-wizards
lnovy has joined #bitcoin-wizards
moa has quit [Quit: Leaving.]
ThomasV has joined #bitcoin-wizards
orperelman has joined #bitcoin-wizards
jmcn has quit [Ping timeout: 276 seconds]
jmcn has joined #bitcoin-wizards
hashtag has joined #bitcoin-wizards
jmcn has quit [Ping timeout: 276 seconds]
jmcn has joined #bitcoin-wizards
hashtag has quit [Ping timeout: 246 seconds]
prodatalab has joined #bitcoin-wizards
jmcn has quit [Ping timeout: 276 seconds]
jmcn has joined #bitcoin-wizards
eudoxia has joined #bitcoin-wizards
cdecker has quit [Ping timeout: 276 seconds]
damethos has quit [Quit: Bye]
cdecker has joined #bitcoin-wizards
cryptowe- has quit [Ping timeout: 256 seconds]
hashtag has joined #bitcoin-wizards
hashtag has quit [Read error: Connection reset by peer]
hashtag has joined #bitcoin-wizards
jmcn has quit [Remote host closed the connection]
jmcn has joined #bitcoin-wizards
StephenM347 has joined #bitcoin-wizards
<stonecoldpat> what is mrl?
<fluffypony> stonecoldpat: Monero Research Lab, https://lab.getmonero.org
<stonecoldpat> ahh cool! :)
cosmo has joined #bitcoin-wizards
Mably has quit [Quit: Page closed]
Mably has joined #bitcoin-wizards
droark has joined #bitcoin-wizards
binaryFate has joined #bitcoin-wizards
binaryFate has quit [Client Quit]
orperelman has quit [Ping timeout: 272 seconds]
c0rw|zZz is now known as c0rw1n
shesek has quit [Ping timeout: 264 seconds]
jmcn has quit [Ping timeout: 276 seconds]
jmcn has joined #bitcoin-wizards
<leakypat> petertodd: is there any hashing power on Testnet with the full RBF patch?
Guyver2 has joined #bitcoin-wizards
ruby32 has joined #bitcoin-wizards
ruby32 has left #bitcoin-wizards [#bitcoin-wizards]
gielbier has quit [Ping timeout: 264 seconds]
spinza has quit [Excess Flood]
shesek has joined #bitcoin-wizards
spinza has joined #bitcoin-wizards
Artimage has joined #bitcoin-wizards
gielbier has joined #bitcoin-wizards
copumpkin has quit [Ping timeout: 265 seconds]
zooko has joined #bitcoin-wizards
narwh4l has joined #bitcoin-wizards
UllrSkis has quit [Ping timeout: 264 seconds]
hearn has quit [Ping timeout: 246 seconds]
<gavinand1esen> Has anybody done any simulation or modeling or research into the interaction between the random nature of block-finding and users' time preference for having their transactions confirm sooner rather than later?
hashtag has quit [Quit: Leaving]
ruby32 has joined #bitcoin-wizards
Xh1pher has joined #bitcoin-wizards
UllrSkis has joined #bitcoin-wizards
instagibbs has joined #bitcoin-wizards
<instagibbs> the more you frown at your wallet, the more it bumps the fee
<dgenr8> gavinand1sen: as in, if poisson parameters were different, would users pay more or less for quick confirmation? i guess you'd have to look at altcoins?
<instagibbs> really depends on the use case, clearly.
<instagibbs> Wonder if Bitpay has done a user study for their flow
davi has joined #bitcoin-wizards
<gavinand1esen> dgenr8: No, I'm thinking of the interaction between the random nature of finding blocks, either a maximum block or memory pool size, and people's willingness to pay more to see their transactions confirm sooner rather than later.
<dgenr8> historically, highest fees - as measured in BTC - coincide with highest public interest and price runups. https://blockchain.info/charts/transaction-fees?timespan=all
cdecker has quit [Ping timeout: 277 seconds]
<ThinThread> obv we should drastically raise txn fees then
ThomasV has quit [Ping timeout: 244 seconds]
droark has quit [Quit: ZZZzzz…]
<gavinand1esen> fees will automatically raise the next time we get a price spike
damethos has joined #bitcoin-wizards
cdecker has joined #bitcoin-wizards
<gavinand1esen> (fees as measured in dollars or euros)
<dgenr8> gavinand1eses: yes but it's non-obvious that fees as measured in BTC have also spiked
<ThinThread> almost forgot what dollars were
spinza has quit [Excess Flood]
<gavinand1esen> dgenr8: that IS interesting, but makes sense to me-- prices spikes correspond with lots of new users, and more users == more demand for transactions == higher tx fees
<gavinand1esen> (well, MORE tx fees at least)
priidu has joined #bitcoin-wizards
DougieBot5000 has joined #bitcoin-wizards
<dgenr8> gavinand1esen: more low-priority txes, less user sensitivity to fees
<dgenr8> gavinand1esen: fees paid as a % of value transferred could also explain it. not sure if anyone's doing that tho
spinza has joined #bitcoin-wizards
instagibbs has quit [Quit: Page closed]
getplank has joined #bitcoin-wizards
cosmo has quit [Quit: Leaving]
prodatalab has quit [Ping timeout: 248 seconds]
cdecker has quit [Ping timeout: 276 seconds]
cdecker has joined #bitcoin-wizards
hearn has joined #bitcoin-wizards
jmcn has quit [Ping timeout: 276 seconds]
ThomasV has joined #bitcoin-wizards
jmcn has joined #bitcoin-wizards
jgarzik has quit [Quit: This computer has gone to sleep]
ThomasV has quit [Ping timeout: 256 seconds]
nwilcox has joined #bitcoin-wizards
prodatalab has joined #bitcoin-wizards
jgarzik has joined #bitcoin-wizards
paveljanik has joined #bitcoin-wizards
paveljanik has joined #bitcoin-wizards
_biO__ has joined #bitcoin-wizards
spinza has quit [Excess Flood]
_biO_ has quit [Remote host closed the connection]
_biO__ is now known as _biO_
spinza has joined #bitcoin-wizards
orperelman has joined #bitcoin-wizards
prodatalab has quit [Ping timeout: 248 seconds]
spinza has quit [Excess Flood]
hearn has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
spinza has joined #bitcoin-wizards
Giszmo has joined #bitcoin-wizards
<maaku> leakypat: there could be
<maaku> phantomcircuit: can we deploy full-RBF to our miner?
Artimage has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
spinza has quit [Excess Flood]
JackH has quit [Ping timeout: 248 seconds]
spinza has joined #bitcoin-wizards
getplank has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kmels has joined #bitcoin-wizards
MrTratta has quit [Ping timeout: 265 seconds]
MrTratta has joined #bitcoin-wizards
nwilcox has quit [Ping timeout: 265 seconds]
c0rw1n is now known as c0rw|away
MrTratta has quit [Ping timeout: 264 seconds]
shaul has joined #bitcoin-wizards
MrTratta has joined #bitcoin-wizards
MrTratta has quit [Ping timeout: 272 seconds]
ThomasV has joined #bitcoin-wizards
MrTratta has joined #bitcoin-wizards
Mably has quit [Quit: Page closed]
nwilcox has joined #bitcoin-wizards
digitalmagus has joined #bitcoin-wizards
Artimage has joined #bitcoin-wizards
CoinMuncher has quit [Quit: Leaving.]
ThomasV has quit [Ping timeout: 244 seconds]
gielbier has quit [Read error: Connection reset by peer]
gielbier has joined #bitcoin-wizards
getplank has joined #bitcoin-wizards
davi has quit [Ping timeout: 256 seconds]
shen_noe has joined #bitcoin-wizards
Artimage has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Artimage has joined #bitcoin-wizards
orperelman has quit [Ping timeout: 276 seconds]
jaekwon has joined #bitcoin-wizards
NewLiberty has quit [Read error: Connection reset by peer]
rubensayshi has quit [Remote host closed the connection]
zooko has quit [Ping timeout: 248 seconds]
Mably has joined #bitcoin-wizards
hearn has joined #bitcoin-wizards
MrTratta has quit [Ping timeout: 252 seconds]
MrTratta has joined #bitcoin-wizards
hearn has quit [Ping timeout: 255 seconds]
hearn has joined #bitcoin-wizards
jb55 has joined #bitcoin-wizards
hearn_ has joined #bitcoin-wizards
Tiraspol has quit [Ping timeout: 276 seconds]
Tiraspol has joined #bitcoin-wizards
Tiraspol has quit [Changing host]
Tiraspol has joined #bitcoin-wizards
hearn has quit [Ping timeout: 248 seconds]
jb55 has quit []
hearn has joined #bitcoin-wizards
hearn has quit [Read error: Connection reset by peer]
hearn__ has joined #bitcoin-wizards
MrTratta has quit [Ping timeout: 265 seconds]
hearn_ has quit [Ping timeout: 248 seconds]
orperelman has joined #bitcoin-wizards
hearn__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MrTratta has joined #bitcoin-wizards
antanst has joined #bitcoin-wizards
kmels has quit [Ping timeout: 250 seconds]
cosmo has joined #bitcoin-wizards
MrTratta has quit [Ping timeout: 264 seconds]
Aquentin has quit [Ping timeout: 255 seconds]
MrTratta has joined #bitcoin-wizards
antanst1 has joined #bitcoin-wizards
antanst has quit [Read error: Connection reset by peer]
antanst1 has quit [Client Quit]
kmels has joined #bitcoin-wizards
damethos has quit [Ping timeout: 256 seconds]
Aquentin has joined #bitcoin-wizards
droark has joined #bitcoin-wizards
gill3s has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nwilcox_ has joined #bitcoin-wizards
orperelman has quit [Ping timeout: 276 seconds]
orperelman has joined #bitcoin-wizards
Mably has quit [Ping timeout: 265 seconds]
nwilcox has quit [Ping timeout: 265 seconds]
cdecker has quit [Ping timeout: 276 seconds]
cdecker has joined #bitcoin-wizards
luny` is now known as luny
JackH has joined #bitcoin-wizards
lunchtime has joined #bitcoin-wizards
hearn has joined #bitcoin-wizards
spinza has quit [Excess Flood]
zmanian has joined #bitcoin-wizards
spinza has joined #bitcoin-wizards
ThomasV has joined #bitcoin-wizards
lunchtime has quit [Quit: Leaving]
Populus has joined #bitcoin-wizards
Populus has joined #bitcoin-wizards
Mably has joined #bitcoin-wizards
justanotherusr has joined #bitcoin-wizards
melvster has quit [Ping timeout: 264 seconds]
nessence has joined #bitcoin-wizards
Xh1pher has quit [Read error: Connection reset by peer]
kmels has quit [Ping timeout: 276 seconds]
shaul has quit [Read error: Connection reset by peer]
kmels has joined #bitcoin-wizards
zmanian has quit [Ping timeout: 252 seconds]
melvster has joined #bitcoin-wizards
ThomasV has quit [Ping timeout: 252 seconds]
prodatalab has joined #bitcoin-wizards
nwilcox_ has quit [Quit: leaving]
eudoxia has quit [Quit: Leaving]
Artimage has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
mjerr has quit [Remote host closed the connection]
mjerr has joined #bitcoin-wizards
kmels has quit [Ping timeout: 244 seconds]
jmcn_ has joined #bitcoin-wizards
jmcn has quit [Ping timeout: 277 seconds]
mjerr has quit [Ping timeout: 256 seconds]
Populus has quit [Ping timeout: 252 seconds]
kmels has joined #bitcoin-wizards
JackH has quit [Ping timeout: 252 seconds]
MoALTz_ has quit [Quit: Leaving]
MoALTz has joined #bitcoin-wizards
cdecker has quit [Ping timeout: 276 seconds]
cdecker has joined #bitcoin-wizards
Tiraspol has quit [Remote host closed the connection]
hashtag has joined #bitcoin-wizards
Tiraspol has joined #bitcoin-wizards
Tiraspol has joined #bitcoin-wizards
narwh4l has quit [Remote host closed the connection]
bosma has joined #bitcoin-wizards
paveljanik has quit [Quit: Leaving]
waxwing has quit [Read error: Connection reset by peer]
ThomasV has joined #bitcoin-wizards
zooko has joined #bitcoin-wizards
waxwing has joined #bitcoin-wizards
nivah has joined #bitcoin-wizards
hearn_ has joined #bitcoin-wizards
sparetire_ has joined #bitcoin-wizards
hearn has quit [Ping timeout: 244 seconds]
c-cex-yuriy has joined #bitcoin-wizards
Tiraspol has quit [Ping timeout: 255 seconds]
getplank has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Tiraspol has joined #bitcoin-wizards
Tiraspol has quit [Changing host]
Tiraspol has joined #bitcoin-wizards
Quanttek has quit [Ping timeout: 264 seconds]
orperelman has quit [Ping timeout: 256 seconds]
<leakypat> maaku phantomcircuit that would be cool, I'm going to look at prototyping something in the testnet version of my wallet (but no point if there is noone running the patch :)
afk11 has quit [Ping timeout: 256 seconds]
getplank has joined #bitcoin-wizards
NewLiberty has joined #bitcoin-wizards
<petertodd> leakypat: what wallet is yours?
<leakypat> Ninki
<petertodd> leakypat: ah cool - I jsut setup a mainnet full-rbf dns seed btw for wallet authors, I'll set a testnet one too
fragzle has quit [Ping timeout: 248 seconds]
<leakypat> cool
<petertodd> my latest full-rbf tree has the dns seed support in it, rbf-seed.btc.petertodd.org
LeMiner has quit [Read error: Connection reset by peer]
hearn_ has quit [Read error: Connection reset by peer]
arubi_ has joined #bitcoin-wizards
LeMiner has joined #bitcoin-wizards
hearn has joined #bitcoin-wizards
adam3us1 has joined #bitcoin-wizards
Guyver2 has quit [Quit: :)]
<petertodd> leakypat: one thing you should do, is write your replacement code so it's full-rbf compatible, as well as fss-rbf compatible. The way I did that in my rbf demos was I made a variable for the minimum allowed value of the change output, and the loop that adding new inputs to make the change sufficiently large then would either start at 0 for full-rbf, or the previous value for fss-rbf
adam3us has quit [Ping timeout: 265 seconds]
<phantomcircuit> maaku, yes
<phantomcircuit> maaku, i'll get that working
nessence has quit [Remote host closed the connection]
JackH has joined #bitcoin-wizards
shen_noe has quit [Quit: Leaving]
priidu has quit [Ping timeout: 255 seconds]
<leakypat> petertodd: ok, I'll implement both as going to prod prob only feasible for fss (for the near future anyway)
<phantomcircuit> petertodd, which branch is the full rbf?
roy has joined #bitcoin-wizards
mkarrer has quit []
<roy> Am I right in thinking that not accepting non-final or soon-to-be-final transactions into mempool is a relatively recent change, or has that always been the case?
<petertodd> leakypat: thanks!
<petertodd> leakypat: lemme know how that goes - if it's not as easy to implement both with the same code I'd be interested in knowing why
mkarrer has joined #bitcoin-wizards
<petertodd> roy: that was my first big contribution to bitcoin actually - been true for 2.5 years now
<roy> petertodd: cool, thanks. Was trying to understand the history of the evolution of functionality around this area (prompted by BIP68)
JackH has quit [Ping timeout: 250 seconds]
<roy> Although this also reminds me that the bit in the devloper guide (talking about nlocktime and sequence numbers) at least one place where it glosses over the history in a patronising sort of "things used to be different, but don't worry about it" way that I'm 99% convinced is likely to frustrate any developer
<petertodd> roy: actually, that might be there because mike hearn tried to politicise it by pushing the old, broken, nSequence replacement scheme
<phantomcircuit> petertodd, testnet's majority hashrate is now rbf
<petertodd> phantomcircuit: haha, awesome
cdecker has quit [Ping timeout: 276 seconds]
cdecker has joined #bitcoin-wizards
belcher has joined #bitcoin-wizards
belcher has joined #bitcoin-wizards
<roy> I might propose a pull request - it's in github, right? I don't want anything policical - just a very brief history of the semantics of transaction replacement, rather than saying things used to be different
<phantomcircuit> petertodd, and when i say majority i mean approximately 100%
<petertodd> phantomcircuit: I'm going to have to aquire some equipment again to decentralize that situation :)
<phantomcircuit> petertodd, you will lose
<maaku> phantomcircuit cheats
<phantomcircuit> i am king of testnet!
<phantomcircuit> king i say!
<roy> out of curiosity, what is the hash rate of testnet these days
<leakypat> phantomcircuit: nice!
<maaku> roy: two SP20 miners or so
<maaku> roy: while you're at it, fix the off-by-one misconception about locktime
<maaku> (you can't get in the chain until AFTER nLockTime)
hearn has quit [Quit: Textual IRC Client: www.textualapp.com]
ThomasV has quit [Ping timeout: 255 seconds]
<phantomcircuit> petertodd, neat confrimed working
<petertodd> phantomcircuit: wait, what's working?
nessence has joined #bitcoin-wizards
moa has joined #bitcoin-wizards
roy is now known as roybadami
jb55 has joined #bitcoin-wizards
erasmospunk has joined #bitcoin-wizards
erasmosp_ has joined #bitcoin-wizards
_biO_ has quit [Remote host closed the connection]
erasmosp_ has quit [Remote host closed the connection]
ruby32 has quit [Quit: ruby32]
erasmospunk has quit [Ping timeout: 246 seconds]
hashtag has quit [Ping timeout: 248 seconds]
<CodeShark> does RBF handle chains longer than a single transaction or replacing two lower fee transactions with one higher fee one?
<petertodd> CodeShark: full RBF does
<petertodd> leakypat: just pushed to my v0.10.2 full-RBF tree the new testnet rbf seed, rbf-seed.tbtc.petertodd.org
<petertodd> leakypat: I also have a simple static dns record too, rbf-seed-static.tbtc.petertodd.org, and rbf-seed-static.btc.petertodd.org for mainnet
AaronvanW has quit [Ping timeout: 246 seconds]
<CodeShark> leakypat, you're the ninki guy?
erasmospunk has joined #bitcoin-wizards
bosma_ has joined #bitcoin-wizards
<leakypat> CodeShark: yes
bosma has quit [Disconnected by services]
bosma_ is now known as bosma
<petertodd> leakypat: what's the deal with the android wallet? can I use it without the desktop bit?
<leakypat> You can, but the idea is just to go through and complete the desktop setup
<petertodd> leakypat: cool, installing now
<petertodd> leakypat: let me know when you have some rbf code to test/review
<leakypat> petertodd: will do
erasmospunk has quit [Ping timeout: 248 seconds]
<leakypat> CodeShark: you run a wallet?
erasmospunk has joined #bitcoin-wizards
getplank has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DougieBot5000 has quit [Quit: Leaving]
darwin_ has quit []
<CodeShark> leakypat: mSIGNA
erasmospunk has quit [Remote host closed the connection]
<CodeShark> it's not a problem for me to support fee increases for outbound transactions...or transactions sent from another node using the same account...but SPV makes it a little hard to compute fees for inbound transactions, generally speaking
<CodeShark> except for special cases (where the inputs are all the same)
<CodeShark> and even then it's only possible to compute the fee difference, not the exact fee
<CodeShark> I hate SPV :p
<CodeShark> or rather, I hate that transaction inputs don't contain the value
<CodeShark> or that there's no simple mechanism to query that information in an efficient, private manner
<CodeShark> but SPV also makes it basically impossible to check for double-spends involving longer chains unless you maintain your own mempool
<CodeShark> but you cannot build a mempool without having the utxo set
<CodeShark> so SPV is jacked :p
<CodeShark> completely
<CodeShark> please, please, please...let's start talking about moving to an O(log n) verification protocol that doesn't have a special "simplified" mode :p
<CodeShark> what matters, ultimately, are risk metrics, probabilities, and game theory :p
<CodeShark> and computational complexity theory and all that...but we'll take those as givens for now
<Luke-Jr> petertodd: wait, RBF includes full CPFP mempool logic?
jgarzik has quit [Quit: This computer has gone to sleep]
<dgenr8> CodeShark: what if you got a "proto-block" message when the tip of an unconfirmed chain pays your bloom filter (this probably has a name, bip, something of which I'm ignorant)
chmod755 has quit [Quit: Leaving]
<CodeShark> dgenr8: that would at least make certain logic possible on the client...but it involves extra overhead for the relay node and has essentially no security
<dgenr8> CodeShark: no security is just a consequence of 0conf
<CodeShark> dgenr8: point being not sure it's worth the effort for this use case...which is to have a way of warning the user that a double-spend has been detected
<CodeShark> if you can't even be sure that the proto-block is authentic, it's basically useless
<dgenr8> CodeShark: serving SPV is one of the more important functions of a full node imho
jb55 has quit [Remote host closed the connection]
<CodeShark> if you want to use a trusted client-server model we can design a much higher txout request API :)
<CodeShark> much higher level
jb55 has joined #bitcoin-wizards
<CodeShark> SPV basically serves no niche here
<CodeShark> you either go full verification or you trust a server
<CodeShark> if you trust a server, might as well use high level queries
<dgenr8> CodeShark: "here"?
<CodeShark> no niche in this space...ultimately
<CodeShark> it's terrible at verification, it's terrible at usability, it's terrible for development
tromp has quit [Ping timeout: 265 seconds]
<CodeShark> it's a lose lose lose
<dgenr8> CodeShark: your idea of network-wide probabilistic verification is interesting
<CodeShark> I think ultimately we must abandon deterministic verification if we want any level of scalability (we do in a sense with sha256 already, but we could tolerate even higher failure probability)
<CodeShark> what really matters is that the risk level be computable...and that it be possible to either make failure rates negligible...or have mechanisms to mitigate failures
belcher_ has joined #bitcoin-wizards
<CodeShark> as for mechanisms, they could involve human players as part of the ecosystem (i.e. insurance or market makers)
<CodeShark> basically, a way to manage risks
jb55 has quit [Ping timeout: 256 seconds]
<CodeShark> probably far cheaper than forcing every single computer on earth to validate every single purchase of an espresso
<dgenr8> CodeShark: short-term, with SPV, if you could ask your peers to send parent chains, you can watch for double-spends.
JackH has joined #bitcoin-wizards
<CodeShark> I already ask for the node mempool...and assuming the node is trusted, this isn't a problem
belcher has quit [Ping timeout: 246 seconds]
<dgenr8> how often?
<CodeShark> although it would probably be better to just add better query logic to the server side to simplify the client logic :)
shaul has joined #bitcoin-wizards
<CodeShark> since the server perforce is better informed to make better decisions and presumably has more resources
<CodeShark> architecting it so that this logic is on the client side is totally stupid unless it provides some amount of additional security/privacy
jgarzik has joined #bitcoin-wizards
<CodeShark> I query the mempool after the block sync...but then I set a bloom filter
<CodeShark> so it would probably make more sense to just get rid of the bloom filter after doing the historical sync
<CodeShark> and then just assume that transactions that don't connect to other transactions in the mempool must connect to the blockchain somewhere
<CodeShark> but argh...I mean...seriously?!?!
dEBRUYNE has quit [Ping timeout: 244 seconds]
<dgenr8> CodeShark: i wonder what hearn thinks
Mably has quit [Ping timeout: 264 seconds]
StephenM347 has quit []
hashtag has joined #bitcoin-wizards
<CodeShark> apparently this is what he thinks: https://github.com/bitcoinxt/bitcoinxt/blob/0.10.2A/src/main.cpp#L4107
<CodeShark> but without txout commitments, might as well write a REST API :p
<CodeShark> lol
<CodeShark> might as well just build a bc.i
<jgarzik> CodeShark, welcome to our arguments from ~12 months ago :)
<jgarzik> CodeShark, this is why getutxos isn't upstream...
<CodeShark> yes, I'm aware of that
<CodeShark> there really is no way to fix SPV
<CodeShark> SPV is completely busted and full validation is hitting a scalability wall...I hate to be a pessimist here...but....
<leakypat> <CodeShark> but without txout commitments, might as well write a REST API :p
<leakypat> ^
melvster has quit [Remote host closed the connection]
melvster has joined #bitcoin-wizards
NewLiberty has quit [Ping timeout: 248 seconds]
nessence has quit [Remote host closed the connection]
DougieBot5000 has joined #bitcoin-wizards
adam3us has joined #bitcoin-wizards
adam3us2 has joined #bitcoin-wizards
adam3us has quit [Read error: Connection reset by peer]
zmanian has joined #bitcoin-wizards
adam3us1 has quit [Ping timeout: 256 seconds]
* CodeShark summons the ghost of satoshi and asks WTF?!?!
<phantomcircuit> CodeShark, the getutxo stuff is entirely so that mike could collect his $100k for building lighthouse
<phantomcircuit> which is afaict useless
JackH has quit [Ping timeout: 264 seconds]
<CodeShark> I've unfortunately been in situations before where I had to deliver stuff for clients I knew wouldn't really work in the end...it can be hard not to be seduced into fooling yourself
<CodeShark> my awareness of this is largely why I actively refuse to let that happen here
<dgenr8> CodeShark: a parent chain with merkle proofs for all the inputs along the way doesn't work?
<CodeShark> dgenr8: there's no merkle proof for mempool transactions...but yes, you could have merkle proofs for inputs that do connect to the blockchain
<CodeShark> but again...is it really worth the effort? :)
<dgenr8> CodeShark: right i imagine having a full mempool involves adding a lot. we need libmempool
Burrito has quit [Quit: Leaving]
<akrmn> utxo commitments are a flawed system also, because there is no incentive for nodes to relay the merkle tree branches
<CodeShark> utxo commitments were my last hope of "fixing" SPV - but I give up - we need a new validation mechanism
<phantomcircuit> akrmn, and are stupid expensive to calculate
<phantomcircuit> O(n log n) n = utxo entries