Skip to content

Commit

Permalink
Add new RPC wallet code
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasDorier committed Jun 14, 2023
1 parent 1dc51ee commit ae0eb0d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion NBitcoin/NBitcoin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<RepositoryType>git</RepositoryType>
</PropertyGroup>
<PropertyGroup>
<Version Condition=" '$(Version)' == '' ">7.0.26</Version>
<Version Condition=" '$(Version)' == '' ">7.0.27</Version>
<LangVersion>9.0</LangVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
Expand Down
12 changes: 10 additions & 2 deletions NBitcoin/RPC/RPCException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,15 @@ public enum RPCErrorCode
/// <summary>
/// No wallet specified (error when there are multiple wallets loaded)
/// </summary>
RPC_WALLET_NOT_SPECIFIED = -19
RPC_WALLET_NOT_SPECIFIED = -19,
/// <summary>
/// This same wallet is already loaded
/// </summary>
RPC_WALLET_ALREADY_LOADED = -35,
/// <summary>
/// There is already a wallet with the same name
/// </summary>
RPC_WALLET_ALREADY_EXISTS = -36
}


Expand Down Expand Up @@ -243,4 +251,4 @@ public string RPCCodeMessage
}
}
}
#endif
#endif

0 comments on commit ae0eb0d

Please sign in to comment.