berycoin-gem 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c7b6e00deca70211bd6a3749e2ce1676be421f21
4
- data.tar.gz: 42d9986fb17daac78acbc3fedf2f2b6a6efd711d
3
+ metadata.gz: 764647269cc1e2e5354b3daf1d66ca05613e0175
4
+ data.tar.gz: 0df34d33e2ddb266fd04817ba0aa800502ad2d46
5
5
  SHA512:
6
- metadata.gz: 87213d2a2e57fd1a547eb5f87a359bcf206f1b05b527106488c3151da8fc324086e79b0f562df9a3d78e6845ba11a16ed95426ad18c869860b2229e0682aa536
7
- data.tar.gz: 136a1e35d72cf9b9af070741ed3466f74d52d702520a250c39b17a04cf964fe3af36e4c7827854fbfbdef10d29385a7abf491fa2f354673f7a9af443b8fcb495
6
+ metadata.gz: 823532ee295b473e89292f3a5c2a6a25cb82cbb96fb4053d9df76536f5ee05a19f4a120ae70e9b4e0de8e39a97b560b0d0c5c4f3e594834981c5d2bfbeba6d8c
7
+ data.tar.gz: 50fa6c04ac5d2e7272f6b873bb63c29d6c205bbdb29ce0d0e10eb4662a511c15b54689d1197145b07fd4167bdb2ce8a1f9ba36c07bae6f96e20ba840cfe948af
@@ -1,14 +1,8 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <module type="RUBY_MODULE" version="4">
3
- <component name="ModuleRunConfigurationManager">
4
- <shared />
5
- </component>
6
3
  <component name="NewModuleRootManager">
7
4
  <content url="file://$MODULE_DIR$" />
8
- <orderEntry type="jdk" jdkName="rbenv: 2.3.1" jdkType="RUBY_SDK" />
5
+ <orderEntry type="inheritedJdk" />
9
6
  <orderEntry type="sourceFolder" forTests="false" />
10
- <orderEntry type="library" scope="PROVIDED" name="bundler (v1.16.1, rbenv: 2.3.1) [gem]" level="application" />
11
- <orderEntry type="library" scope="PROVIDED" name="minitest (v5.11.3, rbenv: 2.3.1) [gem]" level="application" />
12
- <orderEntry type="library" scope="PROVIDED" name="rake (v10.4.2, rbenv: 2.3.1) [gem]" level="application" />
13
7
  </component>
14
8
  </module>
