From: CryptoManiac Date: Mon, 24 Aug 2015 23:18:24 +0000 (+0300) Subject: Add CKeyStore stub X-Git-Url: https://git.novaco.in/?p=NovacoinLibrary.git;a=commitdiff_plain;h=e35f7ea545839a56961ab45e57a81a857aeaefc2 Add CKeyStore stub --- diff --git a/Novacoin/CKeyStore.cs b/Novacoin/CKeyStore.cs new file mode 100644 index 0000000..59c3fbd --- /dev/null +++ b/Novacoin/CKeyStore.cs @@ -0,0 +1,65 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Novacoin +{ + public class CKeyStore + { + public CKeyStore(string strDatabasePath="Wallet.db") + { + } + + ~CKeyStore() + { + } + + public bool AddKey(CKeyPair keyPair) + { + // TODO + + return true; + } + + public bool HaveKey(CKeyID keyID) + { + // TODO + + return true; + } + + public bool GetKey(CKeyID keyID, out CKeyPair keyPair) + { + keyPair = new CKeyPair(); + + return false; + } + + public bool AddScript(CScript script) + { + // TODO + + return true; + } + + public bool HaveScript(CScriptID scriptID) + { + // TODO + + return true; + } + + public bool GetScript(CScriptID scriptID, out CScript script) + { + // TODO + + script = new CScript(); + + return true; + } + + + } +} diff --git a/Novacoin/Novacoin.csproj b/Novacoin/Novacoin.csproj index b8a93a9..0f18a22 100644 --- a/Novacoin/Novacoin.csproj +++ b/Novacoin/Novacoin.csproj @@ -18,7 +18,6 @@ prompt 4 false - false full @@ -29,12 +28,11 @@ false - - ..\packages\BouncyCastle.1.7.0\lib\Net40-Client\BouncyCastle.Crypto.dll - True - + + ..\packages\BouncyCastle.1.7.0\lib\Net40-Client\BouncyCastle.Crypto.dll + @@ -65,6 +63,7 @@ +