-
selsta
monerobull[m]: i meant --tx-proxy instead of --proxy, i left a comment on reddit
-
jtgrassie
selsta: wrt "please update to release-v0.18..." I've been running that branch for the last couple of weeks to verify latest/next mnero-pool release
-
jtgrassie
so the mining related changes well tested (mainnet and testnet).
-
Guest4
Hello everyone! Can anyone share any examples of what types of apps can be written with Monero? Can (and in what ways can) Monero be programmed? Articles, github repos, etc. appreciated. I did some searching on bitcointalk but came up short.
-
hyc
Monero is money. it is not meant to be programmed, in the way ETH or other smart contract platforms are.
-
Guest4
OK, then how about apps that integrate with Monero? What type of stuff would you have to use to be able to write a web app that moves Monero around?
-
someoneelse49549
Guest4: Because Monero is primarly used as a currency. The only thing you can do with a web app is just accepting transactions or generate transactions. So I would say payment gateway or wallet.
-
sech1
Atomic swaps can probably count as an "app"
-
someoneelse49549
Just to be sure I understood. The monero node first add a block without transactions through add_block(). And transactions are added in a second time with add_transactions(). Am I right?
-
someoneelse49549
* Just to be sure I understood. The monero node first add an empty block through add_block(). And transactions are added in a second time with add_transactions(). Am I right?
-
moneromooo
Depends what you mean really.
-
moneromooo
In any case, if that's what you're really asking, any change to the db is only committed at the end of verification, so if anything fails, any writes are lost.
-
moneromooo
Transactions are verified before add_block (assuming we're talking about the same one).
-
moneromooo
IIRC transactions are added by add_block... I could be wrong there.
-
moneromooo
"added" in this context meaning written to the db through a txn.
-
someoneelse49549
Ok. Because in the docs its said "The subclass implementing this will add the specified block and block metadata to its backing store. This does not include its transactions, those are added in a separate step."
-
someoneelse49549
the last part confused me. But if it's added after verification then it's ok
-
moneromooo
Looking at the code now, I was wrong about "IIRC transactions are added by add_block" indeed. Transactions are added just right before that.
-
moneromooo
With add_block_transaction.
-
someoneelse49549
moneromooo: wait where?
-
moneromooo
blockchain.cpp
-
-
someoneelse49549
you meant add_transaction right?
-
someoneelse49549
anyway thx
-
moneromooo
Oh hrm. Looks like I changed it indeed, add_block_transaction isn't in monero. Sorry.
-
moneromooo
Or monero changed it recently maybe.
-
caveman
i have an algorithm that may augment monero, but is not a cryptocurrency. basically it's an algorithm to facilitate physical package deliveries in an anonymous-ish manner. it may benefit from smart contracts. does this channel welcome such discussions?
-
moneromooo
#monero does.
-
moneromooo
I'd be glad to read about it there fwiw.
-
caveman
you're not there though.
-
caveman
anyway here is the link:
codeberg.org/ideas/delivery (work in progress)
-
moneromooo
Didn't notice. I am, now :D Thanks.