data/.idea/workspace.xml CHANGED
@@ -1,329 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <project version="4">
3
- <component name="ChangeListManager">
4
- <list default="true" id="b440fbb4-d550-49f5-940a-af173ab9a7ce" name="Default" comment="">
5
- <change beforePath="$PROJECT_DIR$/.idea/berycoin-gem.iml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/berycoin-gem.iml" afterDir="false" />
6
- <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
7
- <change beforePath="$PROJECT_DIR$/Gemfile.lock" beforeDir="false" afterPath="$PROJECT_DIR$/Gemfile.lock" afterDir="false" />
8
- <change beforePath="$PROJECT_DIR$/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
9
- <change beforePath="$PROJECT_DIR$/berycoin-gem.gemspec" beforeDir="false" afterPath="$PROJECT_DIR$/berycoin-gem.gemspec" afterDir="false" />
10
- <change beforePath="$PROJECT_DIR$/lib/berycoin/gem.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/berycoin/gem.rb" afterDir="false" />
11
- <change beforePath="$PROJECT_DIR$/lib/berycoin/gem/version.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/berycoin/gem/version.rb" afterDir="false" />
12
- </list>
13
- <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
14
- <option name="TRACKING_ENABLED" value="true" />
15
- <option name="SHOW_DIALOG" value="false" />
16
- <option name="HIGHLIGHT_CONFLICTS" value="true" />
17
- <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
18
- <option name="LAST_RESOLUTION" value="IGNORE" />
19
- </component>
20
- <component name="CoverageDataManager">
21
- <SUITE FILE_PATH="coverage/berycoin_gem@All_tests_in_lib__berycoin_gem.rcov" NAME="All tests in lib: berycoin-gem Coverage Results" MODIFIED="1525457461507" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="berycoin-gem" />
22
- </component>
23
- <component name="FileEditorManager">
24
- <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
25
- <file leaf-file-name="console" pinned="false" current-in-tab="false">
26
- <entry file="file://$PROJECT_DIR$/bin/console">
27
- <provider selected="true" editor-type-id="text-editor">
28
- <state relative-caret-position="30">
29
- <caret line="2" column="19" selection-start-line="2" selection-start-column="19" selection-end-line="2" selection-end-column="19" />
30
- </state>
31
- </provider>
32
- </entry>
33
- </file>
34
- <file leaf-file-name="README.md" pinned="false" current-in-tab="true">
35
- <entry file="file://$PROJECT_DIR$/README.md">
36
- <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
37
- <state split_layout="SPLIT">
38
- <first_editor relative-caret-position="210">
39
- <caret line="14" lean-forward="true" selection-start-line="14" selection-end-line="14" />
40
- </first_editor>
41
- <second_editor />
42
- </state>
43
- </provider>
44
- </entry>
45
- </file>
46
- </leaf>
47
- </component>
48
- <component name="Git.Settings">
49
- <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
50
- </component>
51
- <component name="IdeDocumentHistory">
52
- <option name="CHANGED_PATHS">
53
- <list>
54
- <option value="$PROJECT_DIR$/LICENSE.txt" />
55
- <option value="$PROJECT_DIR$/lib/berycoin/gem/layer_rpc.rb" />
56
- <option value="$PROJECT_DIR$/bin/setup" />
57
- <option value="$PROJECT_DIR$/lib/berycoin/gem.rb" />
58
- <option value="$PROJECT_DIR$/lib/berycoin/gem/version.rb" />
59
- <option value="$PROJECT_DIR$/berycoin-gem.gemspec" />
60
- <option value="$PROJECT_DIR$/README.md" />
61
- </list>
62
- </option>
63
- </component>
64
- <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
65
- <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
66
- <component name="JsGulpfileManager">
67
- <detection-done>true</detection-done>
68
- <sorting>DEFINITION_ORDER</sorting>
69
- </component>
70
- <component name="NodePackageJsonFileManager">
71
- <packageJsonPaths />
72
- </component>
73
- <component name="ProjectFrameBounds" extendedState="6">
74
- <option name="x" value="132" />
75
- <option name="y" value="44" />
76
- <option name="width" value="1400" />
77
- <option name="height" value="836" />
78
- </component>
79
- <component name="ProjectLevelVcsManager" settingsEditedManually="true">
80
- <ConfirmationsSetting value="1" id="Add" />
81
- </component>
82
- <component name="ProjectView">
83
- <navigator proportions="" version="1">
84
- <foldersAlwaysOnTop value="true" />
85
- </navigator>
86
- <panes>
87
- <pane id="ProjectPane">
88
- <subPane>
89
- <expand>
90
- <path>
91
- <item name="berycoin-gem" type="b2602c69:ProjectViewProjectNode" />
92
- <item name="berycoin-gem" type="462c0819:PsiDirectoryNode" />
93
- </path>
94
- <path>
95
- <item name="berycoin-gem" type="b2602c69:ProjectViewProjectNode" />
96
- <item name="berycoin-gem" type="462c0819:PsiDirectoryNode" />
97
- <item name="bin" type="462c0819:PsiDirectoryNode" />
98
- </path>
99
- <path>
100
- <item name="berycoin-gem" type="b2602c69:ProjectViewProjectNode" />
101
- <item name="berycoin-gem" type="462c0819:PsiDirectoryNode" />
102
- <item name="lib" type="462c0819:PsiDirectoryNode" />
103
- </path>
104
- <path>
105
- <item name="berycoin-gem" type="b2602c69:ProjectViewProjectNode" />
106
- <item name="berycoin-gem" type="462c0819:PsiDirectoryNode" />
107
- <item name="lib" type="462c0819:PsiDirectoryNode" />
108
- <item name="berycoin" type="462c0819:PsiDirectoryNode" />
109
- </path>
110
- <path>
111
- <item name="berycoin-gem" type="b2602c69:ProjectViewProjectNode" />
112
- <item name="berycoin-gem" type="462c0819:PsiDirectoryNode" />
113
- <item name="lib" type="462c0819:PsiDirectoryNode" />
114
- <item name="berycoin" type="462c0819:PsiDirectoryNode" />
115
- <item name="gem" type="462c0819:PsiDirectoryNode" />
116
- </path>
117
- </expand>
118
- <select />
119
- </subPane>
120
- </pane>
121
- <pane id="Scope" />
122
- </panes>
123
- </component>
124
3
  <component name="PropertiesComponent">
