-
kayabanerve[m]
<jeffro256[m]> "I believe you can pick random..." <- It's sum(out) - sum(in 0 .. n-1) for in n.
-
kayabanerve[m]
The correct blinding factor is whatever causes in x == out x
-
kayabanerve[m]
You are provided an x in your output. You create xs in the outputs you make. You randomly select in xs for your TX, yet the final x must...
-
kayabanerve[m]
CLSAG proofs take the output you're spending's commitment and verify they have an equivalent H component for the input you're defining ("pseudo-out").
-
kayabanerve[m]
Just trying to fill in some gaps there ;)
-
tingels4996[m]
Anyone can direct me to the proper room for a monero gui stuck transaction 17 hours now
-
moneromooo
#monero
-
selsta
tingels4996[m]: there is a monero gui channel on matrix, try to join it
-
tingels4996[m]
Ok i will try that cant seem to get any help from anyone in the monero community
-
selsta
like I said I'll help you but join the other channel as this is off topic here
-
tingels4996[m]
so how to join matrix as it goes to element
-
tingels4996[m]
which one fractal ,wechat??
-
selsta
either search for "monero gui" in element, or use
web.libera.chat and connect to #monero-gui
-
w[m]
#monero-gui:monero.social
-
tingels4996[m]
ok will try that
-
selsta
.merge+ 8384
-
xmr-pr
Added
-
selsta
sech1: regarding binaries, i'm available to do them whenever we need
-
selsta
i just feel like everything is half ready, still don't know about ledger
-
selsta
i mean we can risk it and branch + tag now and add all remaining fixes in the .1 point release
-
sech1
what's half ready except multisig and ledger?
-
kayabaNerve
.merges
-
xmr-pr
7774 8296 8356 8357 8358 8384
-
TrasherDK[m]
I'm getting reorgs on almost every single block on mainnet.
-
TrasherDK[m]
new top block candidate: 2646306 -> 2646307
-
TrasherDK[m]
new top block candidate: 2646307 -> 2646308
-
TrasherDK[m]
Or is that the host that's to slow ??
-
sech1
my node is fine, nothing like this in logs
-
ofrnxmr[m]
Im all good here
-
ofrnxmr[m]
You're probably connected to a bad peer
-
moneromooo
FWIW that message does not say there's a reorg. I assume you have others that do ?
-
selsta
sech1: the glibc issue
-
selsta
i spent the last days on it but wasn't able to figure it out
-
TrasherDK[m]
Sync data returned a new top block candidate: 2646307 -> 2646308 [Your node is 1 blocks (2.0 minutes) behind]
-
ofrnxmr[m]
New top block candidate is saying you are currently behind and syncing, and a node sent you a newer block than what you were working on
-
sech1
glibc issue, is it important? Ubuntu 16.04 is EOL
-
selsta
sech1: not super important, but at least something we should fix for the .1 update
-
sech1
as time passes, we'll get more and more 3rd party dependencies that do this
-
TrasherDK[m]
I got a shitload of those messages. Up to 6 blocks behind.
-
selsta
someone experienced with autotools can probably solve it in a couple minutes
-
selsta
autoconf or whatever it's called
-
sech1
autoconf has always been black magic to me
-
selsta
the compatibility code exists already, i just have to patch the repo so that autoconf uses the compatibility code instead of the system lib on linux at least
-
ofrnxmr[m]
Come over to #monero. Ask there if needed. Tldr all seems to be fine and I assume youre using a pi, hdd or bad internet resulting in slow sync
-
moneromooo
If up to 6 blocks behind, and it catxhes up, either your node loses connections a lot (and then finds a node with a higher chain), or you find confused nodes.
-
ofrnxmr[m]
Or #monero-support:monero.social
-
moneromooo
Maybe on purpose, you never know. Harmless stuff on porpose happened before.
-
moneromooo
selsta: I *think* you have to modify config.h.cmake.in, add a line with your particular define you want to enable.
-
moneromooo
It's not actually using autofoo IIRC, just using cmake to generate the config it'd have.
-
selsta
they don't use cmake at all
-
selsta
we patched our old version of unbound to use cmake, but we don't use that anymore
-
moneromooo
Oh. Maybe I have an old version then.
-
selsta
-
moneromooo
OK, 2019. A patch by me. Must be old indeed :D
-
moneromooo
So the monero build system actually runs autofoo in external/unbound now ?
-
selsta
no, we completely removed the submodule
-
moneromooo
OK, then why are you trying to do :S
-
moneromooo
You know what, I clearly have no idea what I'm talking about here, so nevermind me.
-
selsta
everything works fine, it's just that unbound bumps our min glibc from 2.17 to 2.26
-
selsta
which means ubuntu 16.04 users can't run the release binaries anymore
-
moneromooo
They don't seem to be using autofoo, I just looked.
-
selsta
i wanted to add a patch here:
github.com/monero-project/monero/bl…contrib/depends/packages/unbound.mk so that compatibility code for the function `explicit_bzero` and `reallocarray` is used.
-
MeowingCat
i have an issueeeeeeeeeeee
-
ooo123ooo1234567
<selsta> "i mean we can risk it and branch..." <- it would be better to risk and start reading code
-
MeowingCat
build/libgdmeowletxmr.dll: src/GDLibrary.cpp src/GDMeowletXMR.cpp build/meowletxmr.a godot-cpp/bin/libgodot-cpp.windows.debug.64.a
-
MeowingCat
$(CC) -shared -o $@ $(filter-out headers, $^) -static -static-libgcc -static-libstdc++ $(GODOT_INCLUDES) $(CFLAGS) $(CLIBFLAGS) -lsetupapi -lhid $(LDFLAGS)
-
MeowingCat
this is my recipeeee
-
MeowingCat
when i link wallet2 things to my DLL
-
MeowingCat
it can't be load somehowwww
-
ooo123ooo1234567
<MeowingCat> "it can't be load somehowwww" <- do you have public with these experiments ?
-
ooo123ooo1234567
* have public repo with these
-
moneromooo
This is a particuarly useless request. There are no details, and we have no idea it's even related to monero.
-
moneromooo
Any multiline details to go to a paste site (eg, paste.debian.net).
-
ooo123ooo1234567
-
ooo123ooo1234567
-
ooo123ooo1234567
-
MeowingCat_
i think some of libraries that wallet2 is using maybe still trying to load dynamically
-
ooo123ooo1234567
MeowingCat_: provide more info or post your build script somewhere, so that it would be possible to debug it
-
jeffro256[m]
moneromooo, would you be willing to take a glance at #8385 and see if the concept checks out ?
-
MeowingCat
ooo123ooo1234567, okiiiiii i will
-
ooo123ooo1234567
-
MeowingCat
is there a PE equivalent of readelf?
-
ooo123ooo1234567
msys has binutils, any problems with them ?
-
MeowingCat
readelf is not workinf for PE
-
hyc
objdump maybe
-
hyc
depends on what you're trying to read
-
MeowingCat
ohh trying thank youu
-
MeowingCat
goooood objdump works
-
MeowingCat
something is wrong with wallet2
-
MeowingCat
really interesting
-
chesterfield[m]
MeowingCat: what did you find?
-
MeowingCat
ummmmmmm
-
MeowingCat
g++ -shared -o build/libgdmeowletxmr.dll src/GDLibrary.cpp src/GDMeowletXMR.cpp build/meowletxmr.a godot-cpp/bin/libgodot-cpp.windows.debug.64.a -Igodot-cpp -Igodot-cpp/godot-headers -Igodot-cpp/include -Igodot-cpp/include\gen -Igodot-cpp/include\core -Igodot-cpp/godot-headers -Igodot-cpp/include -Igodot-cpp/include\gen -Igodot-cpp/include\core -g -std=c++17 -fstack-protector -static -static-libgcc -static-libstdc++ -lsodium -lboost_serializati
-
MeowingCat
on-mt -lboost_thread-mt -lboost_system-mt -lboost_date_time-mt -lboost_filesystem-mt -lboost_chrono-mt -lboost_program_options-mt -lboost_regex-mt -lboost_locale-mt -lssl -lcrypto -lcrypt32 -lz -lwsock32 -lws2_32 -lprotobuf -lusb-1.0 -lhidapi -liphlpapi -liconv -lsetupapi -lhid
-
MeowingCat
thisssssssssssss
-
MeowingCat
meowletxmr.a has everything my library, wallet2 and wallet2 deps
-
MeowingCat
im making it with ar
-
ooo123ooo1234567
is it complete list of deps to compile successfully ?
-
MeowingCat
im using my static library for test executable
-
MeowingCat
everything is ok
-
MeowingCat
when i don't use something from that in Godot DLL it works
-
MeowingCat
buttt when i use wallet2 things in DLL (it is linking my static library that contains wallet2 tooo)
-
MeowingCat
DLL can't load
-
MeowingCat
:(((((
-
ooo123ooo1234567
not enough information to debug it
-
MeowingCat
i feeeeel like i should build wallet2 things with -fPIC
-
MeowingCat
or maybe not
-
MeowingCat
idkkk
-
MeowingCat
damn things :(((((((((((((((((
-
MeowingCat
what can be wrong with using wallet2 in a dynamic library??
-
ooo123ooo1234567
jeffro256: wow
-
jeffro256[m]
xoxoxo
-
MeowingCat
is there anyone using wallet2 for dynamic library??
-
moneromooo
Yes.
-
hyc
all windows code is PIC already
-
ooo123ooo1234567
MeowingCat: just run monero binaries compilation with high verbosity and check what is going on there; why is it so difficult ?
-
ooo123ooo1234567
* binaries compilation for target platform with high
-
MeowingCat
my DLL can't be load if i link wallet2
-
moneromooo
Whlie I have nfi what your problem is since you persist in giving no details whatsoever, if you link a dynamic lib with a static archive, I suspect externals will be resolved in the dynamic lib, but any used by whatever runtime loads the dynamic lib won't find anything from the static archive.
-
moneromooo
Maybe that's not what you're doing though. Check that before, er.. doing something.
-
MeowingCat
im building my library with linking all wallet2 things
-
MeowingCat
and using that for test executable
-
MeowingCat
buttt when i build DLL and link wallet2 my DLL can't be loaded
-
MeowingCat
idk what can be wrong because it should workk
-
MeowingCat
ummmm yessssssss
-
MeowingCat
we just tried my test executable on a different machine
-
MeowingCat
it errors can't load libbooooooooost dynamic library
-
bridgerton[m]
<kevin1> @here @everyone $1800 into $40k in the last 30 days.. If you really want to make huge profits on trading then, Join this winning chat:~~~~
discord.gg/cjaE5y5GzA
-
MeowingCat
buttt im building my DLL with `-static`
-
MeowingCat
when i decompile it i seeeee everything
-
MeowingCat
interestinggg
-
MeowingCat
i tried to use something with less dependencies from wallet2
-
MeowingCat
i just used Monero::Utils::isAddressLocal()
-
MeowingCat
and my DLL can be load when i use thiss
-
MeowingCat
i found something
-
MeowingCat
idk why buttt while building the DLL and linking wallet2 things to my DLL
-
MeowingCat
i had to add these libraries: -lsetupapi -lhid
-
MeowingCat
when i only use Monero::Utils::isAddressLocal() and link necessary things for that
-
MeowingCat
my DLL can be loaded
-
MeowingCat
when i use wallet API there is one more DLL dependency
-
MeowingCat
SETUPAPI.dll
-
MeowingCat
when i don't add this libraries im getting "undefined reference" errors
-
MeowingCat
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../lib\libhidapi.a(hid.o):(.text+0xce8): undefined reference to `__imp_SetupDiGetClassDevsA'
-
MeowingCat
while building my DLL
-
MeowingCat
but i can build my test executable
-
MeowingCat
-lsodium -lboost_serialization-mt -lboost_thread-mt -lboost_system-mt -lboost_date_time-mt -lboost_filesystem-mt -lboost_chrono-mt -lboost_program_options-mt -lboost_regex-mt -lboost_locale-mt -lssl -lcrypto -lcrypt32 -lz -lwsock32 -lws2_32 -lprotobuf -lusb-1.0 -lhidapi -liphlpapi -liconv
-
selsta
MeowingCat: google says -lsetupapi
-
MeowingCat
what is SETUPAPI thing and why do i neeeeed to link that when i build a DLL but i don't neeeed when i build an executable?
-
MeowingCat
selsta, yessss i already added thatt
-
MeowingCat
butt while i build an executable i don't need to add that library
-
MeowingCat
i need to add while building a shared library
-
MeowingCat
and there is no a SETUPAPI.dll in my machine
-
MeowingCat
when i build with -lsetupapi my DLL can't be loaded
-
MeowingCat
and there is no even a SETUPAPI.dll in my machine :((((((((((((
-
selsta
mingw comes with libsetupapi.a
-
MeowingCat
i think it would link that thing as statically buttt maybe it doesn't even exist?
-
MeowingCat
because im using -static
-
MeowingCat
but i see SETUPAPI.dll in "objdump -p ..."
-
MeowingCat
what is this setupapi thing???? why do i neeed that when only building a DLL
-
selsta
i don't think you will be able to find the answers here, this isn't anything monero related and most people here are not windows devs
-
rbrunner
I have one, in my Windows 10, where I would expect it: SETUPAPI.dll in /windows/system32
-
rbrunner
and variants for 32 on 64, in C:\Windows\SysWOW64
-
rbrunner
If only one of the many packages you link has only one call into that, in its Windows implementation, you have a problem
-
rbrunner
And maybe they don't link statically, they may use GetProcAddress
-
MeowingCat
rbrunner, $(CC) -shared -o $@ $(filter-out headers, $^) $(GODOT_INCLUDES) $(CFLAGS) -static -static-libgcc -static-libstdc++ $(CLIBFLAGS)
-
MeowingCat
my GCC command
-
rbrunner
Not sure how that should be relevant
-
MeowingCat
oh i found setupapi.dll in c:/windows/system32
-
rbrunner
Maybe Boost calls into that Windows API? Or Protobuf? Or whatever
-
selsta
hidapi?
-
rbrunner
Told you so, didn't I?
-
MeowingCat
i had started a "find ..." but explorer.exe couldn't find that before lol
-
MeowingCat
when i use something from wallet2 the difference in "objdump -p" is only setupapi.dll
-
MeowingCat
and the DLL can't be loaded
-
rbrunner
Windows software is usually one crazy tangle, everything calls almost everything else :)
-
MeowingCat
i don't like Booooooooooooooost
-
rbrunner
Me neither, but doesn't help. We can't ignore it to death.
-
rbrunner
But tell you what, I like Qt even less :)
-
rbrunner
Try linking some dev version of the Monero GUI wallet, as work-in-progress, on Windows.
-
MeowingCat
:((((((((((((((
-
MeowingCat
can't i link setupapi thing statically????
-
MeowingCat
or is the problem about that???????
-
MeowingCat
idkkk
-
selsta
last reply from ledger was on 2022-04-29, where they said they will get back to us
-
rbrunner
Oh, yeah, we also have that little Ledger problem
-
selsta
i predicted it months ago :D
-
rbrunner
Right
-
endogenic
ruh roh
-
endogenic
perhaps ledger specific code doesnt belong in monero mainline?
-
endogenic
i'm missing context but it seemed relevant
-
selsta
both ledger and trezor have integration into monero-wallet-cli and monero-gui
-
selsta
it's not ideal yes, but people wanted hw wallets and ledger and trezor didn't want to make their own wallet
-
endogenic
i guess that's a good point
-
selsta
trezor has a dedicated dev for monero (i think he is a freelancer and they pay him when monero work has to be done), ledger doesn't
-
ooo123ooo1234567
<selsta> "i predicted it months ago :D" <- if no one will work on unbound then it's predictable result too
-
ooo123ooo1234567
* result too, but it doesn't mean that it's impossible to write update and merge into their repo
-
ooo123ooo1234567
* result too, but it doesn't mean that it's impossible to write ledger monero-app update and merge into their repo
-
selsta
yes, i said it already we will have to do it ourself
-
jozsef[m]
Question: I know monero stores its blockchain on a node locally in lmdb. How does it implement decentralization? Is there (third-party) library used for that or there some additional (native) code interacting with lmbd that does that?
-
jozsef[m]
* Question: I know monero stores its blockchain on a node locally in lmdb. How does it implement decentralization? Is there a (third-party) library used for that or there are some additional (native) code interacting with lmdb that does that?
-
selsta
no, monero does not use a third party library for "decentralization"
-
selsta
i mean it's based on cryptonote, if you consider that a library
-
MajesticBank
he is probably asking about p2p technology
-
MajesticBank
blockchain sync in general, bulletproofs etc
-
jeffro256[m]
jozsef Can you expand upon what you mean by "implement decentralization"?
-
layter[m]
jeffro256[m]: We want to know if its possible to implement a decentralized database or would we need a blockchain to do that?
-
ooo123ooo1234567
layter[m]: there is no standalone lib that adds decentralization on top of lmdb without any other overhead of cryptocurrency
-
chesterfield[m]
layter[m]: layter: You might want to research what OpenBazaar did or look into Particl
-
layter[m]
chesterfield[m]: Alright, thanks. I'll look into those projects
-
chesterfield[m]
I have no idea what you're building, but i'm assuming it's decentralized marketplace related?
-
layter[m]
chesterfield[m]: Correct 😅
-
-
pony_montana[m]
pony_montana[m]: Hi guys, that's a paper about wealth inequality discriminations in monero, bitcoin and gold. I will be happy to know what do you think about! :)
-
hyc
pony_montana[m]: not a #monero-dev topic
-
endogenic
jozsef[m]: that's what nakamoto consensus, mining/pow, and p2p networks are for
-
endogenic
lmdb is used by p2p nodes locally only
-
endogenic
decentralized state is basically emergent
-
hyc
should ask why you even want a decentralized database in the first place. as a general rule, they suck. slow performance, terrible scaling.
-
moneromooo
pony_montana[m]: try #monero-community. And maybe #monero-research-lab.
-
» moneromooo not sure about the latter, but there are people there to who it may appeal.
-
hyc
I'd probably use -lounge instead.
-
pony_montana[m]
thanks! :)
-
hyc
anyway, there is no way to quantify wealth inequality in monero, so it doesn't sound like a very useful topic
-
cryptogrampy[m]
The correct place is #monero-community-dev:monero.social :)
-
ooo123ooo1234567
<chesterfield[m]> "I have no idea what you're..." <-
github.com/neroshop/neroshop, indeed
-
jozsef[m]
Right, good question @hyc. Maybe instead it is better to state the problem to be solved: decentralized marketplace with a database (pics, text, etc.) that replicates in a p2p fashion. How would you suggest approaching an implementation?
-
jozsef[m]
I'm thinking locally anything, lmbd, sql, whatever, then data must be replicated p2p somehow so everyone sees the same eventually. Sounds like a decentralized (p2p-synced) database.
-
ooo123ooo1234567
<jozsef[m]> "Right, good question @hyc. Maybe..." <- that's too complex question, try to study suggested alternatives and their pros/cons firstly
-
MeowingCat
this thing made me crazy
-
pony_montana[m]
<cryptogrampy[m]> "The correct place is #monero-..." <- 😄👌
-
MeowingCat
which IRC clients are you using????
-
hyc
jozsef[m]: also doesn't sound like a #monero-dev question. but I guess given your problem statement, still need to ask whether the p2p participants are trustworthy or not
-
jozsef[m]
hyc: Correct, not trictly a monero-dev question, other than being curious how this is done in monero. Nevertheless, I think the responses were useful in that I think one could simply try implementing a p2p commhnication algorithm on top of a local database without anything fancy. Perhaps sending hashes around to query what each peer has.
-
jozsef[m]
s/commhnication/communication/