[monero-project/monero] export_outputs monero-wallet-rpc method fails with «wrong number of additional derivations» on first attempt (#4127)

*this all happens on stagenet on code compiled from master on July 5*

Upon creating a new view-only wallet, starting monero-wallet-rpc, and running export_outputs, I am getting an error «`wrong number of additional derivations«` both in the response to my rpc request, and in the logfile. It is also surrounded by many «`The same transaction pubkey is present more than once, ignoring extra instance«` messages. If I change nothing, and send the same request, it seems to work just fine. This happens both when the wallet has been funded after creation, and when it has no tx history.

Example section from log file:

«`
2018-07-10 20:17:53.055 7f8f8efc4780 WARN wallet.wallet2 src/wallet/wallet2.cpp:3965 Loaded wallet keys file, with public address: 52e3kyPej6a6dPTu2fGpB38NGykxdSzuy7RtWivLgnsw3n3LZPXGmDXGdLHAEvCrqNHoWGbMkTZvjZYGMvzkj1q$
2018-07-10 20:18:02.086 7f8f8efc4780 WARN wallet.wallet2 src/wallet/wallet2.cpp:1199 The same transaction pubkey is present more than once, ignoring extra instance
2018-07-10 20:18:02.086 7f8f8efc4780 WARN wallet.wallet2 src/wallet/wallet2.cpp:1199 The same transaction pubkey is present more than once, ignoring extra instance
2018-07-10 20:18:04.089 7f8f8efc4780 WARN wallet.wallet2 src/wallet/wallet2.cpp:1199 The same transaction pubkey is present more than once, ignoring extra instance
2018-07-10 20:18:07.501 7f8f8efc4780 WARN 10mwallet.wallet2 src/wallet/wallet2.cpp:1199 The same transaction pubkey is present more than once, ignoring extra instance
2018-07-10 20:18:07.503 7f8f8efc4780 WARN wallet.wallet2 src/wallet/wallet2.cpp:1199 The same transaction pubkey is present more than once, ignoring extra instance
2018-07-10 20:18:07.503 7f8f8efc4780 WARN wallet.wallet2 src/wallet/wallet2.cpp:1199 The same transaction pubkey is present more than once, ignoring extra instance
2018-07-10 20:18:07.670 7f8f8efc4780 WARN wallet.wallet2 src/wallet/wallet2.cpp:1199 The same transaction pubkey is present more than once, ignoring extra instance
2018-07-10 20:18:08.059 7f8f8efc4780 WARN wallet.wallet2 src/wallet/wallet2.cpp:1199 The same transaction pubkey is present more than once, ignoring extra instance
2018-07-10 20:18:08.267 7f8f8efc4780 WARN wallet.wallet2 src/wallet/wallet2.cpp:1199 The same transaction pubkey is present more than once, ignoring extra instance
2018-07-10 20:18:08.484 7f8f8efc4780 WARN wallet.wallet2 src/wallet/wallet2.cpp:1199 The same transaction pubkey is present more than once, ignoring extra instance
2018-07-10 20:18:08.650 7f8f8efc4780 WARN wallet.wallet2 src/wallet/wallet2.cpp:1199 The same transaction pubkey is present more than once, ignoring extra instance
2018-07-10 20:18:08.651 7f8f8efc4780 WARN wallet.wallet2 src/wallet/wallet2.cpp:1199 The same transaction pubkey is present more than once, ignoring extra instance
2018-07-10 20:18:08.850 7f8f8efc4780 WARN wallet.wallet2 src/wallet/wallet2.cpp:1199 The same transaction pubkey is present more than once, ignoring extra instance
2018-07-10 20:18:13.046 7f8f8efc4780 ERROR cn src/cryptonote_basic/cryptonote_format_utils.cpp:666 wrong number of additional derivations
2018-07-10 20:18:13.048 7f8f8efc4780 WARN wallet.wallet2 src/wallet/wallet2.cpp:1199 The same transaction pubkey is present more than once, ignoring extra instance
2018-07-10 20:18:13.048 7f8f8efc4780 WARN wallet.wallet2 src/wallet/wallet2.cpp:1199 The same transaction pubkey is present more than once, ignoring extra instance
2018-07-10 20:18:13.576 7f8f8efc4780 INFO global contrib/epee/include/net/http_server_impl_base.h:76 Binding on 0.0.0.0:38033
allet/wallet2.c8:13.576 7f8f8efc4780 WARN wallet.rpc src/wallet/wallet_rpc_server.cpp:3250 Starting wallet RPC server
«`

It is not really clear to me why either of the above messages are being displayed, or what they even mean?

Sorry if there is not enough info here, if more is required, I’ll be happy to oblige.

I also am wondering if at least the «same transaction pubkey» message has to do with PR https://github.com/monero-project/monero/pull/4117?

Добавить комментарий