125
- <property name="WebServerToolWindowFactoryState" value="false" />
126
- <property name="last_opened_file_path" value="$PROJECT_DIR$" />
127
4
  <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
128
5
  <property name="nodejs_npm_path_reset_for_default_project" value="true" />
129
6
  </component>
130
- <component name="RunDashboard">
131
- <option name="ruleStates">
132
- <list>
133
- <RuleState>
134
- <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
135
- </RuleState>
136
- <RuleState>
137
- <option name="name" value="StatusDashboardGroupingRule" />
138
- </RuleState>
139
- </list>
140
- </option>
141
- </component>
142
- <component name="RunManager">
143
- <configuration name="All tests in lib: berycoin-gem" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest" temporary="true">
144
- <predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
145
- <module name="berycoin-gem" />
146
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) -Ilib:test" />
147
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
148
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
149
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
150
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
151
- <envs>
152
- <env name="JRUBY_OPTS" value="-X+O" />
153
- </envs>
154
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
155
- <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
156
- <EXTENSION ID="RubyCoverageRunConfigurationExtension" track_test_folders="true" runner="rcov">
157
- <COVERAGE_PATTERN ENABLED="true">
158
- <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
159
- </COVERAGE_PATTERN>
160
- </EXTENSION>
161
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="$MODULE_DIR$/lib" />
162
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
163
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/{*_test,test_*,*_spec}.rb" />
164
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
165
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="ALL_IN_FOLDER" />
166
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
167
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
168
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
169
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
170
- </configuration>
171
- <recent_temporary>
172
- <list>
173
- <item itemvalue="Test::Unit/Shoulda/Minitest.All tests in lib: berycoin-gem" />
174
- </list>
175
- </recent_temporary>
176
- </component>
177
- <component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" />
178
- <component name="SvnConfiguration">
179
- <configuration />
180
- </component>
181
- <component name="TaskManager">
182
- <task active="true" id="Default" summary="Default task">
183
- <changelist id="b440fbb4-d550-49f5-940a-af173ab9a7ce" name="Default" comment="" />
184
- <created>1525455821287</created>
185
- <option name="number" value="Default" />
186
- <option name="presentableId" value="Default" />
187
- <updated>1525455821287</updated>
188
- <workItem from="1525455822815" duration="5080000" />
189
- <workItem from="1525472538929" duration="2038000" />
190
- <workItem from="1525541155319" duration="1164000" />
191
- </task>
192
- <servers />
193
- </component>
194
- <component name="TestHistory">
195
- <history-entry file="All_tests_in_lib__berycoin-gem - 2018.05.04 at 23h 11m 02s.xml">
196
- <configuration name="All tests in lib: berycoin-gem" configurationId="TestUnitRunConfigurationType" />
197
- </history-entry>
198
- </component>
199
- <component name="TimeTrackingManager">
200
- <option name="totallyTimeSpent" value="8282000" />
201
- </component>
202
- <component name="ToolWindowManager">
203
- <frame x="64" y="-11" width="1537" height="912" extended-state="6" />
204
- <editor active="true" />
205
- <layout>
206
- <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.21692412" />
207
- <window_info anchor="bottom" id="TODO" order="6" />
208
- <window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
209
- <window_info anchor="bottom" id="Event Log" order="7" side_tool="true" />
210
- <window_info anchor="right" id="Database" order="3" />
211
- <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
212
- <window_info anchor="bottom" id="Run" order="2" weight="0.30150753" />
213
- <window_info anchor="bottom" id="Version Control" order="7" />
214
- <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
215
- <window_info anchor="bottom" id="Terminal" order="7" />
216
- <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
217
- <window_info id="Favorites" order="2" side_tool="true" />
218
- <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
219
- <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
220
- <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
221
- <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
222
- <window_info anchor="bottom" id="Find" order="1" />
223
- <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
224
- <window_info anchor="bottom" id="Message" order="0" />
225
- </layout>
226
- </component>
227
- <component name="TypeScriptGeneratedFilesManager">
228
- <option name="version" value="1" />
229
- </component>
230
- <component name="VcsContentAnnotationSettings">
231
- <option name="myLimit" value="2678400000" />
232
- </component>
233
- <component name="editorHistoryManager">
234
- <entry file="file://$PROJECT_DIR$/bin/console">
235
- <provider selected="true" editor-type-id="text-editor">
236
- <state relative-caret-position="30">
237
- <caret line="2" column="19" selection-start-line="2" selection-start-column="19" selection-end-line="2" selection-end-column="19" />
238
- </state>
239
- </provider>
240
- </entry>
241
- <entry file="file://$PROJECT_DIR$/README.md">
242
- <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
243
- <state split_layout="SPLIT">
244
- <first_editor relative-caret-position="180">
245
- <caret line="12" column="19" lean-forward="true" selection-start-line="12" selection-start-column="19" selection-end-line="12" selection-end-column="19" />
246
- </first_editor>
247
- <second_editor />
248
- </state>
249
- </provider>
250
- </entry>
251
- <entry file="file://$PROJECT_DIR$/lib/berycoin/gem/version.rb">
252
- <provider selected="true" editor-type-id="text-editor">
253
- <state relative-caret-position="30">
254
- <caret line="2" column="20" selection-start-line="2" selection-start-column="20" selection-end-line="2" selection-end-column="20" />
255
- </state>
256
- </provider>
257
- </entry>
258
- <entry file="file://$PROJECT_DIR$/LICENSE.txt">
259
- <provider selected="true" editor-type-id="text-editor">
260
- <state relative-caret-position="30">
261
- <caret line="2" column="58" selection-start-line="2" selection-start-column="58" selection-end-line="2" selection-end-column="58" />
262
- </state>
263
- </provider>
264
- </entry>
265
- <entry file="file://$PROJECT_DIR$/CODE_OF_CONDUCT.md">
266
- <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
267
- <state split_layout="SPLIT">
268
- <first_editor relative-caret-position="-624" />
269
- <second_editor />
270
- </state>
271
- </provider>
272
- </entry>
273
- <entry file="file://$PROJECT_DIR$/bin/setup">
274
- <provider selected="true" editor-type-id="text-editor">
275
- <state relative-caret-position="45">
276
- <caret line="3" column="7" lean-forward="true" selection-start-line="3" selection-start-column="7" selection-end-line="3" selection-end-column="7" />
277
- </state>
278
- </provider>
279
- </entry>
280
- <entry file="file://$PROJECT_DIR$/bin/console">
281
- <provider selected="true" editor-type-id="text-editor">
282
- <state relative-caret-position="30">
283
- <caret line="2" column="19" selection-start-line="2" selection-start-column="19" selection-end-line="2" selection-end-column="19" />
284
- </state>
285
- </provider>
286
- </entry>
287
- <entry file="file://$PROJECT_DIR$/lib/berycoin/gem.rb">
288
- <provider selected="true" editor-type-id="text-editor">
289
- <state relative-caret-position="675">
290
- <caret line="356" column="3" lean-forward="true" selection-start-line="356" selection-start-column="3" selection-end-line="356" selection-end-column="3" />
291
- <folding>
292
- <element signature="e#1013#2560#0" />
293
- <element signature="e#2565#2737#0" />
294
- <element signature="e#2742#2965#0" />
295
- <element signature="e#2970#3370#0" />
296
- <element signature="e#3375#4282#0" />
297
- <element signature="e#4287#4984#0" />
298
- <element signature="e#4989#5772#0" />
299
- <element signature="e#5777#9183#0" />
300
- </folding>
301
- </state>
302
- </provider>
303
- </entry>
304
- <entry file="file://$PROJECT_DIR$/berycoin-gem.gemspec">
305
- <provider selected="true" editor-type-id="text-editor">
306
- <state relative-caret-position="555">
307
- <caret line="37" lean-forward="true" selection-start-line="37" selection-end-line="37" />
308
- </state>
309
- </provider>
310
- </entry>
311
- <entry file="file://$PROJECT_DIR$/lib/berycoin/gem/version.rb">
312
- <provider selected="true" editor-type-id="text-editor">
313
- <state relative-caret-position="30">
314
- <caret line="2" column="20" selection-start-line="2" selection-start-column="20" selection-end-line="2" selection-end-column="20" />
315
- </state>
316
- </provider>
317
- </entry>
318
- <entry file="file://$PROJECT_DIR$/README.md">
319
- <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
320
- <state split_layout="SPLIT">
321
- <first_editor relative-caret-position="210">
322
- <caret line="14" lean-forward="true" selection-start-line="14" selection-end-line="14" />
323
- </first_editor>
324
- <second_editor />
325
- </state>
326
- </provider>
327
- </entry>
328
- </component>
329
7
  </project>
