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
voxelot_ has quit [Ping timeout: 276 seconds]
bsm1175321 has quit [Remote host closed the connection]
Jeremy_Rand_2 has quit [Ping timeout: 244 seconds]
AlienTrooper is now known as Alientrooper
Alientrooper is now known as AlienTrooper
bsm117532 has joined #bitcoin-wizards
Jeremy_Rand_2 has joined #bitcoin-wizards
TheSeven has quit [Ping timeout: 250 seconds]
TheSeven has joined #bitcoin-wizards
PRab has quit [Quit: ChatZilla 0.9.92 [Firefox 45.0.1/20160315153207]]
frankenmint has quit [Remote host closed the connection]
kisspunch has joined #bitcoin-wizards
NewLiberty has joined #bitcoin-wizards
ThomasV has joined #bitcoin-wizards
gsdgdfs has joined #bitcoin-wizards
PRab_ has joined #bitcoin-wizards
execute has quit [Ping timeout: 250 seconds]
zmachine has quit [Ping timeout: 250 seconds]
Tiraspol has quit [Ping timeout: 250 seconds]
Jeremy_Rand_2 has quit [Remote host closed the connection]
yrashk_ has joined #bitcoin-wizards
Jeremy_Rand_2 has joined #bitcoin-wizards
zmachine has joined #bitcoin-wizards
b-itcoinssg_ has joined #bitcoin-wizards
OneFixt_ has joined #bitcoin-wizards
jtimon has quit [Ping timeout: 276 seconds]
ThomasV has quit [*.net *.split]
NewLiberty has quit [*.net *.split]
OneFixt has quit [*.net *.split]
b-itcoinssg has quit [*.net *.split]
yrashk has quit [*.net *.split]
TheSeven has quit [*.net *.split]
Transisto2 has quit [*.net *.split]
PRab has quit [*.net *.split]
b-itcoinssg_ is now known as b-itcoinssg
yrashk_ is now known as yrashk
TheSeven has joined #bitcoin-wizards
johnwhitton has quit [Ping timeout: 250 seconds]
johnwhitton has joined #bitcoin-wizards
arowser has quit [Quit: No Ping reply in 180 seconds.]
arowser has joined #bitcoin-wizards
ThomasV has joined #bitcoin-wizards
mrkent has quit [Ping timeout: 250 seconds]
mrkent has joined #bitcoin-wizards
JackH has joined #bitcoin-wizards
damethos has joined #bitcoin-wizards
earlest has quit [Read error: Connection reset by peer]
johnwhitton has quit [Quit: johnwhitton]
tromp has joined #bitcoin-wizards
btcdrak has quit [Ping timeout: 276 seconds]
btcdrak has joined #bitcoin-wizards
Ylbam has joined #bitcoin-wizards
tromp has quit [Ping timeout: 250 seconds]
paveljanik has quit [Quit: Leaving]
mrkent has quit [Read error: Connection reset by peer]
chjj has quit [Ping timeout: 276 seconds]
mrkent has joined #bitcoin-wizards
mrkent has quit [Max SendQ exceeded]
mrkent has joined #bitcoin-wizards
murch has joined #bitcoin-wizards
frankenmint has joined #bitcoin-wizards
jannes has joined #bitcoin-wizards
Guyver2 has joined #bitcoin-wizards
ThomasV has quit [Ping timeout: 276 seconds]
TheIdea has joined #bitcoin-wizards
<nsh>
bsm117532, it reads okay until they start having their own ideas :)
TheIdea has quit [Ping timeout: 276 seconds]
<nsh>
i'm not sure this manual miner voting-based corroboration of cross-chain fidelity is a starter
<nsh>
'Everyone waits for a period of, say, 3 days. This gives everyone an opportunity to make sure the same WT^ is in both the Bitcoin coinbase and the Sidechain header. If they’re different, everyone has plenty of time to contact each other, figure out what is going on, and restart the process until its right.'
droark has quit [Read error: Connection reset by peer]
moli has quit [Read error: Connection reset by peer]
moli has joined #bitcoin-wizards
koshii has quit [Ping timeout: 260 seconds]
AaronvanW has joined #bitcoin-wizards
koshii has joined #bitcoin-wizards
TheIdea has joined #bitcoin-wizards
mrkent has quit []
b-itcoinssg has quit [Quit: Connection closed for inactivity]
Samdney has joined #bitcoin-wizards
TheIdea has quit [Ping timeout: 244 seconds]
roconnor has quit [Ping timeout: 244 seconds]
execute has joined #bitcoin-wizards
TheIdea has joined #bitcoin-wizards
dEBRUYNE has joined #bitcoin-wizards
execute has quit [Ping timeout: 250 seconds]
Samdney has quit [Ping timeout: 244 seconds]
liead is now known as adlai
<adlai>
;;later tell hazirafel can't read non-ascii, please resend messages, and get a bouncer/server/etc
<gribble>
The operation succeeded.
ThomasV has joined #bitcoin-wizards
execute has joined #bitcoin-wizards
ThomasV has quit [Ping timeout: 276 seconds]
voxelot_ has joined #bitcoin-wizards
erasmospunk has joined #bitcoin-wizards
AaronvanW has quit [Ping timeout: 276 seconds]
erasmospunk has quit [Ping timeout: 276 seconds]
erasmospunk has joined #bitcoin-wizards
murch has quit [Quit: Leaving.]
pro has joined #bitcoin-wizards
pro has quit [Quit: Leaving]
_rht has joined #bitcoin-wizards
<runeks>
Are we using a different term than 'scriptPubKey' to describe the script in a Bitcoin transaction output these days?
<stonecoldpat1>
i'm not sure on the best phrase for it, lately ive been using redemption criteria
<stonecoldpat1>
*or at least the people I talk to regularly use that phrase, and i've adopted it
RedEmerald_ has quit [Ping timeout: 260 seconds]
dEBRUYNE has quit [Quit: Leaving]
koshii has quit [Ping timeout: 276 seconds]
koshii has joined #bitcoin-wizards
mountain1 has quit [Ping timeout: 260 seconds]
Tiraspol has joined #bitcoin-wizards
Tiraspol has joined #bitcoin-wizards
King_Rex has joined #bitcoin-wizards
RedEmerald has joined #bitcoin-wizards
NewLiberty has joined #bitcoin-wizards
ThomasV has joined #bitcoin-wizards
laurentmt has joined #bitcoin-wizards
NewLiberty has quit [Ping timeout: 244 seconds]
paveljanik has joined #bitcoin-wizards
paveljanik has joined #bitcoin-wizards
jl2012 has quit [Read error: Connection reset by peer]
pro has joined #bitcoin-wizards
laurentmt has quit [Quit: laurentmt]
jl2012 has joined #bitcoin-wizards
muuqwaul has joined #bitcoin-wizards
<waxwing>
is there something wrong with 'scriptPubKey'?
mountain1 has joined #bitcoin-wizards
laurentmt has joined #bitcoin-wizards
laurentmt has quit [Quit: laurentmt]
<stonecoldpat1>
It is the name in the code we are all familiar with, but it doesn't really describe what is going on well for outsiders
Jeremy_Rand_2 has quit [Read error: Connection reset by peer]
RedEmerald has quit [Ping timeout: 244 seconds]
Samdney has joined #bitcoin-wizards
RedEmerald has joined #bitcoin-wizards
jtimon has joined #bitcoin-wizards
<waxwing>
a pubkey has a similar role in other crypto systems. the scriptSig is like a signature and the transaction is a message, the scriptPubkey is like a pubkey. not arguing you couldn't choose another name, just that it isn't stupid.
AaronvanW has joined #bitcoin-wizards
frankenm_ has joined #bitcoin-wizards
frankenmint has quit [Ping timeout: 264 seconds]
<instagibbs>
i didn't understand it until that relationship was explained. In hindsight it's a pretty good name imo
TheIdea has quit [Remote host closed the connection]
AaronvanW has quit [Ping timeout: 276 seconds]
muuqwaul has quit [Read error: Connection reset by peer]
ggreer has quit [Ping timeout: 264 seconds]
muuqwaul has joined #bitcoin-wizards
<stonecoldpat1>
waxwing: I wouldn't say it was stupid! I would say that the scripting language is more extensive than it use to be, and the name scriptPubKey would imply it is for a single public key, or at least that is normally the question I am asked. Even scriptSig, it would imply a single signature which isn't necessarily true.
<stonecoldpat1>
So I have tended to start using "Redemption Criteria (Script)" to explain outputs, and while RedeemScript is for P2SH, I also find it a good name for scriptsig. It would be useful to see what other people have been calling it.
ggreer has joined #bitcoin-wizards
Iriez has quit [Ping timeout: 244 seconds]
stonecoldpat1 is now known as stonecoldpat
zooko has joined #bitcoin-wizards
face has quit [Read error: Connection reset by peer]
wpalczynski has quit [Ping timeout: 250 seconds]
TheIdea has joined #bitcoin-wizards
wpalczynski has joined #bitcoin-wizards
<adlai>
you've got at input function, and an output function, together they make the bitcoin function.
Guyver2 has quit [Read error: Connection reset by peer]
Guyver2 has joined #bitcoin-wizards
TheIdea has quit [Ping timeout: 276 seconds]
Iriez has joined #bitcoin-wizards
Giszmo has joined #bitcoin-wizards
TheIdea has joined #bitcoin-wizards
laurentmt has joined #bitcoin-wizards
laurentmt has quit [Client Quit]
NewLiberty has joined #bitcoin-wizards
frankenm_ has quit [Remote host closed the connection]
ThomasV has quit [Ping timeout: 260 seconds]
tromp has joined #bitcoin-wizards
voxelot_ has quit [Ping timeout: 260 seconds]
tromp has quit [Ping timeout: 252 seconds]
zooko` has joined #bitcoin-wizards
execute has quit [Ping timeout: 250 seconds]
zooko has quit [Ping timeout: 250 seconds]
Tiraspol has quit [Ping timeout: 250 seconds]
chjj has joined #bitcoin-wizards
zooko` has quit [Remote host closed the connection]
<runeks>
I agree that scriptPubKey is fine. I just had the thought in my head that we were calling it something else now, but I guess that was my imagination. I agree that redeemScript makes a bit more sense, although this taken by a specific type of scriptPubKey, P2SH.
binaryFate has quit [Ping timeout: 276 seconds]
binaryFate has joined #bitcoin-wizards
<runeks>
I might have called the two pieces of data redemptionFunction (for scriptPubKey) and redemptionParameters (for scriptSig).
<runeks>
If you think about it, the scriptPubKey defines a function which takes a number of parameters, and the scriptSig provides parameters to this function, and if the function (scriptPubKey) evaluates to true with the given parameters, the transaction is valid.
<runeks>
The scriptSig usually (always?) consists of stack pushes, but as far as I can see the stack is only used as a calling convention -- as a way for the scriptSig to pass its parameters to the scriptPubKey which returns true or false.
<adlai>
yeah, but it's functions all the way down (until you reach turtles)
ThomasV has joined #bitcoin-wizards
<runeks>
adlai: I'm not following...
NewLiberty has joined #bitcoin-wizards
<adlai>
runeks: bitcoin script is just code for a stack-based VM. both the "input" function, and the "output" function, just get called, not necessarily in that order. the result of calling them properly is... valid bitcoin TXs.
<nsh>
bitcoin scripts are a forth-based language. the stack is how functions are invoked
<runeks>
adlai: Certainly, the "input function" is called before the "output function", no?
<adlai>
sure, we're arguing in circles here, circles make me think of foucault's pendulum and then my mind gets tied up in NOPs
earlest has quit [Read error: Connection reset by peer]
erasmospunk has quit [Quit: ttm]
earlest has joined #bitcoin-wizards
AEM is now known as aem
<runeks>
I'm not really talking about what it "is", I'm just saying: a library could be developed which defines a language that compiles to Bitcoin script, which abstracts away all the stack pushes and makes it easier to understand complex scripts.
<c0rw1n>
should be a graphical language of comic stick figures , at one panel per machine-state of the contract, defining who gets what on which conditions
secondz31 has joined #bitcoin-wizards
earlest has quit [Read error: Connection reset by peer]
earlest has joined #bitcoin-wizards
arubi has quit [Ping timeout: 244 seconds]
earlest has quit [Read error: Connection reset by peer]
earlest has joined #bitcoin-wizards
<maaku>
runeks: "easier to understand" is subjective
Jeremy_Rand_2 has joined #bitcoin-wizards
<maaku>
bitcoin script is actually quite high level
<maaku>
just needs better tooling
<runeks>
The compiler that compiles to Bitcoin script would be a tool
NewLiberty has quit [Ping timeout: 268 seconds]
<runeks>
maaku: And when I say "easier to understand", I'm mostly thinking about complex, nested ifs and such.
<runeks>
not that a stack-based language is inherently more difficult to understand
molz has joined #bitcoin-wizards
arubi has joined #bitcoin-wizards
adams__ has quit [Ping timeout: 250 seconds]
aspect_ has quit [Ping timeout: 250 seconds]
koshii has quit [Ping timeout: 250 seconds]
binaryFate_ has joined #bitcoin-wizards
Keefe_ has quit [Ping timeout: 250 seconds]
Logicwax has quit [Ping timeout: 250 seconds]
Myagui has quit [Ping timeout: 250 seconds]
CodeShark has quit [Ping timeout: 250 seconds]
davec_ has quit [Ping timeout: 250 seconds]
PsychoticBoy_ has joined #bitcoin-wizards
Giszmo1 has quit [Ping timeout: 250 seconds]
PRab has quit [Ping timeout: 250 seconds]
koshii has joined #bitcoin-wizards
b-itcoinssg has quit [Ping timeout: 250 seconds]
Giszmo has joined #bitcoin-wizards
yorick has joined #bitcoin-wizards
yorick has joined #bitcoin-wizards
_rht has quit [Ping timeout: 250 seconds]
execute has quit [Ping timeout: 250 seconds]
Tiraspol has quit [Ping timeout: 250 seconds]
adams__ has joined #bitcoin-wizards
AEM- has joined #bitcoin-wizards
SteveTaylor has quit [Ping timeout: 250 seconds]
kumavis_ has joined #bitcoin-wizards
_rht has joined #bitcoin-wizards
jl2012_ has joined #bitcoin-wizards
zm4c1n3 has joined #bitcoin-wizards
CodeShark has joined #bitcoin-wizards
Logicwax has joined #bitcoin-wizards
Jeremy_Rand_2 has quit [*.net *.split]
earlest has quit [*.net *.split]
ThomasV has quit [*.net *.split]
binaryFate has quit [*.net *.split]
[ace] has quit [*.net *.split]
ibrightly has quit [*.net *.split]
SirJacket has quit [*.net *.split]
kumavis has quit [*.net *.split]
runeks has quit [*.net *.split]
mariorz has quit [*.net *.split]
null_radix has quit [*.net *.split]
_Iriez has quit [Quit: changing servers]
zmachine has quit [*.net *.split]
johnwhitton has quit [*.net *.split]
bassguitarman has quit [*.net *.split]
PsychoticBoy has quit [*.net *.split]
melvster has quit [*.net *.split]
jbenet has quit [*.net *.split]
Church- has quit [*.net *.split]
chjj has quit [*.net *.split]
jl2012 has quit [*.net *.split]
paveljanik has quit [*.net *.split]
King_Rex has quit [*.net *.split]
moli has quit [*.net *.split]
kinlo has quit [*.net *.split]
bsm117532 has quit [*.net *.split]
aem has quit [*.net *.split]
sparetire has quit [*.net *.split]
Alopex has quit [*.net *.split]
yorick__ has quit [*.net *.split]
LeMiner has quit [*.net *.split]
Starsoccer has quit [*.net *.split]
jl2012_ is now known as jl2012
sparetire has joined #bitcoin-wizards
Starsoccer has joined #bitcoin-wizards
Myagui has joined #bitcoin-wizards
PsychoticBoy_ has quit [Ping timeout: 259 seconds]
Alopex1 has joined #bitcoin-wizards
kinlo has joined #bitcoin-wizards
adams__ has quit [Ping timeout: 252 seconds]
Iriez has joined #bitcoin-wizards
kumavis_ is now known as kumavis
epscy has quit [Ping timeout: 250 seconds]
LeMiner has joined #bitcoin-wizards
melvster has joined #bitcoin-wizards
ThomasV has joined #bitcoin-wizards
Church- has joined #bitcoin-wizards
Keefe has joined #bitcoin-wizards
gielbier has joined #bitcoin-wizards
gielbier has quit [Changing host]
gielbier has joined #bitcoin-wizards
LeMiner has quit [Ping timeout: 286 seconds]
ggreer has quit [Changing host]
ggreer has joined #bitcoin-wizards
ibrightly has joined #bitcoin-wizards
King_Rex has joined #bitcoin-wizards
melvster has quit [*.net *.split]
bsm117532 has joined #bitcoin-wizards
SirJacket has joined #bitcoin-wizards
laurentmt has joined #bitcoin-wizards
runeks has joined #bitcoin-wizards
Jeremy_Rand_2 has joined #bitcoin-wizards
davec has joined #bitcoin-wizards
priidu has joined #bitcoin-wizards
epscy has joined #bitcoin-wizards
CodeShark has quit [Ping timeout: 276 seconds]
NewLiberty has joined #bitcoin-wizards
null_radix has joined #bitcoin-wizards
b-itcoinssg has joined #bitcoin-wizards
CodeShark has joined #bitcoin-wizards
[ace] has joined #bitcoin-wizards
blackwraith has joined #bitcoin-wizards
melvster has joined #bitcoin-wizards
adams__ has joined #bitcoin-wizards
priidu has quit [Ping timeout: 276 seconds]
mariorz has joined #bitcoin-wizards
jbenet has joined #bitcoin-wizards
bassguitarman has joined #bitcoin-wizards
aspect_ has joined #bitcoin-wizards
chjj has joined #bitcoin-wizards
PsychoticBoy_ has joined #bitcoin-wizards
AEM- is now known as aem
jessepollak has quit [Ping timeout: 276 seconds]
jessepollak has joined #bitcoin-wizards
Burrito has joined #bitcoin-wizards
LeMiner has joined #bitcoin-wizards
c-cex-yuriy has joined #bitcoin-wizards
Greybits has joined #bitcoin-wizards
kristofferR has joined #bitcoin-wizards
secondz31 has left #bitcoin-wizards ["Verlassend"]
frankenmint has quit [Remote host closed the connection]
<Taek>
I frequently advocate that blockchains are a good source of random numbers. This paper explores that idea more
<nsh>
heh
mrkent_ has joined #bitcoin-wizards
mrkent has quit [Ping timeout: 260 seconds]
<nsh>
this is silly
<nsh>
if the game is to influence some part of the block, then yeah people can win
<nsh>
but you'd have to be pretty badly misusing the block for entropy for that to be useful
<pigeons>
depends how much the reward is
<nsh>
i think i mean anyone picking bits of blocks at random to use as entropy deserves to have their lottery robbed or something
<pigeons>
yeah
<nsh>
there are particular bits of the blockheader that depend sensitively on all transactions in the current block and all of history
<nsh>
that's the bit you might wanna use for entropy
<nsh>
and the nonce that resulted in the proof-of-work difficulty-beating hash output
<nsh>
at that point it's more difficult to bias the distribution than to win bitcoin unless bitcoin is broken in ways we haven't figured out yet
da2ce7_mobile has quit [Ping timeout: 260 seconds]
da2ce7_mobile has joined #bitcoin-wizards
<Taek>
I mean, you should never need more than 32 bytes of entropy for anything you are doing
<Taek>
and, the block hash will give you nearly that much
<Taek>
it's very difficult to manipulate the block hash, because, well, you'd need to throw out the block and find another
<Taek>
you really only get like 22 bytes of entropy though, because there are a boatload of leading zerores.
<helo>
no reason not to combine the last N block headers afaict
<helo>
*hashes
<Taek>
you don't gain any security that way, a miner can see the final block before anyone else and that final block will influence the outcome of the rng in a way that the miner can contrl
voxelot_ has quit [Remote host closed the connection]
<phantomcircuit>
Taek, er block hash is much less than 32 bytes of entropy
voxelot_ has joined #bitcoin-wizards
<Taek>
phantomcircuit: less than 20?
<phantomcircuit>
currently about 23
<Taek>
(I pointed that out)
<phantomcircuit>
oh so you did
* phantomcircuit
just put in contacts
Don_John has joined #bitcoin-wizards
Don_John has quit [Remote host closed the connection]
<Taek>
so, would you get back to 32 bytes if you got the random number by rehashing the block with a prefix?
<Taek>
that way, the winning hash and the rng hash are now uncorrelated
<Taek>
seems sound to me
Guest78402 is now known as [Derek]
[Derek] has quit [Changing host]
[Derek] has joined #bitcoin-wizards
<phantomcircuit>
Taek, is the prefix random? if not then no you still have 23 bits of entropy
<phantomcircuit>
does that make a practice difference in your protocol? probably not really
dEBRUYNE_ has joined #bitcoin-wizards
mkarrer_ has joined #bitcoin-wizards
dEBRUYNE has quit [Ping timeout: 244 seconds]
spinza has quit [Ping timeout: 244 seconds]
Anduck has quit [Ping timeout: 244 seconds]
mkarrer has quit [Ping timeout: 244 seconds]
<gielbier>
quick question , would direct interaction be faster then rpc?
<gielbier>
as in sync -> blockchainsql. Would i gain any improvement by interacting with bitcoind directly.
roconnor has joined #bitcoin-wizards
Anduck has joined #bitcoin-wizards
<gielbier>
senquential sync ofc.
spinza has joined #bitcoin-wizards
<adlai>
gielbier: is that really a question for this channel?
<gielbier>
oops. i was thinking this was bitcoin-dev
ThomasV has joined #bitcoin-wizards
<gielbier>
adlai sorry about that. working on a binblock like thing. pondering about rmdbs like storage solutions for the blockchain which scale.
<adlai>
gielbier: absolute optimization corrupts prematurely. my suggestion is that you focus on making the queries you need, and once you hit bottlenecks, investigate exactly which connections are the slowest ones, and optimize for those.
<gielbier>
absolute optimization corrupts prematurely <-- couldnt agree more. But things like query optimalisation are done. I'm just trying to get full table scans offload from mem or something fast. I end op with either mariadb with memory eninge, or cloud platform.
DougieBot5000 has quit [Quit: Leaving]
nuke1989 has quit [Read error: No route to host]
nuke1989 has joined #bitcoin-wizards
BlueMatt has quit [Ping timeout: 276 seconds]
BlueMatt has joined #bitcoin-wizards
<Taek>
phantomcircuit: I'm struggling to understand why. The reason you lose entropy for the block hash is because they are going to be by definition a bunch of leading zeros
<Taek>
the prefixed hash you don't know what it's going to look like when a winning block is found
chjj has quit [Ping timeout: 276 seconds]
ThomasV has quit [Ping timeout: 264 seconds]
NewLiberty has quit [Ping timeout: 264 seconds]
laurentmt has joined #bitcoin-wizards
laurentmt has quit [Client Quit]
NewLiberty has joined #bitcoin-wizards
cluckj has joined #bitcoin-wizards
chjj has joined #bitcoin-wizards
tromp has joined #bitcoin-wizards
rusty has joined #bitcoin-wizards
tromp has quit [Ping timeout: 260 seconds]
Tiraspol has joined #bitcoin-wizards
rusty has quit [Ping timeout: 276 seconds]
c0rw1n is now known as c0rw|zZz
<kanzure>
why do people make sha256 rainbow tables instead of xor(rightrotate(x, 2), rightrotate(x, 13), rightrotate(x, 22)) rainbow tables?
Samdney has quit [Quit: Verlassend]
<nsh>
i'm not sure people do
<justanotheruser>
I assume that is a self map I assume?
<nsh>
rainbow tables get less useful as hashing gets faster and salting becomes standardised