Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xmrswap: Work on testnet. #2942

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

JoeGruffins
Copy link
Member

closes #2919

JoeGruffins and others added 12 commits September 24, 2024 11:28
Add a c library that has some primitive cryptographic functions needed
for working with adaptor signatures.
	get transaction development details from monerod
	including tx lock time; which is different from
	'locked'/'unlocked' which refer to when a tx
	has 10 confirmations. Tx locktime can be any
	number of blocks in the future.
	- Rename monero_functions.inc -> monero_functions
	- Tidy extra whitespace at eol for harness.sh &
	  monero_functions.
	New monero-wallet-rpc server with no attached wallet. This is
 	for programmatically creating/generating and using a new wallet.

	The wallet will be generated in "own" dir but can be named what-
	ever you need: "alice", "Bob", etc.
@JoeGruffins
Copy link
Member Author

I can't sync xmr testnet at the moment. Getting lots of different errors. Most common seems to be:

2024-09-24 03:32:24.638 W Failed to commit a transaction to the db: MDB_BAD_TXN: Transaction must abort, has a child, or is invalid
2024-09-24 03:32:24.638 E Exception in cleanup_handle_incoming_blocks: Failed to commit a transaction to the db: MDB_BAD_TXN: Transaction must abort, has a child, or is invalid
2024-09-24 03:33:02.639 W Failed to query m_blocks: MDB_BAD_TXN: Transaction must abort, has a child, or is invalid
2024-09-24 03:33:02.639 E Failed to get tx meta from txpool: Error finding txpool tx meta: MDB_BAD_TXN: Transaction must abort, has a child, or is invalid
2024-09-24 03:33:02.640 E Failed to get tx meta from txpool: Error finding txpool tx meta: MDB_BAD_TXN: Transaction must abort, has a child, or is invalid
2024-09-24 03:33:02.640 E Failed to get tx meta from txpool: Error finding txpool tx meta: MDB_BAD_TXN: Transaction must abort, has a child, or is invalid
2024-09-24 03:33:02.640 E Failed to get tx meta from txpool: Error finding txpool tx meta: MDB_BAD_TXN: Transaction must abort, has a child, or is invalid
2024-09-24 03:33:02.640 W Failed to open cursor: MDB_BAD_TXN: Transaction must abort, has a child, or is invalid
2024-09-24 03:33:02.640 E Error adding transaction to txpool: Failed to open cursor: MDB_BAD_TXN: Transaction must abort, has a child, or is invalid
2024-09-24 03:33:02.640 W Failed to commit a transaction to the db: MDB_BAD_TXN: Transaction must abort, has a child, or is invalid
2024-09-24 03:33:02.640 E Exception in cleanup_handle_incoming_blocks: Failed to commit a transaction to the db: MDB_BAD_TXN: Transaction must abort, has a child, or is invalid

I guess I try syncing again from zero? Seems like a bug though. Currently using Monero 'Fluorine Fermi' (v0.18.3.4-release)

@dev-warrior777
Copy link
Contributor

dev-warrior777 commented Sep 24, 2024

I can't sync xmr testnet at the moment. Getting lots of different errors. Most common seems to be:

I guess I try syncing again from zero? Seems like a bug though. Currently using Monero 'Fluorine Fermi' (v0.18.3.4-release)

  • Are you using stakenet or testnet?
  • Does it work for v0.18.3.3-release?

I have just downloaded v0.18.3.4-release which works just fine on mainnet for my normal XMR wallet

I will give this code a go on stakenet with the new release later today.

@JoeGruffins
Copy link
Member Author

I'm just running with --testnet flag

@dev-warrior777
Copy link
Contributor

I'm just running with --testnet flag

use --stakenet flag ... monerod --stakenet ... and let that chain sync.

@JoeGruffins
Copy link
Member Author

Do you mean --stagenet?

@dev-warrior777
Copy link
Contributor

Do you mean --stagenet?

yes

@dev-warrior777
Copy link
Contributor

Do you mean --stagenet?

..and maybe we should rename the PR Work on stagenet.?

@buck54321
Copy link
Member

..and maybe we should rename the PR Work on stagenet.?

Every testnet has a unique name. testnet3, testnet4, goerli, ... Using the generic "testnet" is good at this level.

@dev-warrior777
Copy link
Contributor

Sure .. fair enough.

@JoeGruffins
Copy link
Member Author

I'll add more info in a README

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

xmr: Add testnet functionality.
5 participants