data/CODE_OF_CONDUCT.md CHANGED
File without changes
data/Gemfile CHANGED
File without changes
data/Gemfile.lock CHANGED
File without changes
data/LICENSE.txt CHANGED
File without changes
data/README.md CHANGED
File without changes
data/Rakefile CHANGED
File without changes
data/berycoin-gem.gemspec CHANGED
File without changes
@@ -1,5 +1,5 @@
1
1
  module Berycoin
2
2
  module Gem
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
data/lib/berycoin/gem.rb CHANGED
@@ -36,6 +36,15 @@ module Berycoin
36
36
  H = BerycoinRPC.new(LINK)
37
37
 
38
38
  module Blockchain
39
+
40
+ def Blockchain.callcontract(address, data)
41
+ H.callcontract(address,data)
42
+ end
43
+
44
+ def Blockchain.getaccountinfo(address)
45
+ H.getaccountinfo address
46
+ end
47
+
39
48
  def Blockchain.getnewaddress
40
49
  H.getnewaddress
41
50
  end
@@ -63,6 +72,9 @@ module Berycoin
63
72
  def Blockchain.getchaintips
64
73
  H.getchaintips
65
74
  end
75
+ def Blockchain.getchaintxstats(nBlocks)
76
+ H.getchaintxstats nBlocks
77
+ end
66
78
  def Blockchain.getdifficulty
