RecordsKeeperRubyLib 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +2 -1
- data/CODE_OF_CONDUCT.md +0 -8
- data/Gemfile +0 -1
- data/Gemfile.lock +4 -62
- data/LICENSE.txt +2 -2
- data/README.md +92 -1
- data/{RecordsKeeperRuby.gemspec → RecordsKeeperRubyLib.gemspec} +4 -5
- data/bin/console +1 -1
- data/config.yaml +8 -0
- data/docs/{addressdoc.rb → address_doc.rb} +105 -116
- data/docs/{assetsdoc.rb → asset_doc.rb} +54 -65
- data/docs/block_doc.rb +63 -0
- data/docs/blockchain_doc.rb +77 -0
- data/docs/{permissionsdoc.rb → permissions_doc.rb} +54 -65
- data/docs/{streamdoc.rb → stream_doc.rb} +79 -84
- data/docs/{transactiondoc.rb → transaction_doc.rb} +110 -121
- data/docs/{walletdoc.rb → wallet_doc.rb} +122 -133
- data/lib/RecordsKeeperRubyLib.rb +9 -0
- data/lib/{RecordsKeeperRuby → RecordsKeeperRubyLib}/address.rb +198 -186
- data/lib/{RecordsKeeperRuby → RecordsKeeperRubyLib}/assets.rb +99 -87
- data/lib/{RecordsKeeperRuby → RecordsKeeperRubyLib}/block.rb +94 -89
- data/lib/{RecordsKeeperRuby → RecordsKeeperRubyLib}/blockchain.rb +148 -135
- data/lib/RecordsKeeperRubyLib/config.yaml +8 -0
- data/lib/{RecordsKeeperRuby → RecordsKeeperRubyLib}/permissions.rb +77 -77
- data/lib/RecordsKeeperRubyLib/stream.rb +220 -0
- data/lib/{RecordsKeeperRuby → RecordsKeeperRubyLib}/transaction.rb +213 -182
- data/lib/RecordsKeeperRubyLib/version.rb +3 -0
- data/lib/{RecordsKeeperRuby → RecordsKeeperRubyLib}/wallet.rb +263 -252
- data/lib/config.yaml +8 -0
- metadata +27 -41
- data/docs/blockchaindoc.rb +0 -77
- data/docs/blockdoc.rb +0 -76
- data/lib/RecordsKeeperRuby.rb +0 -9
- data/lib/RecordsKeeperRuby/sample_config.yaml +0 -60
- data/lib/RecordsKeeperRuby/stream.rb +0 -169
- data/lib/RecordsKeeperRuby/version.rb +0 -3
- data/lib/sample_config.yaml +0 -60
- data/sample_config.yaml +0 -60
data/lib/sample_config.yaml
DELETED
@@ -1,60 +0,0 @@
|
|
1
|
-
# config.yaml
|
2
|
-
testnet:
|
3
|
-
url: testurl
|
4
|
-
rkuser: rkuser
|
5
|
-
passwd: rkpwd
|
6
|
-
chain: test-chain
|
7
|
-
port: testport
|
8
|
-
stream: streamname
|
9
|
-
testdata: test_data
|
10
|
-
amount: test_amount
|
11
|
-
dumptxid: test_txid
|
12
|
-
privatekey: test_privkey
|
13
|
-
validaddress: valid_address
|
14
|
-
invalidaddress: invalid_address
|
15
|
-
miningaddress: mining_address
|
16
|
-
nonminingaddress: nonmining_address
|
17
|
-
multisigaddress: multisig_address
|
18
|
-
wrongimportaddress: wrongimport_address
|
19
|
-
mainaddress: main_address
|
20
|
-
permissionaddress: permission_address
|
21
|
-
dumptxhex: dump_txhex
|
22
|
-
dumpsignedtxhex: dump_signedtxhex
|
23
|
-
samplegetmultisigaddress: sample_multisigaddress
|
24
|
-
samplemerkleroot: sample_merkleroot
|
25
|
-
sampleblockhash: sample_blockhash
|
26
|
-
sampledata: sample_data
|
27
|
-
sampletransac: sample_transaction_id
|
28
|
-
transactionid: transaction_id
|
29
|
-
sampletxid: sample_txid
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
mainnet:
|
34
|
-
url: mainurl
|
35
|
-
rkuser: rkuser
|
36
|
-
passwd: rkpwd
|
37
|
-
chain: main-chain
|
38
|
-
port: mainport
|
39
|
-
stream: streamname
|
40
|
-
testdata: main_data
|
41
|
-
amount: main_amount
|
42
|
-
dumptxid: main_txid
|
43
|
-
privatekey: main_privkey
|
44
|
-
validaddress: valid_address
|
45
|
-
invalidaddress: invalid_address
|
46
|
-
miningaddress: mining_address
|
47
|
-
nonminingaddress: nonmining_address
|
48
|
-
multisigaddress: multisig_address
|
49
|
-
wrongimportaddress: wrongimport_address
|
50
|
-
mainaddress: main_address
|
51
|
-
permissionaddress: permission_address
|
52
|
-
dumptxhex: dump_txhex
|
53
|
-
dumpsignedtxhex: dump_signedtxhex
|
54
|
-
samplegetmultisigaddress: sample_multisigaddress
|
55
|
-
samplemerkleroot: sample_merkleroot
|
56
|
-
sampleblockhash: sample_blockhash
|
57
|
-
sampledata: sample_data
|
58
|
-
sampletransac: sample_transaction_id
|
59
|
-
transactionid: transaction_id
|
60
|
-
sampletxid: sample_txid
|
data/sample_config.yaml
DELETED
@@ -1,60 +0,0 @@
|
|
1
|
-
# config.yaml
|
2
|
-
testnet:
|
3
|
-
url: testurl
|
4
|
-
rkuser: rkuser
|
5
|
-
passwd: rkpwd
|
6
|
-
chain: test-chain
|
7
|
-
port: testport
|
8
|
-
stream: streamname
|
9
|
-
testdata: test_data
|
10
|
-
amount: test_amount
|
11
|
-
dumptxid: test_txid
|
12
|
-
privatekey: test_privkey
|
13
|
-
validaddress: valid_address
|
14
|
-
invalidaddress: invalid_address
|
15
|
-
miningaddress: mining_address
|
16
|
-
nonminingaddress: nonmining_address
|
17
|
-
multisigaddress: multisig_address
|
18
|
-
wrongimportaddress: wrongimport_address
|
19
|
-
mainaddress: main_address
|
20
|
-
permissionaddress: permission_address
|
21
|
-
dumptxhex: dump_txhex
|
22
|
-
dumpsignedtxhex: dump_signedtxhex
|
23
|
-
samplegetmultisigaddress: sample_multisigaddress
|
24
|
-
samplemerkleroot: sample_merkleroot
|
25
|
-
sampleblockhash: sample_blockhash
|
26
|
-
sampledata: sample_data
|
27
|
-
sampletransac: sample_transaction_id
|
28
|
-
transactionid: transaction_id
|
29
|
-
sampletxid: sample_txid
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
mainnet:
|
34
|
-
url: mainurl
|
35
|
-
rkuser: rkuser
|
36
|
-
passwd: rkpwd
|
37
|
-
chain: main-chain
|
38
|
-
port: mainport
|
39
|
-
stream: streamname
|
40
|
-
testdata: main_data
|
41
|
-
amount: main_amount
|
42
|
-
dumptxid: main_txid
|
43
|
-
privatekey: main_privkey
|
44
|
-
validaddress: valid_address
|
45
|
-
invalidaddress: invalid_address
|
46
|
-
miningaddress: mining_address
|
47
|
-
nonminingaddress: nonmining_address
|
48
|
-
multisigaddress: multisig_address
|
49
|
-
wrongimportaddress: wrongimport_address
|
50
|
-
mainaddress: main_address
|
51
|
-
permissionaddress: permission_address
|
52
|
-
dumptxhex: dump_txhex
|
53
|
-
dumpsignedtxhex: dump_signedtxhex
|
54
|
-
samplegetmultisigaddress: sample_multisigaddress
|
55
|
-
samplemerkleroot: sample_merkleroot
|
56
|
-
sampleblockhash: sample_blockhash
|
57
|
-
sampledata: sample_data
|
58
|
-
sampletransac: sample_transaction_id
|
59
|
-
transactionid: transaction_id
|
60
|
-
sampletxid: sample_txid
|