-
luigi1111w
moneromooo that seems to have done it (both)
-
ErCiccione[m]
moneromooo: gitlab security release
-
moneromooo
Updated, thanks.
-
spoke0
i am looking for a js monero address validation, something better then a regex and for all current formats [ account / integrated / sub - addresses ]
-
moneromooo
NyMonero probably has that.
-
spoke0
MyMonero?
-
moneromooo
Software which does monero things in javascript. Which seems relevant to your question.
-
asymptotically
spoke0: you can look at the source of
xmr.llcoins.net/addresstests.html too
-
kovri-slack2
<woodser> two issues to report with emscripten
-
kovri-slack2
<woodser> (1) adding the wallet2.cpp source file in CMakeLists gives a compile error ‘openssl/evp.h’ file not found:
paste.debian.net/1119462. I’m not building OpenSSL but it shouldn’t be necessary when a custom implementation of the abstract http client is used
-
kovri-slack2
<woodser> (2) HAVE_MLOCK and CRITICAL_REGION_LOCAL in contrib/epee/src/mlocker.cpp cause the built binary to hang. the issue is resolved by these changes but maybe there is a better way:
woodser/monero dc5388e
-
moneromooo
It's fair to define out the mlock code there, it's likely all going to splat everywhere in memory anyway.
-
moneromooo
I'm also fine with the http client parameter.
-
moneromooo
Is evp.h actually needed ?
-
kovri-slack2
<woodser> not for webassembly
-
kovri-slack2
<woodser> how can I get around the #include <openssl/evp.h> import not being found when the http client parameter is used?
-
moneromooo
Comment it out, see what breaks, if anything.
-
kovri-slack2
<woodser> that leads to this dependency which is again not needed if using a custom http client:
paste.debian.net/1119464
-
moneromooo
OK. I think I'd be OK with a -DENABLE_SSL=OFF switch in cmake, if it defaults to ON.
-
moneromooo
Anyone thinks it's a dumb idea ?
-
moneromooo
Can openssl not be built with enscripten, or did you choose not to do it ?
-
kovri-slack2
<woodser> I had difficulties with it. endogenic claims success with trial so it’s possible
-
kovri-slack2
<woodser> I did not not see that it was necessary if using a custom http client. Although ideally monero’s http client would be webassembly compatible but I’m not sure support is there yet
-
moneromooo
Then it's better to not add this -DENABLE_SSL=OFF. emscripten build files can be added to contrib/emscripten.
-
moneromooo
endogenic: are you willing to contribute this (enscripten build/config for openssl to work with monero) ?
-
kovri-slack2
<woodser> by “It’s fair to define out the mlock code there”, what exactly are you recommending? the workaround comments a lot out
-
moneromooo
I'll make a patch and post it so you can confirm it works for you.
-
kovri-slack2
<woodser> ok
-
endogenic
yeah i mean our clientside work is open source and i've been hoping it'll converge with core -- have at it.. pleased it's a help
-
endogenic
pls take a look at our monero-core-custom repo
-
endogenic
we make core embeddable
-
endogenic
ndorf fyi
-
endogenic
it's 100% not the cleanest
-
moneromooo
Great. If there are contrib build scripts, it's less likely it'll slowly break again.
-
moneromooo
Or at least I'll get notified when it does :)
-
endogenic
most def
-
endogenic
spoke0: check github.com/mymonero/mymonero-core-js
-
endogenic
it's up to date
-
endogenic
current tradeoff (without work to allow configuring these things) is you have to embed the whole module rather than just addr validation
-
endogenic
for a time there was a pure js impl of addr validation in there - it's in history - supports subaddrs too
-
endogenic
but if you use that, though it's probably ok bc it's mostly a trivial function, it will indeed diverge from core
-
selsta
does any issue at the moment require a CLI point release?
-
selsta
if not we will tag GUI v0.15.0.2
-
moneromooo
Yes. We might not have a patch yet though.
-
moneromooo
That db corruption thing that a few people got.
-
moneromooo
Like, er, you.
-
moneromooo
It can be later though if you want to release.
-
moneromooo
I have a feeling it may take a while to confirm a fix...
-
selsta
yes I don’t think we will fix that soon
-
selsta
I’ve been running hyc’s patch the last days but no crash yet
-
selsta
crash / corruption
-
SpellChecker
binaryFate: look at PM pls
-
KnifeOfPi_
we’re having issues with our public node repeatedly dying
-
KnifeOfPi_
2019-12-02 07:05:22.562 [RPC1] ERROR net contrib/epee/include/net/abstract_tcp_server2.inl:759 Setting timer on a shut down object
-
moneromooo
Dying with an error, or a crash ?
-
moneromooo
s/error/purposeful exit/
-
KnifeOfPi_
not a crash, it just stops responding
-
moneromooo
Are you implying it's still running ?
-
KnifeOfPi_
It does still run, but none of our RPC requests get responses.
-
KnifeOfPi_
-
moneromooo
gdb into it, and "thread apply all bt"
-
moneromooo
gdb /path/to/binary `pidof monerod`
-
KnifeOfPi_
OK - waiting for Mykola to do it, will get back to you
-
KnifeOfPi_
what to do after those commands moneromooo?
-
moneromooo
Paste the output to fpaste.org or similar.
-
moneromooo
There'll be several pages, so make sure you go through to the end of the pager.
-
KnifeOfPi_
OK
-
KnifeOfPi_
-
KnifeOfPi_
seems we are missing some libraries but can’t figure out what
-
moneromooo
There's not even the first screenful of thread apply all bt here.
-
moneromooo
You can ignore the "no such file or directory". Kernel source missing, I don't need it.
-
KnifeOfPi_
OK
-
KnifeOfPi_
-
moneromooo
No apparent reason for a hang. run "set_log 1,net*:TRACE,*perf*:INFO" in monerod, then issue a get_info call. Then paste the resulting monerod logs.
-
moneromooo
Be quick to do this in case the node is talking to the p2p network, this is going to be very noisy.
-
KnifeOfPi_
-
moneromooo
The perf* logs are only written to file. Can you paste that version please ?