67
79
  H.getdifficulty
68
80
  end
@@ -81,8 +93,26 @@ module Berycoin
81
93
  def Blockchain.getrawmempool
82
94
  H.getrawmempool
83
95
  end
84
- def Blockchain.gettxout(txid)
85
- H.gettxout(txid)
96
+ def getstorage (address)
97
+ H.getstorage address
98
+ end
99
+ def gettransactionreceipt(hash)
100
+ H.gettransactionreceipt hash
101
+ end
102
+ def listcontracts
103
+ H.listcontracts
104
+ end
105
+ def preciousblock(blockhash)
106
+ H.preciousblock blockhash
107
+ end
108
+ def pruneblockchain
109
+ H.pruneblockchain
110
+ end
111
+ def searchlogs(from,to,address,topics)
112
+ H.searchlogs from to address topics
113
+ end
114
+ def waitforlogs (fromBlock) (toBlock) (filter) (minconf)
115
+ H.waitforlogs from to filter minconf
86
116
  end
87
117
  def Blockchain.gettxout(txid, n)
88
118
  H.gettxout(txid, n)
@@ -104,12 +134,18 @@ module Berycoin
104
134
  def Control.getinfo
105
135
  H.getinfo
106
136
  end
137
+ def Control.getmemoryinfo
138
+ H.getmemoryinfo
139
+ end
107
140
  def Control.help
