sipa changed the topic of #bitcoin-wizards to: This channel is for discussing theoretical ideas with regard to cryptocurrencies, not about short-term Bitcoin development | http://bitcoin.ninja/ | This channel is logged. | For logs and more information, visit http://bitcoin.ninja
QuickLazy has joined #bitcoin-wizards
dnaleor has quit [Quit: Leaving]
dnaleor has joined #bitcoin-wizards
v20100 has joined #bitcoin-wizards
roidster has quit [Quit: ChatZilla 0.9.92 [SeaMonkey 2.39/20151103191810]]
fkinglag has joined #bitcoin-wizards
wasi has quit [Ping timeout: 245 seconds]
AaronvanW has quit [Ping timeout: 252 seconds]
ipwn has quit [Quit: Leaving]
v20100 has quit [Ping timeout: 252 seconds]
QuickLazy has quit [Ping timeout: 245 seconds]
wasi has joined #bitcoin-wizards
priidu has joined #bitcoin-wizards
mrkent has joined #bitcoin-wizards
snthsnth has quit [Ping timeout: 252 seconds]
mrkent has quit []
snthsnth has joined #bitcoin-wizards
priidu has quit [Quit: Leaving]
v20100 has joined #bitcoin-wizards
maaku has quit [Quit: No Ping reply in 180 seconds.]
maaku has joined #bitcoin-wizards
priidu has joined #bitcoin-wizards
c0rw1n has quit [Ping timeout: 250 seconds]
snthsnth has quit [Ping timeout: 256 seconds]
blackwraith has joined #bitcoin-wizards
Noldorin has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Ylbam has quit [Quit: Connection closed for inactivity]
dnaleor has quit [Quit: Leaving]
maaku has quit [Quit: No Ping reply in 180 seconds.]
maaku has joined #bitcoin-wizards
Videlicet has joined #bitcoin-wizards
snthsnth has joined #bitcoin-wizards
sausage_factory has joined #bitcoin-wizards
v20100 has quit [Ping timeout: 265 seconds]
priidu has quit [Ping timeout: 252 seconds]
sausage_factory has quit [Ping timeout: 268 seconds]
priidu has joined #bitcoin-wizards
harrymm has quit [Remote host closed the connection]
Alopex has quit [Remote host closed the connection]
priidu has quit [Read error: Connection reset by peer]
Alopex has joined #bitcoin-wizards
priidu has joined #bitcoin-wizards
priidu has quit [Read error: Connection reset by peer]
blackwraith has quit [Ping timeout: 246 seconds]
snthsnth has quit [Ping timeout: 250 seconds]
Alopex has quit [Remote host closed the connection]
Alopex has joined #bitcoin-wizards
legogris has quit [Remote host closed the connection]
legogris has joined #bitcoin-wizards
_whitelogger has joined #bitcoin-wizards
d9b4bef9 has quit [Remote host closed the connection]
d9b4bef9 has joined #bitcoin-wizards
v20100 has joined #bitcoin-wizards
arowser has quit [Ping timeout: 250 seconds]
arowser has joined #bitcoin-wizards
arowser has quit [Client Quit]
arowser has joined #bitcoin-wizards
go1111111 has quit [Quit: Leaving]
TheSeven has quit [Disconnected by services]
[7] has joined #bitcoin-wizards
maaku has quit [Quit: No Ping reply in 180 seconds.]
maaku has joined #bitcoin-wizards
Alopex has quit [Remote host closed the connection]
pro has quit [Quit: Leaving]
Alopex has joined #bitcoin-wizards
maaku has quit [Quit: No Ping reply in 180 seconds.]
maaku has joined #bitcoin-wizards
v20100 has quit [Ping timeout: 260 seconds]
jtimon has quit [Ping timeout: 250 seconds]
laurentmt has joined #bitcoin-wizards
laurentmt has quit [Client Quit]
QuickLazy has joined #bitcoin-wizards
QuickLazy has quit [Ping timeout: 250 seconds]
ThomasV has joined #bitcoin-wizards
sdfgdsfg has joined #bitcoin-wizards
Alopex has quit [Remote host closed the connection]
Alopex has joined #bitcoin-wizards
saintromuald has joined #bitcoin-wizards
Alopex has quit [Remote host closed the connection]
Alopex has joined #bitcoin-wizards
priidu has joined #bitcoin-wizards
ThomasV has quit [Ping timeout: 240 seconds]
blackwraith has joined #bitcoin-wizards
sausage_factory has joined #bitcoin-wizards
priidu has quit [Ping timeout: 265 seconds]
Alopex has quit [Remote host closed the connection]
atgreen has quit [Ping timeout: 258 seconds]
Alopex has joined #bitcoin-wizards
Ylbam has joined #bitcoin-wizards
atgreen has joined #bitcoin-wizards
Alopex has quit [Remote host closed the connection]
paveljanik has quit [Quit: Leaving]
paveljanik has joined #bitcoin-wizards
paveljanik has joined #bitcoin-wizards
paveljanik has quit [Changing host]
Alopex has joined #bitcoin-wizards
Emcy_ has quit [Read error: Connection reset by peer]
AaronvanW has joined #bitcoin-wizards
AaronvanW has quit [Changing host]
AaronvanW has joined #bitcoin-wizards
Alopex has quit [Remote host closed the connection]
Alopex has joined #bitcoin-wizards
Emcy has joined #bitcoin-wizards
Emcy has joined #bitcoin-wizards
Emcy has quit [Changing host]
gribble has quit [Remote host closed the connection]
Chris_Stewart_5 has quit [Ping timeout: 246 seconds]
Alopex has quit [Remote host closed the connection]
sausage_factory has quit [Ping timeout: 250 seconds]
priidu has joined #bitcoin-wizards
Alopex has joined #bitcoin-wizards
gribble has joined #bitcoin-wizards
<jl2012> luke-jr: I'm trying to run your SHF. I mined some blocks in regtest and getblock returns something like this:
<jl2012> 000000000300003000000000573afcb569307e456f08ee5f86863e1d944fa5d98738ee750c7637ed618f830e57a63a58ffff7f200100000000000000009e2e6bfa6b4596983812df5a00826a62e508e87d28fcc4dc2b20e8910f3c6c85000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101000000010000000000000000000000000000000000000000
<jl2012> 000000000000000000000000ffffffff0502ad010101ffffffff02807c814a000000002321035bb1ed70ac081f36f9a782f672ac07650f9f562fa859037d840d823e5a874dfeac0000000000000000266a24aa21a9ede2f61c3f71d1defd3fa999dfa36953755c690689799962b48bebd836974e8cf900000000
<luke-jr> jl2012: ok
<jl2012> I suppose the initial 4 bytes should be nHeight, but it is shown as a fixed value of "00000000"
<luke-jr> hmm
<jl2012> 03000030 is the nDeploymentsoft, with testdummy, csv, and segwit
<jl2012> and the following 4 bytes is nDeploymenthard
Alopex has quit [Remote host closed the connection]
dnaleor has joined #bitcoin-wizards
moli has quit [Ping timeout: 252 seconds]
molz has joined #bitcoin-wizards
Alopex has joined #bitcoin-wizards
rogerSmith has joined #bitcoin-wizards
rogerSmith has quit [Client Quit]
<sn0wmonster> oh joy
Topogetcyrpto has joined #bitcoin-wizards
atgreen has quit [Ping timeout: 240 seconds]
harrymm has joined #bitcoin-wizards
dnaleor has quit [Quit: Leaving]
fkinglag has quit [Ping timeout: 246 seconds]
Yogh has quit [Ping timeout: 248 seconds]
harrymm has quit [Ping timeout: 245 seconds]
Yogh has joined #bitcoin-wizards
johnnygud has joined #bitcoin-wizards
johnnygud has left #bitcoin-wizards [#bitcoin-wizards]
kai has joined #bitcoin-wizards
johnnygud has joined #bitcoin-wizards
johnnygud has left #bitcoin-wizards [#bitcoin-wizards]
harrymm has joined #bitcoin-wizards
sdfgdsfg has quit [Remote host closed the connection]
e4xit has quit [Read error: Connection reset by peer]
e4xit has joined #bitcoin-wizards
Anduck_ has joined #bitcoin-wizards
Anduck_ has quit [Client Quit]
Guyver2 has joined #bitcoin-wizards
Topogetcyrpto_ has joined #bitcoin-wizards
Topogetcyrpto has quit [Ping timeout: 256 seconds]
Topogetcyrpto_ is now known as Topogetcyrpto
edvorg has joined #bitcoin-wizards
<jl2012> luke-jr: why you have this check? nNonceC2 >> 0x18
<jl2012> shouldn't you asset the opposite?
Topogetcyrpto_ has joined #bitcoin-wizards
Topogetcyrpto has quit [Ping timeout: 265 seconds]
Topogetcyrpto_ is now known as Topogetcyrpto
edvorg has quit [Ping timeout: 260 seconds]
atgreen has joined #bitcoin-wizards
sausage_factory has joined #bitcoin-wizards
priidu has quit [Ping timeout: 256 seconds]
MoALTz has quit [Read error: Connection reset by peer]
fabianfabian has joined #bitcoin-wizards
<jl2012> luke-jr: if we later want to add UTXO/TXO commitment and merkle sum tree through a softfork, do you expect that to be added to Hash CMR ("Commitment Merkle Root")?
CrazyLoaf has quit [Quit: Connection closed for inactivity]
Noldorin has joined #bitcoin-wizards
QuickLazy has joined #bitcoin-wizards
fkinglag has joined #bitcoin-wizards
QuickLazy has quit [Ping timeout: 265 seconds]
pro has joined #bitcoin-wizards
<luke-jr> jl2012: I think that assert should be opposite, yes
<jl2012> but what would happen if someone send me a block with nNonceC2 >= 2^24 ? Will my node crash due to this assert?
<luke-jr> yes, CMR looks like the place to add other commitments
<luke-jr> jl2012: right now, probably
<luke-jr> need a way for GetHash to say "invalid data" :P
<jl2012> or make it a uint16 + uint8 , sounds like a hack
<luke-jr> oh
<luke-jr> right, it's impossible to get more than 24 bits in there :D
<luke-jr> or should be
<jl2012> also saving 1 byte
<luke-jr> need to teach serialization to only do 3 bytes there
<kanzure> andytoshi: when you have a moment sometime, could you write down your "SNARK analogy" for mimblewimble?
<kanzure> (the one about "a very limited SNARK, by analogy only")
harrymm has quit [Ping timeout: 256 seconds]
Giszmo has joined #bitcoin-wizards
<jl2012> luke-jr: I just split it into 2 fields (16 + 8) for now
<jl2012> seems work
<jl2012> if the size of vhashCMTBranches is 0, the value of the first 4 bytes of class 3 nonce is irrelevant?
Giszmo has quit [Ping timeout: 258 seconds]
QuickLazy has joined #bitcoin-wizards
QuickLazy has quit [Client Quit]
Giszmo has joined #bitcoin-wizards
MoALTz has joined #bitcoin-wizards
spinza has quit [Ping timeout: 260 seconds]
atgreen has quit [Ping timeout: 245 seconds]
sausage_factory has quit [Ping timeout: 256 seconds]
shesek has quit [Read error: Connection reset by peer]
ipwn has joined #bitcoin-wizards
shesek has joined #bitcoin-wizards
kai has quit [Quit: WeeChat 1.4]
spinza has joined #bitcoin-wizards
adiabat has quit [Remote host closed the connection]
<jl2012> luke-jr: in the Header C you use transaction size/weight instead of block size/weight. Is your intention not to count the block header?
v20100 has joined #bitcoin-wizards
<jl2012> also, the "Merkle tree algorithm" is not implemented yet? https://github.com/luke-jr/bips/blob/bip-mmhf/bip-mmhf.mediawiki#Merkle_tree_algorithm
fabianfabian has quit [Quit: why]
ThomasV has joined #bitcoin-wizards
igno_peverell has joined #bitcoin-wizards
CoinGate has joined #bitcoin-wizards
<CoinGate> Hello everyone! I have an issue implementing BIP70. The issue is that I can not get the certificate to validate, i.e. it works, but it gets marked in yellow color in Bitcoin Core instead of green. Is there anyone who could help me?
<CoinGate> The issue if described here, and I could also give more information if needed: https://github.com/bumi/bip70-example/issues/1 Any help would be greatly appreciated.
<kanzure> use #bitcoin or #bitcoin-dev maybe
<CoinGate> Thank you for your reply. When I try to join #bitcoin-dev, I get error "Cannot join channel (+r) - you need to be identified with services". How do I get identified? Sorry if this is a noobish question.
<belcher> /msg nickserv register <password> <email> i believe CoinGate
<CoinGate> Thank you, that worked!
CoinGate has quit [Quit: Page closed]
jtimon has joined #bitcoin-wizards
priidu has joined #bitcoin-wizards
mol has joined #bitcoin-wizards
molz has quit [Ping timeout: 244 seconds]
<luke-jr> jl2012: maybe Header C should include nonce space to repurpose as additional commitments later
<luke-jr> jl2012: yes, block header cannot count in H-C I think..
<luke-jr> jl2012: after all, you may be merge-mining
<luke-jr> jl2012: MT algo is not implemented yet, correct
<jl2012> luke-jr: with some hacking I think I'm able to get it working: https://github.com/jl2012/bitcoin/tree/hardfork2016
<jl2012> with basic mining
<jl2012> but it still uses ExtraNonce in the real coinbase tx
<luke-jr> real = inside the HF block data?
<luke-jr> or H-C?
<jl2012> the real paying tx
<luke-jr> no big deal IMO
<jl2012> yes
<luke-jr> heck, I probably wouldn't even change that in the main HF PR
<luke-jr> let it be optimised later
<luke-jr> miners are going to be constructing their own H-C anyway
<jl2012> it seems easier than I thought. The more challenging tasks is to work with old clients
<luke-jr> indeed
<luke-jr> but really, that *could* just be a custom bridge
<luke-jr> ie, not in bitcoind
<jl2012> yes
<jl2012> but pre-fork is more problematic?
<luke-jr> it might be better to have it in bitcoind anyway though
<luke-jr> since we need to handle the old-client-upgrading-post-fork scenario
<luke-jr> right, that too
<luke-jr> we want to interop pre-fork of course
<luke-jr> plus we have experience doing this with segwit to a degree
<luke-jr> SHF and segwit's tricks are pretty similar
<jl2012> yes
<jl2012> have you considered to put the merkle root in scriptPubKey? That leaves more space for nonce3
<jl2012> also the 4 byte merkle root nonce
<luke-jr> hmm
<luke-jr> complicates H-B encoding somewhat
<jl2012> only a little bit? both are fixed size
<jl2012> OP_RETURN 0x24 hash|nonce
<jl2012> what is the benefit of your mekle tree algorithm over the original one? I think it's related to the mechanism of SHA256. Any reading?
<luke-jr> jl2012: right now it's basically <constant> <variables> <constant>
<luke-jr> jl2012: the MT algo commits to metadata
<luke-jr> jl2012: right now we have a theoretical-but-AFAIK-impractical exploit in Bitcoin's MT algo, and the new one fixes that
adiabat has joined #bitcoin-wizards
<jl2012> luke-jr: is it related to this? https://github.com/sipa/bitcoin/pull/75
ThomasV has quit [Ping timeout: 250 seconds]
<luke-jr> no
<luke-jr> but maybe something there worth integrating
<kanzure> .title
<yoleaux> Segwit arbitrary commitment trees & faster hashing by maaku · Pull Request #75 · sipa/bitcoin · GitHub
Topogetcyrpto has quit [Quit: Topogetcyrpto]
<luke-jr> jl2012: ideally would like to use https://github.com/maaku/bips/blob/master/drafts/auth-trie.mediawiki for the CMR as well
<luke-jr> err, maaku deleted it? :|
<luke-jr> maaku: is the trie BIP draft somewhere now?
ipwn has quit [Quit: Leaving]
v20100 has quit [Ping timeout: 248 seconds]
<kanzure> why not merklix stuff
v20100 has joined #bitcoin-wizards
sausage_factory has joined #bitcoin-wizards
priidu has quit [Ping timeout: 268 seconds]
Topogetcyrpto has joined #bitcoin-wizards
CrazyLoaf has joined #bitcoin-wizards
v20100 has quit [Quit: Nettalk6 - www.ntalk.de]
Topogetcyrpto has quit [Quit: Topogetcyrpto]
WungFu has joined #bitcoin-wizards
vorksholk has joined #bitcoin-wizards
copumpkin has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bsm117532> I'd really like a rundown on the different types of hash-prefix Trie/Merklix/MMR, their pros/cons, and what the options are there...
rhett has joined #bitcoin-wizards
ThomasV has joined #bitcoin-wizards
<jtimon> jl2012: didn't looked yet, but are you using the "hardfork bit" in your branch? are you using bip9?
<jtimon> seems no for bip9
<kanzure> yeah there's going to be a tremendous amount of riders if anyone makes an actual hard-fork proposal
<kanzure> (the "one hard-fork every 40 years" thing)
<jtimon> jl2012: not sure if luke-jr gets notification of this, sorry if you get notified twice https://github.com/jl2012/bitcoin/commit/572906a85f3aa8edfe9f9d36cb8a17861588db6d#commitcomment-19974846
<jtimon> that commit should help with #8493 too
<jtimon> maybe I just "steal it" for #8493 now...
<jtimon> and if you PR independently, please ping for review
<jtimon> nah, it doesn't really help with #8493 , but I still like it
<jtimon> kanzure: I'm not sure I agree with "one hardfork every 40 years"
NewLiberty has joined #bitcoin-wizards
WungFu has quit [Ping timeout: 260 seconds]
sausage_factory has quit [Ping timeout: 244 seconds]
ThomasV has quit [Ping timeout: 246 seconds]
c0rw1n has joined #bitcoin-wizards
ThomasV has joined #bitcoin-wizards
Chris_Stewart_5 has joined #bitcoin-wizards
Chris_Stewart_5 has quit [Ping timeout: 246 seconds]
dnaleor has joined #bitcoin-wizards
AaronvanW has quit [Ping timeout: 252 seconds]
igno_peverell has quit [Ping timeout: 245 seconds]
AaronvanW has joined #bitcoin-wizards
AaronvanW has joined #bitcoin-wizards
AaronvanW has quit [Changing host]
Guyver2 has quit [Remote host closed the connection]