-
riceandbeans
Anyone happen to know if with localmonero you can buy xmr with another crypto like btc or ltc?
-
rottensox
riceandbeans: no idea. but you can do that on bisq or hodlhodl.
-
rottensox
that i know.
-
Mochi101
-
Mochi101
The third dropdown let's you choose a payment method to search for.
-
riceandbeans
Nice, thanks
-
riceandbeans
I saw stuff like cash in the mail and money wires and I'm like, that sounds kinda risky
-
mapuche
hello
-
mapuche
if hardfork.cpp is changed from 1 to 12 new blockchain will have v12 or we need to change other things
-
mapuche
is anyone here
-
marmulak
yes
-
mapuche
is possible for new blockchain to start from v12
-
marmulak
a new block chain can start from anything
-
mapuche
well i did that (changed hardfork.cpp from 1 to 12) but after i had "genesis has old version" message and new blockchain wont start
-
mapuche
i didnt change smth else
-
marmulak
sounds like tricky business
-
mapuche
is the right move to change hardfork.cpp from 1 to 12 if u want new blockchain to start with v12
-
mapuche
`am i on monero channel?
-
sech1
mapuche yes and yes, you can start with 12
-
mapuche
but why is this message "has old version"
-
sech1
because you also need to fix values in src/hardforks/hardforks.cpp
-
mapuche
i change there { 12, 0, 0, 10000000000000000000 },
-
mapuche
must remove mainnet_hard_fork_version_1_till
-
mapuche
?
-
mapuche
or mainnet_hard_fork_version_1_till = 0;
-
sech1
did you also change "original_version = 1" in hardfork.h? And "{ 12, 0, 0, 10000000000000000000 }" should be "{ 12, 0, 0, 1579857704 }" - last number is the unix timestamp
-
mapuche
im doing it right now
-
mapuche
this 1579857704 is timestamp of first block?
-
sech1
yes
-
mapuche
i did well mainnet_hard_fork_version_1_till = 0;
-
mapuche
after all this changes still "has old version" 0
-
xmrmatterbridge
<rbrunner7> In such cases I always search the message in the source, go into the debugger, set a breakpoint there, run, and when it breaks, see variables values to understand what it complains about
-
mapuche
i did that but says no stack
-
mapuche
maybe i dont know where to set breakpoint
-
xmrmatterbridge
<rbrunner7> Well, did you find the statement in the source code that outputs the message in question? Put the breakpoint right there.
-
xmrmatterbridge
<rbrunner7> Or, for quick-and-dirty debugging, add log output that dumps interesting variable values to console, so you can see more, if debugging does not seem to work (which it does, sometimes)
-
mapuche
debugging is the best because even with --log-level 4 i didnt c something more
-
xmrmatterbridge
<rbrunner7> No, I mean you yourself modify the source to add new log statements, so you are able to see some values that may help you to understand the problem
-
xmrmatterbridge
<rbrunner7> This "trick" already worked 50 years ago when there were no debugger in existence yet :)
-
mapuche
im not so good to add code
-
xmrmatterbridge
<rbrunner7> Hmm, well, maybe learn that, depending on what you want to achieve. Maybe won't possible otherwise
-
xmrmatterbridge
<rbrunner7> But anyway, you do work with a *debug* build, right?
-
mapuche
no i dont
-
mapuche
i must do a debug build?
-
mapuche
ok i do it right now
-
xmrmatterbridge
<rbrunner7> Yes, with a normal build you have hardly any chance to correctly debug. That's what debug builds are for, after all.
-
mapuche
sech1 are u here
-
sech1
If you can't debug, I think it'll be easier to just cycle through versions 1-12 in the first 12 blocks and have genesis block at version 1. Just modify block heights and timestamps in hardforks.cpp
-
mapuche
im trying to debug is better solution
-
mapuche
cleaner
-
mapuche
how to have genesis at block 1
-
koe
rbrunner are you available? have some multisig questions
-
rbrunner
Yes, here
-
koe
ok
-
mapuche
hello
-
koe
greetings fellow earthling
-
Pr0t3us
just a heads up: the download link for linux on monero-gui's github release page is a 404
github.com/monero-project/monero-gui/releases/tag/v0.15.0.3
-
asymptotically
i don't think it's built yet
-
Pr0t3us
the release is 25 days old? the link from getmonero.org appears to work as well
-
asymptotically
Pr0t3us: i think that the links on getmonero.org are for 0.15.0.2
-
Pr0t3us
ahh this is correct
-
Pr0t3us
just double checked
-
koe
mapuche I imagine genesis block 1 would require quite a lot of code edits
-
koe
is letting it remain block 0 not reasonable?
-
mapuche
well i think is no need to do it
-
mapuche
too complicated
-
mapuche
i had handle_block_to_main_chain return 1
-
mapuche
after debugging
-
mapuche
i dont know what to do next
-
mapuche
at least i debug!
-
koe
to start a new chain?
-
koe
maybe look for instructions about setting up testnet chains
-
mapuche
the problem is how to run from the begining with v12 and v1
-
moneromooo
It should be fairly straightforward. You get a verification error. Look at the condition it's failing, arrange for that condition to be true. Repeat.
-
mapuche
handle_block_to_main_chain return false
-
mapuche
check is on 4212 of blcockhain.cpp
-
mapuche
how to arrange that handle_block_to_main_chain return true
-
moneromooo
That's your job, isn't it ?
-
moneromooo
You do the work, you get the premine.
-
mapuche
is not my job because i dont know deep things
-
mapuche
im testing,trying to learn
-
koe
so cynical moo!
-
mapuche
im sure that most of u start like that..
-
koe
sounds like you have to trace back through all the functions; code wasn't built to restart from scratch; you may also look for monero forks which started from recent versions
-
mapuche
most of monero forks are copy paste things without knowing what is happening inside
-
koe
Investigating monero does take a bit of determination, anyone here can attest
-
moneromooo
Because many people ask the same thing about block 0, and most of it is about a premine.
-
moneromooo
So yes, cynical, but sometimes even I am not cynical enough.
-
moneromooo
I also assumed you were the same person asking about this for a few weeks. I might have been wrong here ?
-
mapuche
wrong
-
mapuche
lof of people ask for premine
-
moneromooo
Ah, sorry then.
-
mapuche
im not asking for premine just how new blockchain can start with v12
-
moneromooo
Well, off the top of my head, hardforks.cpp should be pretty much the only thing. And obviously remove the checkpoints.
-
mapuche
changed harforks.cpp and remove checkpoints
-
mapuche
but allways "has old version" 0
-
moneromooo
Did you give it a new genesis block with v12 ?
-
mapuche
where? on genesis first byte?
-
moneromooo
That sounds right I think.
-
mapuche
i think i tried even this
-
mapuche
wait to try again
-
mapuche
version is variant or not?
-
moneromooo
No. One byte.
-
mapuche
ah i did it as variant thats why didnt worked!!~
-
moneromooo
Oh, it's actually a varint, I just checked :P
-
moneromooo
But it's a uint8_t anyway.
-
moneromooo
12 is the same as varint and int, so no matter.
-
mapuche
so i put "c"
-
mapuche
capital c ?
-
mapuche
no need to change anything else
-
mapuche
for example original_version on hardfork.h
-
mapuche
back
-
mapuche30
back again
-
mapuche30
someone took my nickname
-
mapuche
moneromooo i tried with C,c but still version 0
-
lyza
hey all. was posting in #monero-community about issues I've been having lately with the GUI not connecting to the daemon. I'm happy to describe the issue in more detail or describe troubleshooting steps I've tried, but to start, here is a log:
pastebin.com/8xWn3KiR
-
mapuche
"C3c01....
-
mapuche
"c3c01....
-
selsta
lyza: post the other logs
-
selsta
also use paste.debian.net :)
-
lyza
ah sorry I meant to. this is a recent monerod log:
pastebin.com/FLRUMsR7
-
lyza
oh Hell yeah I was wondering if there was a better pastebin, thanks
-
moneromooo
Seems to be working fine.
-
lyza
that's just the thing. the daemon seems to be working fine, mostly, but the GUI won't connect
-
lyza
-
lyza
also now the daemon seems locked up, which happens occasionally too. log hasn't updated for 4 monutes and it's now several blocks ehind
-
moneromooo
Check what it's doing when locked up. As in, get a stack trace or a few.
-
mapuche
moneromooo what im doing wrong for versiob
-
mapuche
moneromooo what im doing wrong for version
-
moneromooo
c3 is...
-
moneromooo
195.
-
moneromooo
It'll also be a > 1 byte varint.
-
lyza
not really sure how I'd go about doing that tbh
-
moneromooo
So I have no idea why you did this.
-
moneromooo
Do you have gdb ?
-
moneromooo
I always forget whether gdb works on windows.
-
lyza
well there's the Linux subsytem for Windows or whatever but....
-
mapuche
3c is unlock time
-
moneromooo
Ah, the new shiny embrace and extent isn't it. And some people want to give them a one hundred and seventy third chance...
-
moneromooo
It's byte based, not nybble. Put in a whole byte (replacing the 0 or 1 that's there).
-
lyza
heh, yeah I hear you. what can I say, it's the Windows games that keep me here :-/
-
mapuche
ah
-
mapuche
ok
-
moneromooo
Also, just replacing the version probably won't be enough, as the block probably doesn't validate using v12 rules.
-
moneromooo
But I guess you'll find out.
-
mapuche
u told that hardforks.cpp changes are enough
-
moneromooo
Off the top of my head, for rules change, yes.
-
moneromooo
But here you also want to create a new block for it :)
-
mapuche
mainnet_hard_fork_version_1_till = 0 ; ?
-
mapuche
"0c3c01..." still version 0
-
mapuche
moneromooo what else is left
-
moneromooo
I don't know. I don't owe you my time. I gave you a few pointers, but I'm not debugging it for you.
-
» asymptotically is amazed by moneromooo's patience
-
mapuche
ok i do i debug compile
-
mapuche
thnx moneromooo
-
mapuche
very nice your behaviour
-
mapuche
u that give so much all this year to monero still help people
-
mapuche
but other people that didnt do 1% of what u did refuse to help
-
moneromooo
They also don't owe you their time. And quite frankly this is good litmus test for whether you have a minimum technical capability to start and debug a fork.
-
lza_menace[m]
mapuche: will you name for first child after them?
-
moneromooo
I mean, this is not particularly hard, though it is a multi step debugging process. There's no crypto involved, which would have required knowledge that's not basic programming. It only requires basic C++ ability and being able to debug code and find things in the source tree. You can do it if you invest the time for it, which, if you are making a fork, you should invest.
-
moneromooo
Doing things yourself from the pointers others give you is how you will learn.
-
mapuche
"owe your time" is a luther phrase is not for u
-
asymptotically
no time for learning! only time for getting rich!
-
moneromooo
I have no idea what you said here sorry :)
-
mapuche
-
moneromooo
Oh, that's somehting he said ? OK. He was right then.
-
mapuche
if luther was right open source,monero etc wont exist
-
mapuche
and asymptotically wouldnt be here screaming
-
asymptotically
lol
-
ddrf
Hi guys, just a short question. If you want to mine on monero daemon it is not necessary that you open up any ports, because you just have to publish the block to other nodes? Am i getting that right?
-
moneromooo
If you open the port, you'll send your blocks to more peers. Otherwise, you'll send it to just the outgoing peers you have.
-
moneromooo
So more peers -> faster diffusion -> less orphan chance. But diminishing returns after a certain amount of connections.
-
ddrf
Would you open up the port in your local network?
-
ddrf
Im not sure whether its good for security in the network...
-
ddrf
Moo Can i have your address for donation pls? Tx for your support!
-
moneromooo
It's on my monero-wallet-generator github page, thanks. Or you could donate to the core team wallet too (README.md).
-
moneromooo
Opening the port needs doing on your local firewall, and any router/switch that's in the way.
-
moneromooo
(along with forwarding to the right IP)
-
moneromooo
The attack surface is about hte same (the P2P comms), the only difference is that anyone can connect, not just the ones you randomly select.
-
moneromooo
But someone wanting you to connect to them can just wait anyway.
-
ddrf
Ok. Thanks!
-
ddrf
Sry moo but i cant find it on your github page
-
ddrf
are you sure about it ?
-
nioc
me neither
-
moneromooo
-
moneromooo
I checked, I was not banned :D
-
nioc
donation address?
-
lza_menace[m]
moneromooo is so oldschool that his forked monero repo is `bitmonero`
-
ddrf
yea
-
ddrf
it cant be found on your monero-wallet-gen page
-
moneromooo
Not so oldschool that I remember BMR though. I'm from the MRO era.
-
moneromooo
Hmm. Let me check...
-
ddrf
:DDD
-
moneromooo
PMing
-
xmrmatterbridge
<tiedtoastar> is there anyway to delete my mattermost account?