108
141
  H.help
109
142
  end
110
143
  def Control.stop
111
144
  H.stop
112
145
  end
146
+ def Control.uptime
147
+ H.uptime
148
+ end
113
149
  end
114
150
  module Generating
115
151
  def Generating.generate(numblocks)
@@ -132,14 +168,17 @@ module Berycoin
132
168
  def Mining.prioritisetransaction(*opt)
133
169
  H.prioritisetransaction (opt)
134
170
  end
171
+ def Mining.getstakinginfo
172
+ H.getstakinginfo
173
+ end
174
+ def Mining.getsubsidy(*nTarget)
175
+ H.getsubsidy nTarget
176
+ end
135
177
  def Mining.submitblock(hexdata)
136
178
  H.submitblock(hexdata)
137
179
  end
138
180
  end
139
181
  module Network
140
- def Network.addnode(node)
141
- H.addnode node
142
- end
143
182
  def Network.addnode(node, option)
144
183
  H.addnode(node, option)
145
184
  end
@@ -170,14 +209,17 @@ module Berycoin
170
209
  def Network.ping
171
210
  H.ping
172
211
  end
173
- def Network.setban (ip)
174
- H.setban(ip)
175
- end
176
- def Network.setban (ip, opt)
212
+ def Network.setban (ip, *opt)
177
213
  H.setban(ip, opt)
178
214
  end
215
+ def Network.setnetworkactive(flag)
216
+ H.setnetworkactive flag
217
+ end
179
218
  end
180
219
  module RawTransactions
220
+ def RawTransactions.combinerawtransaction(opt)
221
+ H.combinerawtransaction opt
222
+ end
181
223
  def RawTransactions.createrawtransaction(*opt)
182
224
  H.createrawtransaction(opt)
183
225
  end
@@ -190,9 +232,15 @@ module Berycoin
190
232
  def RawTransactions.fundrawtransaction(hex)
191
233
  H.fundrawtransaction(hex)
192
234
  end
235
+ def RawTransactions.fromhexaddress(hexaddress)
236
+ H.fromhexaddress hexaddress
237
+ end
193
238
  def RawTransactions.getrawtransaction(txid)
194
239
  H.getrawtransaction(txid)
195
240
  end
241
+ def RawTransactions.gethexaddress(address)
242
+ H.gethexaddress address
243
+ end
196
244
  def RawTransactions.sendrawtransaction(hex)
197
245
  H.sendrawtransaction(hex)
198
246
  end
@@ -230,7 +278,10 @@ module Berycoin
230
278
  def Wallet.abandontransaction(txid)
231
279
  H.abandontransaction txid
232
280
  end
233
- def Wallet.addmultisigaddress(nrequired)
281
+ def Wallet.abortrescan
282
+ H.abortrescan
283
+ end
284
+ def Wallet.addmultisigaddress(*nrequired)
234
285
  H.addmultisigaddress nrequired
235
286
  end
236
287
  def Wallet.addwitnessaddress(address)
@@ -239,6 +290,12 @@ module Berycoin
239
290
  def Wallet.backupwallet(destination)
240
291
  H.backupwallet destination
241
292
  end
