Add CKeyStore stub
[NovacoinLibrary.git] / Novacoin / CKeyStore.cs
1 \feffusing System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using System.Threading.Tasks;
6
7 namespace Novacoin
8 {
9     public class CKeyStore
10     {
11         public CKeyStore(string strDatabasePath="Wallet.db")
12         {
13         }
14
15         ~CKeyStore()
16         {
17         }
18
19         public bool AddKey(CKeyPair keyPair)
20         {
21             // TODO
22
23             return true;
24         }
25
26         public bool HaveKey(CKeyID keyID)
27         {
28             // TODO
29
30             return true;
31         }
32
33         public bool GetKey(CKeyID keyID, out CKeyPair keyPair)
34         {
35             keyPair = new CKeyPair();
36
37             return false;
38         }
39
40         public bool AddScript(CScript script)
41         {
42             // TODO
43
44             return true;
45         }
46
47         public bool HaveScript(CScriptID scriptID)
48         {
49             // TODO
50
51             return true;
52         }
53
54         public bool GetScript(CScriptID scriptID, out CScript script)
55         {
56             // TODO
57
58             script = new CScript();
59
60             return true;
61         }
62
63
64     }
65 }