-
Rucknium[m]
Is something like BCH's Flipstarter possible with Monero transactions? Inquiring minds would like to know. I have heard that Monero's script capabilities are more limited than BCH's.
-
Rucknium[m]
Background reading:
-
Rucknium[m]
-
moneromooo
There are no scripts in monero.
-
Rucknium[m]
Ok I have more information about exactly how Flipstarter works. Quoting a BCH dev:
-
Rucknium[m]
"Every coin in bch is locked and unlocked by a script but p2pkh is so standard that it’s kinda treated as not a script."
-
Rucknium[m]
"To answer your question each input is a plain coin like any other. However the wallet signs a partial transaction where the output is set in stone and the signature type is anyone-can-pay so that the signature covers only the pledger’s input."
-
Rucknium[m]
"Ie it’s not a p2sh. It uses a particular sighash flag. Not sure if those are available in monero""
-
ypavtv97lx[m]
Hi, is Monero still using hardcoded IP's/Hostnames in the code for initial peer discovery ?
-
sech1
yes
-
ypavtv97lx[m]
which file ? can't find it
-
sech1
-
ypavtv97lx[m]
thanks!
-
sech1
there are also different seed nodes for tor/i2p
-
ypavtv97lx[m]
-
tauntaum
hello
-
tauntaum
wfaressuissia debug here
paste.debian.net/1210366
-
wfaressuissia
good, reading it now
-
wfaressuissia
"
paste.debian.net/hidden/26f00093" recompile with it in order to see everything in gdb
-
wfaressuissia
and paste gdb backtrace for the next error
-
wfaressuissia
what is your environment (compiler, os)?
-
tauntaum
ok
-
tauntaum
debian os
-
tauntaum
-
wfaressuissia
-
wfaressuissia
revert this line in 7803 patch and error will disappear
-
tauntaum
-
tauntaum
this patch?
-
wfaressuissia
it's expected that you're experiencing error only with master branch + 7803 + something else, is it correct ?
-
tauntaum
yes
-
wfaressuissia
-
tauntaum
src/p2p/net_node_common.h i insert red lines and remove green
-
tauntaum
ok?
-
wfaressuissia
scroll a bit up in github, highlighted line is hidden
-
tauntaum
ah line 2548 src/p2p/net_node.inl
-
wfaressuissia
yes, only that single line
-
tauntaum
so all eror was a "&" !!!!!!!!!
-
tauntaum
no words!
-
wfaressuissia
you are capable to review that pr now
-
tauntaum
i i have no github account
-
wfaressuissia
create temporary one
-
wfaressuissia
"
paste.debian.net/1210372 wfaressuissia" before this comment It was expected that you're experiencing error with either unmodified release-v0.17 or master, but turned out it was always +7803 at least
-
wfaressuissia
please, specify always source code that you're using
-
tauntaum
ok
-
wfaressuissia
"well whatever im running on xmrchain.net has been up for 70 days" gingeropolous, cool
-
tauntaum
wfaressuissia line 2548 is with "&" !
-
tauntaum
i checked now on my source code!
-
tauntaum
try_ping(arg.node_data, context, [peer_id_l, port_l, &context, this]()
-
wfaressuissia
and reverted one should be without '&'
-
tauntaum
ok!
-
tauntaum
wfaressuissia i confirm that revert worked
-
tauntaum
no more crashes
-
tauntaum
can u explain what that "&" did
-
wfaressuissia
it helped to summon segfault
-
wfaressuissia
I would explain, but I'm busy with something more important
-
tauntaum
ok thnx a lot
-
moneromooo
& saves a reference to the object, as opposed to copying it. If the object goes out of scope before the ref gets dereferenced, it accesses stale memory.
-
tauntaum
thnx moneromooo
-
Rucknium[m]
moneromooo: What did you think about what the BCH dev said about sighash flags? Might Monero have these sighash flags? I am out of my depth here.
-
moneromooo
I don't know how bitcoin works, so I have thought about it.
-
moneromooo
I doubt monero has sighash flags.
-
moneromooo
For locking/unlocking, the only two things you can use in monero is unlock_time and double spending.
-
amadeyo[m]
Hi ladies and ladiesmen, I've downloaded the full blockchain, and I want to setup 3 of my PC's to connect to my server and mine using that db, how would I do that ?
-
amadeyo[m]
* Hi ladies and ladiesmen, I've downloaded the full blockchain, and I want to setup 3 of my PC's to connect to my server and mine using that db, how would I do that ?
-
amadeyo[m]
Also if this is the wrong room for these type of questions, please point me in the correct direction :D
-
moneromooo
#monero
-
moneromooo
Or #monero-pools, which should know about proxies and the like you might need.
-
moneromooo
Or you might want to try the new p2pool instead.
-
moneromooo
-
amadeyo[m]
okok
-
amadeyo[m]
ty
-
UkoeHB
Rucknium[m]: to get the pattern where N arbitrary people fund pre-defined outputs, you would require active participation of all N people to construct the tx.
-
moneromooo
Oh, is it the "a single tx where several people send/sign", so the spending is atomic ?
-
Rucknium[m]
moneromooo I explain it more in the reddit comment I linked above. So my understanding is that the transaction is partially signed by each participant. Once you as a contributor do your signing, no further action is required. When the last contributor tops off the budget request, a many-to-one (or many-to-many if multiple recipients are specified) transaction is broadcast.
-
Rucknium[m]
This is the transaction that funded my recent Flipstarter proposal, for example:
-
Rucknium[m]
-
Rucknium[m]
UkoeHB: So they would have to do it synchronously, not asynchronously like Flipstarter? Like schedule a specific time to get coordinate I suppose?
-
moneromooo
This is possible in monero, then. I have preliminary code that does that, but it's pretty complicated, and I gave up on it because it was inherently leaking the spent outputs to other signers.
-
moneromooo
If you do not care about this, then... you'd have to finish the code.
-
moneromooo
It was a PoC level only.
-
moneromooo
You'd get several rounds though. I think 3.
-
Rucknium[m]
* specific time to coordinate
-
UkoeHB
Rucknium[m]: it can be asynch but requires multiple rounds. If you have 20 people cooperating, then all it takes is 1 of them to block the whole process.
-
Rucknium[m]
UkoeHB: Hmm interesting. With Flipstarter, contributors can cancel their pledges at any time by spending their contribution coin back to themselves. Cancellations don't block the process at all.
-
moneromooo
Why make it a merged tx then ? Space ?
-
Rucknium[m]
It's all-or-nothing. If the fund goal isn't reached, no funds are transferred. It operationalized the idea of an assurance contract
-
Rucknium[m]
-
Space[m]
<moneromooo> "Why make it a merged tx then..." <- Only here they constantly call me using my nickname (Space)😅
-
Rucknium[m]
I don't think that this is just an academic discussion about the capabilities of Monero vs BCH. There has been a lot of tension recently about "what should CCS be funding"? Part of that tension derives from the somewhat permissioned nature of CCS.
-
UkoeHB
Well if the technical capabilities aren’t there it’s kinda a dead end, unless you can come up with a solid technical solution.
-
hyc
CCS literally stands for Community Crowdfunding System. it should fund whatever the community wants it to fund.
-
Rucknium[m]
UkoeHB: Right. So is the final word what you said about one person being able to block the process, so it wouldn't stand up to adversarial attack?
-
hyc
The recent tension you refer to is just noise.
-
Rucknium[m]
hyc: To me, it is clearly not just noise. It caused Monerujo to abandon their CCS proposal and try their own way of requesting contributions:
-
Rucknium[m]
-
moneromooo
Ah I see. It should be possible in monero as well. Every person signs their ring(s).
-
Rucknium[m]
:D
-
Rucknium[m]
moneromooo: Thank you for looking into it.
-
moneromooo
To be clear, I'm not looking into it.
-
moneromooo
I have in the past, but I have no interest it dusting it back into shape,
-
Rucknium[m]
I mean, you looked into it by checking to see if it would be possible. I didn't mean to imply that you would do further thinking or looking
-
moneromooo
I can find the code if someone else wants to though and want to reuse it.
-
luigi1111w
I don't think "a lot of tension" is a fair characterization at all. A project decided to go its own way for funding.
-
Rucknium[m]
There is this
-
Rucknium[m]
-
Rucknium[m]
And in the recent past this
-
Rucknium[m]
-
hyc
that latter one is, IMO, more about for-profit corporations soliciting community donations. which is in poor taste IMO
-
hyc
if you're a for-profit corp and need funding to get off the ground, give each backer shares of the company. that's capitalism.
-
hyc
donation-based funding should only be for nonprofit efforts.
-
Rucknium[m]
This is exactly what I am referring to. With a permissionless, self-hosted, noncustodial approach like Flipstarter, there would really be no questions about what "the community" should fund. Flipstarter is just individuals autonomously cooperating to ensure that capital meets labor and produces something useful to someone.
-
UkoeHB
moneromooo: the current protocol is not well-suited to Rucknium’s usecase because it is not resistant to attackers. All inputs sign the same msg (all tx data) which means all inputs must be known before you sign. A malicious participant can block other signers by just not signing. I think it is feasible to change this at the protocol level, so CLSAGs only sign their own content and the tx outputs. This way inputs are
-
UkoeHB
independent of each other.
-
UkoeHB
Then, if there is a malicious individual, the tx author can just find another person to finish funding the tx.
-
Rucknium[m]
It would not at all be a replacement for the existing CCS. The CCS definitely has certain advantages over Flipstarter. For instance, with CCS there is a defined process for proposal feedback before asking for funds. Ensuring accountability from the proposer is also more difficult since the funds are released immediately upon the fund target being reached.
-
hyc
lack of accountability sounds like a non-starter
-
Rucknium[m]
Flipstarter has funded 79 projects with over 9000 BCH. It has been working reasonably well for BCH. Just an idea. I am trying to see inefficiencies and overcome them if possible.
-
Rucknium[m]
For Flipstarter's difficulties with accountability, see
-
Rucknium[m]
-
hyc
philosophically it'd be like zero-conf txns: I'd trust it only with small amounts that i don't care about losing
-
Rucknium[m]
The accountability problem can be mitigated by setting up a repeated game: Do funding in stages. That's what my proposal did:
-
Rucknium[m]
-
Rucknium[m]
Proposers having reputations also helps mitigate the accountability issue.
-
plowsof[m]
Solar freakin' roadways!
-
Rucknium[m]
I mean, do what you want. I am not the right person to champion this nor implement it. I am just trying to determine if it is possible and laying out a case for it.
-
plowsof[m]
(congrats on getting fully funded!)
-
Rucknium[m]
plowsof: Thanks! It was funded within just 48 hours of going live. I'm going to submit a CCS soon too, to work on the mixin selection algorithm with jberman. Then I will write a comparative review of CCS and Flipstarter :)
-
marasli
how to change block reward not fees only block reward
-
UkoeHB
marasli: can't be changed
-
marasli
why
-
UkoeHB
Them's the breaks
-
marasli
for fork not monero
-
UkoeHB
Gotta go look at the code I guess ^.^
-
marasli
i'm not sure, i checked
-
marasli
"DYNAMIC_FEE_PER_KB_BASE_BLOCK_REWARD must be divisible by 1000000" why?
-
selsta
are there any people here that use `make release-static` regularly instead of `make depends`?
-
selsta
monero-project/monero #7773 might make `make release-static` more complicated because static unbound has to be compiled manually
-
selsta
but I don't know how much we should care about it
-
moneromooo
I do. Though I usually monkey with the cmake line for it.
-
moneromooo
I wouldn't be overly annoyed by having to build unbound separately though.