07:51:45 I think the blockchain.raw file on the website requires an update, it only contains blocks until height ~2.5M currently, so about 200k blocks behind 14:52:25 selsta: tevador I've tried linking the performance_tests directly to mx25519, but still getting ubuntu fails https://github.com/UkoeHB/monero/actions 14:52:31 out of things to try... 15:57:14 UkoeHB: try replacing mx25519 with mx25519_static in the target_link_libraries command 16:02:01 also you are missing the MX25519_STATIC directive: https://github.com/tevador/mx25519/blob/master/CMakeLists.txt#L81-L83 17:23:12 tevador: that introduced a new problem with cpuid https://github.com/UkoeHB/monero/actions/runs/2939987066 17:38:56 UkoeHB: fixed here https://github.com/tevador/mx25519/commit/84ca1290fa344351c95692f20f41a174b70e0c7b 21:16:25 tevador: nice, all green; seems I didn't need the MX25519_STATIC directive 22:37:54 I'm trying to create a subaddress with https://github.com/monero-ecosystem/monero-rpc-rs, the "create_address" method returns something like this in place of the "address" field 22:37:54 `Address { network: Mainnet, addr_type: SubAddress, public_spend: 3bac6d0e5a20bebae804f4f35438f2f47703fe0eec205ceedc7676231c42ec08, public_view: df6dc04dcd4d4cfe7b1f42f9138458183dfb30d11d9776f0dce55ca6fc4c1fc3` 22:37:54 which is different from the expected result according to https://www.getmonero.org/resources/developer-guides/wallet-rpc.html#create_address. I would like to know what the subaddress is so people can pay me with it, and it doesnt look like the library has any methods to generate one from the public keys. What is the intended way to do this? 22:38:55 * I'm trying to create a subaddress with https://github.com/monero-ecosystem/monero-rpc-rs, the "create\_address" method returns something like this in place of the "address" field 22:38:55 `Address { network: Mainnet, addr_type: SubAddress, public_spend: 3bac6d0e5a20bebae804f4f35438f2f47703fe0eec205ceedc7676231c42ec08, public_view: df6dc04dcd4d4cfe7b1f42f9138458183dfb30d11d9776f0dce55ca6fc4c1fc3 }` 22:38:55 which is different from the expected result according to https://www.getmonero.org/resources/developer-guides/wallet-rpc.html#create\_address. I would like to know what the subaddress is so people can pay me with it, and it doesnt look like the library has any methods to generate one from the public keys. What is the intended way to do this? 22:53:34 h4sh3d: ^ 23:11:40 After more investigation, this is probably better suited to be a github issue. Using curl provides the expected result, and I don't have the competence to dissect much of the code. 23:20:39 Subaddress details: https://monerodocs.org/public-address/subaddress/ 23:20:39 Creating subaddress: https://www.getmonero.org/resources/developer-guides/wallet-rpc.html#create_address 23:20:39 You need to have monero daemon (monerod) running. And then run monero-rpc by providing given "wallet-file" as parameter, connect to a port. Write a simple bash script (with above curl command), and you'd have created a new subaddress for your wallet. Hope that helps a bit! 23:38:05 > <@liamswenson:monero.social> I'm trying to create a subaddress with https://github.com/monero-ecosystem/monero-rpc-rs, the "create\_address" method returns something like this in place of the "address" field 23:38:06 > `Address { network: Mainnet, addr_type: SubAddress, public_spend: 3bac6d0e5a20bebae804f4f35438f2f47703fe0eec205ceedc7676231c42ec08, public_view: df6dc04dcd4d4cfe7b1f42f9138458183dfb30d11d9776f0dce55ca6fc4c1fc3 }` 23:38:06 > which is different from the expected result according to https://www.getmonero.org/resources/developer-guides/wallet-rpc.html#create\_address. I would like to know what the subaddress is so people can pay me with it, and it doesnt look like the library has any methods to generate one from the public keys. What is the intended way to do this? 23:38:06 I believe I found the solution, I can call methods to represent the "Address" object in different ways, for example appending ".to_string()" to the end will give me the address in the format I was looking for. 23:40:09 > <@afungible:monero.social> For each Monero wallet, you can have multiple unique accounts [0,1,...,n]. For each account, you can have multiple "subaddresses". When a wallet is created, it is created with 1 account (default: index 0) and you can generate "any number of" unique sub-addresses for it, to... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/3877f6536e74d6394d3f293eb21306ce6a52a7de) 23:51:06 Yes. When you create a wallet with a seed, 1 account is created by default i.e. account at index 0. The (primary) address you see is the "sub-address 0" for account at index 0. 23:51:06 Account [0] 23:51:06 - Sub-address[0] 23:51:06 Usually 1 account is sufficient & you create multiple sub-addresses within the (default) account. But maybe, you want multiple accounts, just like with bank with multiple accounts & each having its own fixed deposit accounts.