Emilstud

Untitled

Jan 25th, 2020
419
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.88 KB | None | 0 0
  1. wallet/rpcwallet.cpp:3404:17: error: no matching constructor for initialization of 'RPCResult'
  2. RPCResult{
  3. ^ ~
  4. ./rpc/util.h:225:5: note: candidate constructor not viable: cannot convert initializer list argument to 'const std::string' (aka 'const basic_string<char>')
  5. RPCResult(
  6. ^
  7. ./rpc/util.h:244:5: note: candidate constructor not viable: cannot convert initializer list argument to 'const std::string' (aka 'const basic_string<char>')
  8. RPCResult(
  9. ^
  10. ./rpc/util.h:252:5: note: candidate constructor not viable: cannot convert initializer list argument to 'const RPCResult::Type'
  11. RPCResult(
  12. ^
  13. ./rpc/util.h:269:5: note: candidate constructor not viable: requires at most 4 arguments, but 5 were provided
  14. RPCResult(
  15. ^
  16. ./rpc/util.h:202:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 5 were provided
  17. struct RPCResult {
  18. ^
  19. ./rpc/util.h:202:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 5 were provided
  20. wallet/rpcwallet.cpp:3419:14: error: cannot use dot operator on a type
  21. }.Check(request);
  22. ^
  23. wallet/rpcwallet.cpp:3421:5: error: C++ requires a type specifier for all declarations
  24. RPCTypeCheck(request.params, {UniValue::VSTR, UniValue::VOBJ});
  25. ^
  26. wallet/rpcwallet.cpp:3421:18: error: use of undeclared identifier 'request'
  27. RPCTypeCheck(request.params, {UniValue::VSTR, UniValue::VOBJ});
  28. ^
  29. wallet/rpcwallet.cpp:3422:29: error: use of undeclared identifier 'request'
  30. uint256 hash(ParseHashV(request.params[0], "txid"));
  31. ^
  32. wallet/rpcwallet.cpp:3425:5: error: unknown type name 'coin_control'; did you mean 'CCoinControl'?
  33. coin_control.fAllowWatchOnly = pwallet->IsWalletFlagSet(WALLET_FLAG_DISABLE_PRIVATE_KEYS);
  34. ^~~~~~~~~~~~
  35. CCoinControl
  36. ./wallet/wallet.h:93:7: note: 'CCoinControl' declared here
  37. class CCoinControl;
  38. ^
  39. wallet/rpcwallet.cpp:3425:17: error: cannot use dot operator on a type
  40. coin_control.fAllowWatchOnly = pwallet->IsWalletFlagSet(WALLET_FLAG_DISABLE_PRIVATE_KEYS);
  41. ^
  42. wallet/rpcwallet.cpp:3428:5: error: unknown type name 'coin_control'; did you mean 'CCoinControl'?
  43. coin_control.m_signal_bip125_rbf = true;
  44. ^~~~~~~~~~~~
  45. CCoinControl
  46. ./wallet/wallet.h:93:7: note: 'CCoinControl' declared here
  47. class CCoinControl;
  48. ^
  49. wallet/rpcwallet.cpp:3428:17: error: cannot use dot operator on a type
  50. coin_control.m_signal_bip125_rbf = true;
  51. ^
  52. wallet/rpcwallet.cpp:3430:5: error: expected unqualified-id
  53. if (!request.params[1].isNull()) {
  54. ^
  55. wallet/rpcwallet.cpp:3475:5: error: unknown type name 'pwallet'; did you mean 'CWallet'?
  56. pwallet->BlockUntilSyncedToCurrentChain();
  57. ^~~~~~~
  58. CWallet
  59. ./wallet/rpcwallet.h:13:7: note: 'CWallet' declared here
  60. class CWallet;
  61. ^
  62. wallet/rpcwallet.cpp:3475:12: error: cannot use arrow operator on a type
  63. pwallet->BlockUntilSyncedToCurrentChain();
  64. ^
  65. wallet/rpcwallet.cpp:3477:25: error: use of undeclared identifier 'pwallet'
  66. auto locked_chain = pwallet->chain().lock();
  67. ^
  68. wallet/rpcwallet.cpp:3478:10: error: use of undeclared identifier 'pwallet'
  69. LOCK(pwallet->cs_wallet);
  70. ^
  71. wallet/rpcwallet.cpp:3478:10: error: use of undeclared identifier 'pwallet'
  72. wallet/rpcwallet.cpp:3479:5: error: unknown type name 'EnsureWalletIsUnlocked'
  73. EnsureWalletIsUnlocked(pwallet);
  74. ^
  75. wallet/rpcwallet.cpp:3487:5: error: expected unqualified-id
  76. if (totalFee > 0) {
  77. ^
  78. wallet/rpcwallet.cpp:3490:7: error: expected unqualified-id
  79. } else {
  80. ^
  81. wallet/rpcwallet.cpp:3494:5: error: expected unqualified-id
  82. if (res != feebumper::Result::OK) {
  83. ^
  84. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  85. 20 errors generated.
Advertisement
Add Comment
Please, Sign In to add comment