293
+ def Wallet.bumpfee(txid)
294
+ H.bumpfee txid
295
+ end
296
+ def Wallet.createcontract(*bytecode)
297
+ H.createcontract bytecode
298
+ end
242
299
  def Wallet.dumpprivkey(berycoinaddress)
243
300
  H.dumpprivkey berycoinaddress
244
301
  end
@@ -257,16 +314,10 @@ module Berycoin
257
314
  def Wallet.getaddressesbyaccount(account)
258
315
  H.getaddressesbyaccount(account)
259
316
  end
260
- def Wallet.getbalance
261
- H.getbalance
262
- end
263
- def Wallet.getbalance(account)
317
+ def Wallet.getbalance(*account)
264
318
  H.getbalance account
265
319
  end
266
- def Wallet.getnewaddress
267
- H.getnewaddress
268
- end
269
- def Wallet.getnewaddress(account)
320
+ def Wallet.getnewaddress(*account)
270
321
  H.getnewaddress account
271
322
  end
272
323
  def Wallet.getrawchangeaddress
@@ -290,6 +341,9 @@ module Berycoin
290
341
  def Wallet.importaddress(address)
291
342
  H.importaddress address
292
343
  end
344
+ def importmulti(requests)
345
+ H.importmulti requests
346
+ end
293
347
  def Wallet.importprivkey(berycoinprivkey)
294
348
  H.importprivkey berycoinprivkey
295
349
  end
@@ -320,11 +374,14 @@ module Berycoin
320
374
  def Wallet.listreceivedbyaddress
321
375
  H.listreceivedbyaddress
322
376
  end
323
- def Wallet.listsinceblock
324
- H.listsinceblock
377
+ def Wallet.listsinceblock(*blockhash)
378
+ H.listsinceblock blockhash
379
+ end
380
+ def Wallet.listtransactions(*account)
381
+ H.listtransactions account
325
382
  end
326
- def Wallet.listtransactions
327
- H.listtransactions
383
+ def Wallet.listwallets
384
+ H.listwallets
328
385
  end
329
386
  def Wallet.listunspent
330
387
  H.listunspent
@@ -335,15 +392,39 @@ module Berycoin
335
392
  def Wallet.move(fromaccount,toaccount, amount)
336
393
  H.move(fromaccount, toaccount, amount)
337
394
  end
395
+ def removeprunedfunds(txid)
396
+ H.removeprunedfunds txid
397
+ end
398
+ def reservebalance(reserve,amount)
399
+ H.reservebalance(reserve,amount)
400
+ end
338
401
  def Wallet.sendfrom(fromaccount,toberycoinaddress,amount)
339
402
  H.sendfrom(fromaccount,toberycoinaddress,amount)
340
403
  end
341
404
  def Wallet.sendmany(fromaccount, json)
342
405
  H.sendmany(fromaccount, json)
343
406
  end
407
+ def Wallet.sendmanywithdupes(*opt)
408
+ H.sendmanywithdupes opt
409
+ end
344
410
  def Wallet.sendtoaddress(berycoinaddress,amount)
345
411
  H.sendtoaddress(berycoinaddress,amount)
346
412
  end
413
+ def sendtocontract (contractaddress,data)
414
+ H.sendtocontract(contractaddress,data)
415
+ end
416
+ def setaccount(address,account)
417
+ H.setaccount(address,account)
418
+ end
419
+ def walletlock
420
+ H.walletlock
421
+ end
422
+ def walletpassphrase (passphrase, timeout)
423
+ H.walletpassphrase (passphrase, timeout)
424
+ end
425
+ def walletpassphrasechange(oldpassphrase,newpassphrase)
426
+ H.walletpassphrasechange (oldpassphrase, newpassphrase)
427
+ end
347
428
  def Wallet.setaccount(berycoinaddress,account)
348
429
  H.setaccount(berycoinaddress,account)
349
430
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: berycoin-gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bilal Haider
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-05 00:00:00.000000000 Z
11
+ date: 2018-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler