nanook 0.7.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -1
- data/CHANGELOG.md +26 -0
- data/Gemfile.lock +2 -2
- data/README.md +18 -7
- data/Rakefile +18 -0
- data/docs/0.7.0/apple-touch-icon.png +0 -0
- data/docs/0.7.0/classes/Nanook.html +572 -0
- data/docs/0.7.0/classes/Nanook/Account.html +909 -0
- data/docs/0.7.0/classes/Nanook/Block.html +717 -0
- data/docs/0.7.0/classes/Nanook/Error.html +84 -0
- data/docs/0.7.0/classes/Nanook/Key.html +253 -0
- data/docs/0.7.0/classes/Nanook/Node.html +657 -0
- data/docs/0.7.0/classes/Nanook/Rpc.html +247 -0
- data/docs/0.7.0/classes/Nanook/Util.html +197 -0
- data/docs/0.7.0/classes/Nanook/Wallet.html +986 -0
- data/docs/0.7.0/classes/Nanook/WalletAccount.html +446 -0
- data/docs/0.7.0/classes/Nanook/WorkPeer.html +294 -0
- data/docs/0.7.0/created.rid +14 -0
- data/docs/0.7.0/css/github.css +123 -0
- data/docs/0.7.0/css/main.css +374 -0
- data/docs/0.7.0/css/panel.css +360 -0
- data/docs/0.7.0/css/reset.css +48 -0
- data/docs/0.7.0/favicon.ico +0 -0
- data/docs/0.7.0/files/README_md.html +418 -0
- data/docs/0.7.0/files/lib/nanook/account_rb.html +89 -0
- data/docs/0.7.0/files/lib/nanook/block_rb.html +89 -0
- data/docs/0.7.0/files/lib/nanook/error_rb.html +89 -0
- data/docs/0.7.0/files/lib/nanook/key_rb.html +89 -0
- data/docs/0.7.0/files/lib/nanook/node_rb.html +89 -0
- data/docs/0.7.0/files/lib/nanook/rpc_rb.html +99 -0
- data/docs/0.7.0/files/lib/nanook/util_rb.html +89 -0
- data/docs/0.7.0/files/lib/nanook/version_rb.html +84 -0
- data/docs/0.7.0/files/lib/nanook/wallet_account_rb.html +89 -0
- data/docs/0.7.0/files/lib/nanook/wallet_rb.html +89 -0
- data/docs/0.7.0/files/lib/nanook/work_peer_rb.html +89 -0
- data/docs/0.7.0/files/lib/nanook_rb.html +94 -0
- data/docs/0.7.0/i/arrow-down.svg +8 -0
- data/docs/0.7.0/i/arrow-right.svg +8 -0
- data/docs/0.7.0/i/search.svg +12 -0
- data/docs/0.7.0/i/tree_bg.svg +8 -0
- data/docs/0.7.0/index.html +11 -0
- data/docs/0.7.0/js/highlight.pack.js +1 -0
- data/docs/0.7.0/js/jquery-1.3.2.min.js +19 -0
- data/docs/0.7.0/js/main.js +25 -0
- data/docs/0.7.0/js/navigation.js +142 -0
- data/docs/0.7.0/js/search_index.js +1 -0
- data/docs/0.7.0/js/searchdoc.js +465 -0
- data/docs/0.7.0/js/searcher.js +229 -0
- data/docs/0.7.0/panel/index.html +47 -0
- data/docs/0.7.0/panel/links.html +32 -0
- data/docs/0.7.0/panel/tree.js +1 -0
- data/docs/0.8.0/apple-touch-icon.png +0 -0
- data/docs/0.8.0/classes/Nanook.html +621 -0
- data/docs/0.8.0/classes/Nanook/Account.html +971 -0
- data/docs/0.8.0/classes/Nanook/Block.html +759 -0
- data/docs/0.8.0/classes/Nanook/Error.html +84 -0
- data/docs/0.8.0/classes/Nanook/Key.html +295 -0
- data/docs/0.8.0/classes/Nanook/Node.html +657 -0
- data/docs/0.8.0/classes/Nanook/Rpc.html +247 -0
- data/docs/0.8.0/classes/Nanook/Util.html +264 -0
- data/docs/0.8.0/classes/Nanook/Wallet.html +1056 -0
- data/docs/0.8.0/classes/Nanook/WalletAccount.html +582 -0
- data/docs/0.8.0/classes/Nanook/WorkPeer.html +294 -0
- data/docs/0.8.0/created.rid +14 -0
- data/docs/0.8.0/css/github.css +123 -0
- data/docs/0.8.0/css/main.css +374 -0
- data/docs/0.8.0/css/panel.css +360 -0
- data/docs/0.8.0/css/reset.css +48 -0
- data/docs/0.8.0/favicon.ico +0 -0
- data/docs/0.8.0/files/README_md.html +423 -0
- data/docs/0.8.0/files/lib/nanook/account_rb.html +89 -0
- data/docs/0.8.0/files/lib/nanook/block_rb.html +89 -0
- data/docs/0.8.0/files/lib/nanook/error_rb.html +89 -0
- data/docs/0.8.0/files/lib/nanook/key_rb.html +89 -0
- data/docs/0.8.0/files/lib/nanook/node_rb.html +89 -0
- data/docs/0.8.0/files/lib/nanook/rpc_rb.html +99 -0
- data/docs/0.8.0/files/lib/nanook/util_rb.html +97 -0
- data/docs/0.8.0/files/lib/nanook/version_rb.html +84 -0
- data/docs/0.8.0/files/lib/nanook/wallet_account_rb.html +89 -0
- data/docs/0.8.0/files/lib/nanook/wallet_rb.html +89 -0
- data/docs/0.8.0/files/lib/nanook/work_peer_rb.html +89 -0
- data/docs/0.8.0/files/lib/nanook_rb.html +94 -0
- data/docs/0.8.0/i/arrow-down.svg +8 -0
- data/docs/0.8.0/i/arrow-right.svg +8 -0
- data/docs/0.8.0/i/search.svg +12 -0
- data/docs/0.8.0/i/tree_bg.svg +8 -0
- data/docs/0.8.0/index.html +11 -0
- data/docs/0.8.0/js/highlight.pack.js +1 -0
- data/docs/0.8.0/js/jquery-1.3.2.min.js +19 -0
- data/docs/0.8.0/js/main.js +25 -0
- data/docs/0.8.0/js/navigation.js +142 -0
- data/docs/0.8.0/js/search_index.js +1 -0
- data/docs/0.8.0/js/searchdoc.js +465 -0
- data/docs/0.8.0/js/searcher.js +229 -0
- data/docs/0.8.0/panel/index.html +47 -0
- data/docs/0.8.0/panel/links.html +32 -0
- data/docs/0.8.0/panel/tree.js +1 -0
- data/docs/1.0.0/apple-touch-icon.png +0 -0
- data/docs/1.0.0/classes/Nanook.html +621 -0
- data/docs/1.0.0/classes/Nanook/Account.html +971 -0
- data/docs/1.0.0/classes/Nanook/Block.html +759 -0
- data/docs/1.0.0/classes/Nanook/Error.html +84 -0
- data/docs/1.0.0/classes/Nanook/Key.html +295 -0
- data/docs/1.0.0/classes/Nanook/Node.html +657 -0
- data/docs/1.0.0/classes/Nanook/Rpc.html +247 -0
- data/docs/1.0.0/classes/Nanook/Util.html +264 -0
- data/docs/1.0.0/classes/Nanook/Wallet.html +1056 -0
- data/docs/1.0.0/classes/Nanook/WalletAccount.html +582 -0
- data/docs/1.0.0/classes/Nanook/WorkPeer.html +294 -0
- data/docs/1.0.0/created.rid +14 -0
- data/docs/1.0.0/css/github.css +123 -0
- data/docs/1.0.0/css/main.css +374 -0
- data/docs/1.0.0/css/panel.css +360 -0
- data/docs/1.0.0/css/reset.css +48 -0
- data/docs/1.0.0/favicon.ico +0 -0
- data/docs/1.0.0/files/README_md.html +423 -0
- data/docs/1.0.0/files/lib/nanook/account_rb.html +89 -0
- data/docs/1.0.0/files/lib/nanook/block_rb.html +89 -0
- data/docs/1.0.0/files/lib/nanook/error_rb.html +89 -0
- data/docs/1.0.0/files/lib/nanook/key_rb.html +89 -0
- data/docs/1.0.0/files/lib/nanook/node_rb.html +89 -0
- data/docs/1.0.0/files/lib/nanook/rpc_rb.html +99 -0
- data/docs/1.0.0/files/lib/nanook/util_rb.html +97 -0
- data/docs/1.0.0/files/lib/nanook/version_rb.html +84 -0
- data/docs/1.0.0/files/lib/nanook/wallet_account_rb.html +89 -0
- data/docs/1.0.0/files/lib/nanook/wallet_rb.html +89 -0
- data/docs/1.0.0/files/lib/nanook/work_peer_rb.html +89 -0
- data/docs/1.0.0/files/lib/nanook_rb.html +94 -0
- data/docs/1.0.0/i/arrow-down.svg +8 -0
- data/docs/1.0.0/i/arrow-right.svg +8 -0
- data/docs/1.0.0/i/search.svg +12 -0
- data/docs/1.0.0/i/tree_bg.svg +8 -0
- data/docs/1.0.0/index.html +11 -0
- data/docs/1.0.0/js/highlight.pack.js +1 -0
- data/docs/1.0.0/js/jquery-1.3.2.min.js +19 -0
- data/docs/1.0.0/js/main.js +25 -0
- data/docs/1.0.0/js/navigation.js +142 -0
- data/docs/1.0.0/js/search_index.js +1 -0
- data/docs/1.0.0/js/searchdoc.js +465 -0
- data/docs/1.0.0/js/searcher.js +229 -0
- data/docs/1.0.0/panel/index.html +47 -0
- data/docs/1.0.0/panel/links.html +32 -0
- data/docs/1.0.0/panel/tree.js +1 -0
- data/docs/apple-touch-icon.png +0 -0
- data/docs/classes/Nanook.html +572 -0
- data/docs/classes/Nanook/Account.html +907 -0
- data/docs/classes/Nanook/Block.html +717 -0
- data/docs/classes/Nanook/Error.html +84 -0
- data/docs/classes/Nanook/Key.html +253 -0
- data/docs/classes/Nanook/Node.html +657 -0
- data/docs/classes/Nanook/Rpc.html +247 -0
- data/docs/classes/Nanook/Util.html +197 -0
- data/docs/classes/Nanook/Wallet.html +778 -0
- data/docs/classes/Nanook/WalletAccount.html +447 -0
- data/docs/classes/Nanook/WorkPeer.html +294 -0
- data/docs/created.rid +14 -0
- data/docs/css/github.css +123 -0
- data/docs/css/main.css +374 -0
- data/docs/css/panel.css +360 -0
- data/docs/css/reset.css +48 -0
- data/docs/favicon.ico +0 -0
- data/docs/files/README_md.html +408 -0
- data/docs/files/lib/nanook/account_rb.html +89 -0
- data/docs/files/lib/nanook/block_rb.html +89 -0
- data/docs/files/lib/nanook/error_rb.html +89 -0
- data/docs/files/lib/nanook/key_rb.html +89 -0
- data/docs/files/lib/nanook/node_rb.html +89 -0
- data/docs/files/lib/nanook/rpc_rb.html +99 -0
- data/docs/files/lib/nanook/util_rb.html +89 -0
- data/docs/files/lib/nanook/version_rb.html +84 -0
- data/docs/files/lib/nanook/wallet_account_rb.html +89 -0
- data/docs/files/lib/nanook/wallet_rb.html +89 -0
- data/docs/files/lib/nanook/work_peer_rb.html +89 -0
- data/docs/files/lib/nanook_rb.html +94 -0
- data/docs/i/arrow-down.svg +8 -0
- data/docs/i/arrow-right.svg +8 -0
- data/docs/i/search.svg +12 -0
- data/docs/i/tree_bg.svg +8 -0
- data/docs/index.html +11 -0
- data/docs/js/highlight.pack.js +1 -0
- data/docs/js/jquery-1.3.2.min.js +19 -0
- data/docs/js/main.js +25 -0
- data/docs/js/navigation.js +142 -0
- data/docs/js/search_index.js +1 -0
- data/docs/js/searchdoc.js +465 -0
- data/docs/js/searcher.js +229 -0
- data/docs/panel/index.html +47 -0
- data/docs/panel/links.html +32 -0
- data/docs/panel/tree.js +1 -0
- data/lib/nanook.rb +40 -4
- data/lib/nanook/account.rb +250 -8
- data/lib/nanook/block.rb +25 -2
- data/lib/nanook/key.rb +10 -2
- data/lib/nanook/node.rb +4 -0
- data/lib/nanook/rpc.rb +5 -1
- data/lib/nanook/util.rb +9 -1
- data/lib/nanook/version.rb +1 -1
- data/lib/nanook/wallet.rb +275 -14
- data/lib/nanook/wallet_account.rb +63 -11
- data/lib/nanook/work_peer.rb +4 -0
- metadata +188 -3
@@ -0,0 +1,294 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<title>Nanook::WorkPeer</title>
|
5
|
+
<meta charset="UTF-8" />
|
6
|
+
<link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
|
7
|
+
<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
|
8
|
+
<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
|
9
|
+
<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
|
10
|
+
<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
|
11
|
+
<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
|
12
|
+
|
13
|
+
|
14
|
+
<meta property="og:title" value="Nanook::WorkPeer">
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
<meta name="keywords" content="Nanook::WorkPeer class">
|
19
|
+
|
20
|
+
<meta name="keywords" content="new, add, clear, list">
|
21
|
+
|
22
|
+
</head>
|
23
|
+
|
24
|
+
<body>
|
25
|
+
<div class="banner">
|
26
|
+
|
27
|
+
<h1>
|
28
|
+
<span class="type">Class</span>
|
29
|
+
Nanook::WorkPeer
|
30
|
+
|
31
|
+
<span class="parent"><
|
32
|
+
|
33
|
+
Object
|
34
|
+
|
35
|
+
</span>
|
36
|
+
|
37
|
+
</h1>
|
38
|
+
<ul class="files">
|
39
|
+
|
40
|
+
<li><a href="../../files/lib/nanook/work_peer_rb.html">lib/nanook/work_peer.rb</a></li>
|
41
|
+
|
42
|
+
</ul>
|
43
|
+
</div>
|
44
|
+
<div id="bodyContent">
|
45
|
+
<div id="content">
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
<!-- Method ref -->
|
61
|
+
<div class="sectiontitle">Methods</div>
|
62
|
+
<dl class="methods">
|
63
|
+
|
64
|
+
<dt>A</dt>
|
65
|
+
<dd>
|
66
|
+
<ul>
|
67
|
+
|
68
|
+
|
69
|
+
<li>
|
70
|
+
<a href="#method-i-add">add</a>
|
71
|
+
</li>
|
72
|
+
|
73
|
+
</ul>
|
74
|
+
</dd>
|
75
|
+
|
76
|
+
<dt>C</dt>
|
77
|
+
<dd>
|
78
|
+
<ul>
|
79
|
+
|
80
|
+
|
81
|
+
<li>
|
82
|
+
<a href="#method-i-clear">clear</a>
|
83
|
+
</li>
|
84
|
+
|
85
|
+
</ul>
|
86
|
+
</dd>
|
87
|
+
|
88
|
+
<dt>L</dt>
|
89
|
+
<dd>
|
90
|
+
<ul>
|
91
|
+
|
92
|
+
|
93
|
+
<li>
|
94
|
+
<a href="#method-i-list">list</a>
|
95
|
+
</li>
|
96
|
+
|
97
|
+
</ul>
|
98
|
+
</dd>
|
99
|
+
|
100
|
+
<dt>N</dt>
|
101
|
+
<dd>
|
102
|
+
<ul>
|
103
|
+
|
104
|
+
|
105
|
+
<li>
|
106
|
+
<a href="#method-c-new">new</a>
|
107
|
+
</li>
|
108
|
+
|
109
|
+
</ul>
|
110
|
+
</dd>
|
111
|
+
|
112
|
+
</dl>
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
<!-- Methods -->
|
132
|
+
|
133
|
+
<div class="sectiontitle">Class Public methods</div>
|
134
|
+
|
135
|
+
<div class="method">
|
136
|
+
<div class="title method-title" id="method-c-new">
|
137
|
+
|
138
|
+
<b>new</b>(rpc)
|
139
|
+
|
140
|
+
<a href="../../classes/Nanook/WorkPeer.html#method-c-new" name="method-c-new" class="permalink">Link</a>
|
141
|
+
</div>
|
142
|
+
|
143
|
+
|
144
|
+
<div class="description">
|
145
|
+
|
146
|
+
</div>
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
<div class="sourcecode">
|
156
|
+
|
157
|
+
<p class="source-link">
|
158
|
+
Source:
|
159
|
+
<a href="javascript:toggleSource('method-c-new_source')" id="l_method-c-new_source">show</a>
|
160
|
+
|
161
|
+
</p>
|
162
|
+
<div id="method-c-new_source" class="dyn-source">
|
163
|
+
<pre><span class="ruby-comment"># File lib/nanook/work_peer.rb, line 4</span>
|
164
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(<span class="ruby-identifier">rpc</span>)
|
165
|
+
<span class="ruby-ivar">@rpc</span> = <span class="ruby-identifier">rpc</span>
|
166
|
+
<span class="ruby-keyword">end</span></pre>
|
167
|
+
</div>
|
168
|
+
</div>
|
169
|
+
|
170
|
+
</div>
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
<div class="sectiontitle">Instance Public methods</div>
|
175
|
+
|
176
|
+
<div class="method">
|
177
|
+
<div class="title method-title" id="method-i-add">
|
178
|
+
|
179
|
+
<b>add</b>(address:, port:)
|
180
|
+
|
181
|
+
<a href="../../classes/Nanook/WorkPeer.html#method-i-add" name="method-i-add" class="permalink">Link</a>
|
182
|
+
</div>
|
183
|
+
|
184
|
+
|
185
|
+
<div class="description">
|
186
|
+
|
187
|
+
</div>
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
<div class="sourcecode">
|
197
|
+
|
198
|
+
<p class="source-link">
|
199
|
+
Source:
|
200
|
+
<a href="javascript:toggleSource('method-i-add_source')" id="l_method-i-add_source">show</a>
|
201
|
+
|
202
|
+
</p>
|
203
|
+
<div id="method-i-add_source" class="dyn-source">
|
204
|
+
<pre><span class="ruby-comment"># File lib/nanook/work_peer.rb, line 8</span>
|
205
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">add</span>(<span class="ruby-value">address:</span>, <span class="ruby-value">port:</span>)
|
206
|
+
<span class="ruby-identifier">rpc</span>(<span class="ruby-value">:work_peer_add</span>, <span class="ruby-value">address:</span> <span class="ruby-identifier">address</span>, <span class="ruby-value">port:</span> <span class="ruby-identifier">port</span>).<span class="ruby-identifier">has_key?</span>(<span class="ruby-value">:success</span>)
|
207
|
+
<span class="ruby-keyword">end</span></pre>
|
208
|
+
</div>
|
209
|
+
</div>
|
210
|
+
|
211
|
+
</div>
|
212
|
+
|
213
|
+
<div class="method">
|
214
|
+
<div class="title method-title" id="method-i-clear">
|
215
|
+
|
216
|
+
<b>clear</b>()
|
217
|
+
|
218
|
+
<a href="../../classes/Nanook/WorkPeer.html#method-i-clear" name="method-i-clear" class="permalink">Link</a>
|
219
|
+
</div>
|
220
|
+
|
221
|
+
|
222
|
+
<div class="description">
|
223
|
+
|
224
|
+
</div>
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
<div class="sourcecode">
|
234
|
+
|
235
|
+
<p class="source-link">
|
236
|
+
Source:
|
237
|
+
<a href="javascript:toggleSource('method-i-clear_source')" id="l_method-i-clear_source">show</a>
|
238
|
+
|
239
|
+
</p>
|
240
|
+
<div id="method-i-clear_source" class="dyn-source">
|
241
|
+
<pre><span class="ruby-comment"># File lib/nanook/work_peer.rb, line 12</span>
|
242
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">clear</span>
|
243
|
+
<span class="ruby-identifier">rpc</span>(<span class="ruby-value">:work_peers_clear</span>).<span class="ruby-identifier">has_key?</span>(<span class="ruby-value">:success</span>)
|
244
|
+
<span class="ruby-keyword">end</span></pre>
|
245
|
+
</div>
|
246
|
+
</div>
|
247
|
+
|
248
|
+
</div>
|
249
|
+
|
250
|
+
<div class="method">
|
251
|
+
<div class="title method-title" id="method-i-list">
|
252
|
+
|
253
|
+
<b>list</b>()
|
254
|
+
|
255
|
+
<a href="../../classes/Nanook/WorkPeer.html#method-i-list" name="method-i-list" class="permalink">Link</a>
|
256
|
+
</div>
|
257
|
+
|
258
|
+
|
259
|
+
<div class="description">
|
260
|
+
|
261
|
+
</div>
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
|
270
|
+
<div class="sourcecode">
|
271
|
+
|
272
|
+
<p class="source-link">
|
273
|
+
Source:
|
274
|
+
<a href="javascript:toggleSource('method-i-list_source')" id="l_method-i-list_source">show</a>
|
275
|
+
|
276
|
+
</p>
|
277
|
+
<div id="method-i-list_source" class="dyn-source">
|
278
|
+
<pre><span class="ruby-comment"># File lib/nanook/work_peer.rb, line 20</span>
|
279
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">list</span>
|
280
|
+
<span class="ruby-identifier">rpc</span>(<span class="ruby-value">:work_peers</span>)[<span class="ruby-value">:work_peers</span>]
|
281
|
+
<span class="ruby-keyword">end</span></pre>
|
282
|
+
</div>
|
283
|
+
</div>
|
284
|
+
|
285
|
+
</div>
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
|
290
|
+
</div>
|
291
|
+
|
292
|
+
</div>
|
293
|
+
</body>
|
294
|
+
</html>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
Thu, 15 Mar 2018 09:38:17 +1300
|
2
|
+
README.md Thu, 15 Mar 2018 09:37:37 +1300
|
3
|
+
lib/nanook.rb Thu, 15 Mar 2018 06:54:03 +1300
|
4
|
+
lib/nanook/account.rb Thu, 15 Mar 2018 09:07:49 +1300
|
5
|
+
lib/nanook/block.rb Thu, 15 Mar 2018 06:54:18 +1300
|
6
|
+
lib/nanook/error.rb Tue, 06 Mar 2018 18:08:17 +1300
|
7
|
+
lib/nanook/key.rb Thu, 15 Mar 2018 06:52:06 +1300
|
8
|
+
lib/nanook/node.rb Thu, 15 Mar 2018 06:53:48 +1300
|
9
|
+
lib/nanook/rpc.rb Thu, 15 Mar 2018 06:53:56 +1300
|
10
|
+
lib/nanook/util.rb Thu, 15 Mar 2018 07:37:04 +1300
|
11
|
+
lib/nanook/version.rb Thu, 15 Mar 2018 09:36:54 +1300
|
12
|
+
lib/nanook/wallet.rb Thu, 15 Mar 2018 08:10:48 +1300
|
13
|
+
lib/nanook/wallet_account.rb Thu, 15 Mar 2018 08:58:07 +1300
|
14
|
+
lib/nanook/work_peer.rb Thu, 15 Mar 2018 06:54:01 +1300
|
@@ -0,0 +1,123 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
github.com style (c) Vasily Polovnyov <vast@whiteants.net>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
pre .comment,
|
8
|
+
pre .template_comment,
|
9
|
+
pre .diff .header,
|
10
|
+
pre .javadoc {
|
11
|
+
color: #998;
|
12
|
+
font-style: italic
|
13
|
+
}
|
14
|
+
|
15
|
+
pre .keyword,
|
16
|
+
pre .css .rule .keyword,
|
17
|
+
pre .winutils,
|
18
|
+
pre .javascript .title,
|
19
|
+
pre .lisp .title,
|
20
|
+
pre .subst {
|
21
|
+
color: #000;
|
22
|
+
font-weight: bold
|
23
|
+
}
|
24
|
+
|
25
|
+
pre .number,
|
26
|
+
pre .hexcolor {
|
27
|
+
color: #40a070
|
28
|
+
}
|
29
|
+
|
30
|
+
pre .string,
|
31
|
+
pre .tag .value,
|
32
|
+
pre .phpdoc,
|
33
|
+
pre .tex .formula {
|
34
|
+
color: #d14
|
35
|
+
}
|
36
|
+
|
37
|
+
pre .title,
|
38
|
+
pre .id {
|
39
|
+
color: #900;
|
40
|
+
font-weight: bold
|
41
|
+
}
|
42
|
+
|
43
|
+
pre .javascript .title,
|
44
|
+
pre .lisp .title,
|
45
|
+
pre .subst {
|
46
|
+
font-weight: normal
|
47
|
+
}
|
48
|
+
|
49
|
+
pre .class .title,
|
50
|
+
pre .haskell .label,
|
51
|
+
pre .tex .command {
|
52
|
+
color: #458;
|
53
|
+
font-weight: bold
|
54
|
+
}
|
55
|
+
|
56
|
+
pre .tag,
|
57
|
+
pre .tag .title,
|
58
|
+
pre .rules .property,
|
59
|
+
pre .django .tag .keyword {
|
60
|
+
color: #000080;
|
61
|
+
font-weight: normal
|
62
|
+
}
|
63
|
+
|
64
|
+
pre .attribute,
|
65
|
+
pre .variable,
|
66
|
+
pre .instancevar,
|
67
|
+
pre .lisp .body {
|
68
|
+
color: #008080
|
69
|
+
}
|
70
|
+
|
71
|
+
pre .regexp {
|
72
|
+
color: #009926
|
73
|
+
}
|
74
|
+
|
75
|
+
pre .class {
|
76
|
+
color: #458;
|
77
|
+
font-weight: bold
|
78
|
+
}
|
79
|
+
|
80
|
+
pre .symbol,
|
81
|
+
pre .ruby .symbol .string,
|
82
|
+
pre .ruby .symbol .keyword,
|
83
|
+
pre .ruby .symbol .keymethods,
|
84
|
+
pre .lisp .keyword,
|
85
|
+
pre .tex .special,
|
86
|
+
pre .input_number {
|
87
|
+
color: #990073
|
88
|
+
}
|
89
|
+
|
90
|
+
pre .builtin,
|
91
|
+
pre .built_in,
|
92
|
+
pre .lisp .title {
|
93
|
+
color: #0086b3
|
94
|
+
}
|
95
|
+
|
96
|
+
pre .preprocessor,
|
97
|
+
pre .pi,
|
98
|
+
pre .doctype,
|
99
|
+
pre .shebang,
|
100
|
+
pre .cdata {
|
101
|
+
color: #999;
|
102
|
+
font-weight: bold
|
103
|
+
}
|
104
|
+
|
105
|
+
pre .deletion {
|
106
|
+
background: #fdd
|
107
|
+
}
|
108
|
+
|
109
|
+
pre .addition {
|
110
|
+
background: #dfd
|
111
|
+
}
|
112
|
+
|
113
|
+
pre .diff .change {
|
114
|
+
background: #0086b3
|
115
|
+
}
|
116
|
+
|
117
|
+
pre .chunk {
|
118
|
+
color: #aaa
|
119
|
+
}
|
120
|
+
|
121
|
+
pre .tex .formula {
|
122
|
+
opacity: 0.5;
|
123
|
+
}
|
@@ -0,0 +1,374 @@
|
|
1
|
+
body {
|
2
|
+
font-family: "Helvetica Neue", Arial, sans-serif;
|
3
|
+
background: #FFF;
|
4
|
+
color: #3B3B3B;
|
5
|
+
margin: 0px;
|
6
|
+
font-size: 15px;
|
7
|
+
line-height: 1.25em;
|
8
|
+
}
|
9
|
+
|
10
|
+
a:link, a:active, a:visited, a:hover {
|
11
|
+
color: #CC0000;
|
12
|
+
text-decoration: none;
|
13
|
+
}
|
14
|
+
|
15
|
+
a:hover {
|
16
|
+
color: #990000;
|
17
|
+
text-decoration: underline;
|
18
|
+
}
|
19
|
+
|
20
|
+
.banner a:hover {
|
21
|
+
color: white;
|
22
|
+
}
|
23
|
+
|
24
|
+
h1 a, h2 a, .banner a {
|
25
|
+
color: #fff;
|
26
|
+
}
|
27
|
+
|
28
|
+
h1 a:hover, h2 a:hover {
|
29
|
+
color: #fff;
|
30
|
+
}
|
31
|
+
|
32
|
+
p {
|
33
|
+
margin-bottom: 1em;
|
34
|
+
text-align: justify;
|
35
|
+
}
|
36
|
+
|
37
|
+
h1 {
|
38
|
+
font-size: 2.1em;
|
39
|
+
font-weight: normal;
|
40
|
+
line-height: 1.2em;
|
41
|
+
margin: 1.4em 0 0.7em 0;
|
42
|
+
}
|
43
|
+
|
44
|
+
h2 {
|
45
|
+
font-size: 1.6em;
|
46
|
+
margin: 1.8em 0 0.8em 0;
|
47
|
+
font-weight: normal;
|
48
|
+
line-height: 1.2em;
|
49
|
+
}
|
50
|
+
|
51
|
+
h3 {
|
52
|
+
font-size: 1.4em;
|
53
|
+
color:#555;
|
54
|
+
margin: 1.4em 0 0.7em 0;
|
55
|
+
font-weight: normal;
|
56
|
+
}
|
57
|
+
|
58
|
+
h4 {
|
59
|
+
margin: 1.4em 0 0.5em 0;
|
60
|
+
font-size: 1em;
|
61
|
+
}
|
62
|
+
|
63
|
+
table
|
64
|
+
{
|
65
|
+
margin-bottom: 1em;
|
66
|
+
}
|
67
|
+
|
68
|
+
td, th
|
69
|
+
{
|
70
|
+
padding: 0 0.7em 0.3em 0;
|
71
|
+
}
|
72
|
+
|
73
|
+
th
|
74
|
+
{
|
75
|
+
font-weight: bold;
|
76
|
+
}
|
77
|
+
|
78
|
+
.clear
|
79
|
+
{
|
80
|
+
clear: both;
|
81
|
+
width: 0; height: 0;
|
82
|
+
}
|
83
|
+
|
84
|
+
dt
|
85
|
+
{
|
86
|
+
margin-bottom: 0.3em;
|
87
|
+
font-weight: bold;
|
88
|
+
}
|
89
|
+
|
90
|
+
dd
|
91
|
+
{
|
92
|
+
margin-left: 2em;
|
93
|
+
margin-bottom: 1em;
|
94
|
+
}
|
95
|
+
|
96
|
+
dd p
|
97
|
+
{
|
98
|
+
margin-top: 0.6em;
|
99
|
+
}
|
100
|
+
|
101
|
+
li
|
102
|
+
{
|
103
|
+
margin: 0 0 0.5em 2em;
|
104
|
+
}
|
105
|
+
|
106
|
+
ul li
|
107
|
+
{
|
108
|
+
list-style: disc;
|
109
|
+
}
|
110
|
+
|
111
|
+
ol li
|
112
|
+
{
|
113
|
+
list-style: decimal;
|
114
|
+
}
|
115
|
+
|
116
|
+
.banner
|
117
|
+
{
|
118
|
+
background: #B61D1D;
|
119
|
+
color: #FFF;
|
120
|
+
border-bottom: 1px solid #9b281c;
|
121
|
+
padding: 1em;
|
122
|
+
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
|
123
|
+
}
|
124
|
+
.banner h1
|
125
|
+
{
|
126
|
+
font-size: 1.2em;
|
127
|
+
margin: 0;
|
128
|
+
}
|
129
|
+
|
130
|
+
.banner h1 .type
|
131
|
+
{
|
132
|
+
font-size: 0.833em;
|
133
|
+
display:block;
|
134
|
+
}
|
135
|
+
|
136
|
+
.banner h1 .type,
|
137
|
+
.banner h1 .parent
|
138
|
+
{
|
139
|
+
color: #CCC;
|
140
|
+
}
|
141
|
+
|
142
|
+
.banner ul
|
143
|
+
{
|
144
|
+
margin-top: 0.3em;
|
145
|
+
margin-bottom: 0;
|
146
|
+
font-size: 0.85em;
|
147
|
+
}
|
148
|
+
|
149
|
+
.banner li
|
150
|
+
{
|
151
|
+
list-style: none;
|
152
|
+
margin-left: 0;
|
153
|
+
margin-bottom: 0;
|
154
|
+
}
|
155
|
+
|
156
|
+
.banner .github_url {
|
157
|
+
color: #CCC;
|
158
|
+
}
|
159
|
+
|
160
|
+
pre
|
161
|
+
{
|
162
|
+
margin-bottom: 1em;
|
163
|
+
}
|
164
|
+
|
165
|
+
.methods dt
|
166
|
+
{
|
167
|
+
width: 1em;
|
168
|
+
font-size: 1.5em;
|
169
|
+
color:#AAA;
|
170
|
+
position: absolute;
|
171
|
+
font-weight: normal;
|
172
|
+
margin: 0;
|
173
|
+
}
|
174
|
+
|
175
|
+
.methods dd
|
176
|
+
{
|
177
|
+
margin-left: 2.5em;
|
178
|
+
min-height: 1.8em;
|
179
|
+
-height: 1.8em;
|
180
|
+
padding-bottom: 0.8em;
|
181
|
+
}
|
182
|
+
|
183
|
+
|
184
|
+
.methods ul li
|
185
|
+
{
|
186
|
+
margin-right: 0.7em;
|
187
|
+
margin-left: 0;
|
188
|
+
list-style: none;
|
189
|
+
display: inline;
|
190
|
+
}
|
191
|
+
|
192
|
+
#content {
|
193
|
+
margin: 2em;
|
194
|
+
margin-left: 3.5em;
|
195
|
+
margin-right: 3.5em;
|
196
|
+
max-width: 980px;
|
197
|
+
}
|
198
|
+
|
199
|
+
|
200
|
+
.sectiontitle {
|
201
|
+
margin-top: 2em;
|
202
|
+
margin-bottom: 1.3em;
|
203
|
+
margin-left: -1.2em;
|
204
|
+
font-size: 1.2em;
|
205
|
+
padding: 0 0 0.25em 0;
|
206
|
+
font-weight: bold;
|
207
|
+
border-bottom: 1px solid #000;
|
208
|
+
}
|
209
|
+
|
210
|
+
.contenttitle {
|
211
|
+
margin-top: 4em;
|
212
|
+
margin-bottom: 1.3em;
|
213
|
+
margin-left: -0.9em;
|
214
|
+
font-size: 1.6em;
|
215
|
+
padding: 0 0 0.25em 0;
|
216
|
+
font-weight: bold;
|
217
|
+
}
|
218
|
+
|
219
|
+
.attr-rw {
|
220
|
+
padding-right: 1em;
|
221
|
+
text-align: center;
|
222
|
+
color: #055;
|
223
|
+
}
|
224
|
+
|
225
|
+
.attr-name {
|
226
|
+
font-weight: bold;
|
227
|
+
padding-right: 1em;
|
228
|
+
}
|
229
|
+
|
230
|
+
.attr-desc {
|
231
|
+
}
|
232
|
+
|
233
|
+
tt {
|
234
|
+
font-size: 1.15em;
|
235
|
+
}
|
236
|
+
|
237
|
+
.attr-value {
|
238
|
+
font-family: monospace;
|
239
|
+
padding-left: 1em;
|
240
|
+
font-size: 1.15em;
|
241
|
+
}
|
242
|
+
|
243
|
+
.dyn-source {
|
244
|
+
display: none;
|
245
|
+
background: #fffde8;
|
246
|
+
color: #000;
|
247
|
+
border: #ffe0bb dotted 1px;
|
248
|
+
margin: 0.5em 2em 0.5em 0;
|
249
|
+
padding: 0.5em;
|
250
|
+
}
|
251
|
+
|
252
|
+
.dyn-source .cmt {
|
253
|
+
color: #00F;
|
254
|
+
font-style: italic;
|
255
|
+
}
|
256
|
+
|
257
|
+
.dyn-source .kw {
|
258
|
+
color: #070;
|
259
|
+
font-weight: bold;
|
260
|
+
}
|
261
|
+
|
262
|
+
.description pre {
|
263
|
+
padding: 0.5em;
|
264
|
+
background: #EEEEEE;
|
265
|
+
font-size: 15px;
|
266
|
+
overflow-x: scroll;
|
267
|
+
}
|
268
|
+
|
269
|
+
.method {
|
270
|
+
margin-bottom: 2em;
|
271
|
+
}
|
272
|
+
.method .description,
|
273
|
+
.method .sourcecode
|
274
|
+
{
|
275
|
+
margin-left: 1.2em;
|
276
|
+
}
|
277
|
+
.method h4
|
278
|
+
{
|
279
|
+
border-bottom: 1px dotted #999;
|
280
|
+
padding: 0 0 0.2em 0;
|
281
|
+
margin-bottom: 0.8em;
|
282
|
+
font-size: 1.1em;
|
283
|
+
color:#333;
|
284
|
+
}
|
285
|
+
.method .method-title {
|
286
|
+
border-bottom: 1px dotted #666;
|
287
|
+
padding: 0 0 0.15em 0;
|
288
|
+
margin: 0 0 0.5em 0;
|
289
|
+
font-size: 1.2em;
|
290
|
+
line-height: 1.25em;
|
291
|
+
position: relative;
|
292
|
+
}
|
293
|
+
|
294
|
+
.method .method-title a.permalink {
|
295
|
+
position: absolute;
|
296
|
+
font-size: 0.75em;
|
297
|
+
right: 0;
|
298
|
+
}
|
299
|
+
|
300
|
+
.method .sourcecode p.source-link {
|
301
|
+
text-indent: 0em;
|
302
|
+
margin-top: 0.5em;
|
303
|
+
}
|
304
|
+
|
305
|
+
.method .aka {
|
306
|
+
margin-top: 0.3em;
|
307
|
+
margin-left: 1em;
|
308
|
+
font-style: italic;
|
309
|
+
text-indent: 2em;
|
310
|
+
}
|
311
|
+
|
312
|
+
.method .source-link
|
313
|
+
{
|
314
|
+
font-size: 0.85em;
|
315
|
+
}
|
316
|
+
|
317
|
+
.ruby-constant {
|
318
|
+
color: teal;
|
319
|
+
}
|
320
|
+
.ruby-keyword {
|
321
|
+
color: #000;
|
322
|
+
font-weight: bold
|
323
|
+
}
|
324
|
+
.ruby-title {
|
325
|
+
color: #900;
|
326
|
+
font-weight: bold;
|
327
|
+
}
|
328
|
+
.ruby-ivar {
|
329
|
+
color: teal;
|
330
|
+
}
|
331
|
+
.ruby-operator {
|
332
|
+
color: #000;
|
333
|
+
font-weight: bold
|
334
|
+
}
|
335
|
+
.ruby-identifier {
|
336
|
+
color: #000;
|
337
|
+
}
|
338
|
+
.ruby-string,
|
339
|
+
.ruby-node {
|
340
|
+
color: #D14;
|
341
|
+
}
|
342
|
+
.ruby-comment {
|
343
|
+
color: #998;
|
344
|
+
font-style: italic;
|
345
|
+
}
|
346
|
+
.ruby-regexp {
|
347
|
+
color: #009926;
|
348
|
+
}
|
349
|
+
.ruby-value {
|
350
|
+
color: #990073;
|
351
|
+
}
|
352
|
+
.ruby-number {
|
353
|
+
color: #40A070;
|
354
|
+
}
|
355
|
+
|
356
|
+
@keyframes highlight {
|
357
|
+
from { background-color: yellow; }
|
358
|
+
to { background-color: white; }
|
359
|
+
}
|
360
|
+
|
361
|
+
.highlight {
|
362
|
+
animation-name: highlight;
|
363
|
+
animation-duration: 1s;
|
364
|
+
}
|
365
|
+
|
366
|
+
p code {
|
367
|
+
background: #eeeeee;
|
368
|
+
border-radius: 2px;
|
369
|
+
border: 1px solid #dddddd;
|
370
|
+
font-family: Consolas, Menlo, Courier, monospace;
|
371
|
+
font-size: 14px;
|
372
|
+
margin-bottom: 1px;
|
373
|
+
padding: 0 5px;
|
374
|
+
}
|