radiator 0.4.5 → 0.4.8.pre.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -0
  3. data/README.md +11 -11
  4. data/Rakefile +50 -20
  5. data/lib/radiator.rb +3 -1
  6. data/lib/radiator/api.rb +105 -14
  7. data/lib/radiator/bridge.rb +34 -0
  8. data/lib/radiator/chain_config.rb +9 -2
  9. data/lib/radiator/database_api.rb +1 -1
  10. data/lib/radiator/follow_api.rb +1 -1
  11. data/lib/radiator/market_history_api.rb +1 -1
  12. data/lib/radiator/operation.rb +3 -2
  13. data/lib/radiator/operation_types.rb +43 -27
  14. data/lib/radiator/ssc/base_steem_smart_contract_rpc.rb +52 -10
  15. data/lib/radiator/ssc/blockchain.rb +10 -0
  16. data/lib/radiator/ssc/contracts.rb +17 -0
  17. data/lib/radiator/stream.rb +15 -6
  18. data/lib/radiator/transaction.rb +41 -1
  19. data/lib/radiator/type/amount.rb +26 -50
  20. data/lib/radiator/type/beneficiaries.rb +8 -1
  21. data/lib/radiator/type/price.rb +2 -2
  22. data/lib/radiator/version.rb +1 -1
  23. data/radiator.gemspec +15 -13
  24. data/test/fixtures/empty.json +1 -0
  25. data/test/fixtures/error.json +29 -0
  26. data/test/fixtures/follow_api_get_followers.json +1 -0
  27. data/test/fixtures/get_account.json +165 -0
  28. data/test/fixtures/get_account_count.json +1 -0
  29. data/test/fixtures/get_account_references.json +1 -0
  30. data/test/fixtures/get_block.json +193 -0
  31. data/test/fixtures/get_dynamic_global_properties.json +32 -0
  32. data/test/fixtures/get_feed_history.json +684 -0
  33. data/test/fixtures/get_hardfork_version.json +1 -0
  34. data/test/fixtures/get_key_references.json +14 -0
  35. data/test/fixtures/get_stats_for_time.json +57 -0
  36. data/test/fixtures/get_vesting_delegation.json +936 -0
  37. data/test/fixtures/golos_get_dynamic_global_properties.json +32 -0
  38. data/test/fixtures/market_history_api_get_market_history_buckets.json +1 -0
  39. data/test/fixtures/market_history_api_get_order_book.json +109 -0
  40. data/test/fixtures/market_history_api_get_recent_trades.json +55 -0
  41. data/test/fixtures/market_history_api_get_ticker.json +11 -0
  42. data/test/fixtures/market_history_api_get_volume.json +1 -0
  43. data/test/fixtures/null.json +1 -0
  44. data/test/fixtures/vcr_cassettes/account_by_key_api_all_methods.yml +631 -0
  45. data/test/fixtures/vcr_cassettes/account_by_key_api_jsonrpc.yml +52 -0
  46. data/test/fixtures/vcr_cassettes/all_methods.yml +18155 -0
  47. data/test/fixtures/vcr_cassettes/api_all_methods.yml +13419 -0
  48. data/test/fixtures/vcr_cassettes/base_per_debt.yml +5408 -0
  49. data/test/fixtures/vcr_cassettes/base_per_mvest.yml +4351 -0
  50. data/test/fixtures/vcr_cassettes/block_time.yml +3687 -0
  51. data/test/fixtures/vcr_cassettes/broadcast_transaction.yml +1186 -0
  52. data/test/fixtures/vcr_cassettes/condenser_all_all_methods.yml +13462 -0
  53. data/test/fixtures/vcr_cassettes/condenser_api_jsonrpc.yml +51 -0
  54. data/test/fixtures/vcr_cassettes/expiration_initialize.yml +3997 -0
  55. data/test/fixtures/vcr_cassettes/find_account.yml +4004 -0
  56. data/test/fixtures/vcr_cassettes/find_block.yml +3946 -0
  57. data/test/fixtures/vcr_cassettes/find_comment.yml +12457 -0
  58. data/test/fixtures/vcr_cassettes/follow_api_jsonrpc.yml +52 -0
  59. data/test/fixtures/vcr_cassettes/get_account_count.yml +627 -0
  60. data/test/fixtures/vcr_cassettes/get_account_references.yml +663 -0
  61. data/test/fixtures/vcr_cassettes/get_accounts.yml +735 -0
  62. data/test/fixtures/vcr_cassettes/get_accounts_no_argument.yml +663 -0
  63. data/test/fixtures/vcr_cassettes/get_dynamic_global_properties.yml +721 -0
  64. data/test/fixtures/vcr_cassettes/get_feed_history.yml +1201 -0
  65. data/test/fixtures/vcr_cassettes/get_hardfork_version.yml +629 -0
  66. data/test/fixtures/vcr_cassettes/get_key_references.yml +1091 -0
  67. data/test/fixtures/vcr_cassettes/get_market_history.yml +1147 -0
  68. data/test/fixtures/vcr_cassettes/get_market_history_buckets.yml +1147 -0
  69. data/test/fixtures/vcr_cassettes/get_order_book.yml +1195 -0
  70. data/test/fixtures/vcr_cassettes/get_recent_trades.yml +1147 -0
  71. data/test/fixtures/vcr_cassettes/get_ticker.yml +1151 -0
  72. data/test/fixtures/vcr_cassettes/get_trade_history.yml +1153 -0
  73. data/test/fixtures/vcr_cassettes/get_vesting_delegations.yml +575 -0
  74. data/test/fixtures/vcr_cassettes/get_volume.yml +1155 -0
  75. data/test/fixtures/vcr_cassettes/get_witness_by_account.yml +627 -0
  76. data/test/fixtures/vcr_cassettes/look_up_witnesses.yml +575 -0
  77. data/test/fixtures/vcr_cassettes/market_history_api_all_methods.yml +4373 -0
  78. data/test/fixtures/vcr_cassettes/network_broadcast_api_all_methods.yml +1288 -0
  79. data/test/fixtures/vcr_cassettes/properties.yml +3992 -0
  80. data/test/fixtures/vcr_cassettes/recover_transaction.yml +1211 -0
  81. data/test/fixtures/vcr_cassettes/ssc_blockchain_block_info.yml +92 -0
  82. data/test/fixtures/vcr_cassettes/ssc_blockchain_block_info_invalid.yml +90 -0
  83. data/test/fixtures/vcr_cassettes/ssc_blockchain_latest_block_info.yml +91 -0
  84. data/test/fixtures/vcr_cassettes/ssc_blockchain_transaction_info.yml +92 -0
  85. data/test/fixtures/vcr_cassettes/ssc_contracts_contract.yml +366 -0
  86. data/test/fixtures/vcr_cassettes/ssc_contracts_find.yml +91 -0
  87. data/test/fixtures/vcr_cassettes/ssc_contracts_find_one.yml +89 -0
  88. data/test/fixtures/vcr_cassettes/stream_jsonrpc.yml +9175 -0
  89. data/test/fixtures/vcr_cassettes/transaction_expiration_initialize_nil.yml +3743 -0
  90. data/test/fixtures/vcr_cassettes/transaction_jsonrpc.yml +151 -0
  91. data/test/fixtures/vcr_cassettes/unknown_chain_id.yml +3869 -0
  92. data/test/fixtures/vcr_cassettes/valid_chains.yml +3427 -0
  93. data/test/radiator/account_by_key_api_test.rb +46 -0
  94. data/test/radiator/api_test.rb +135 -0
  95. data/test/radiator/chain_stats_api_test.rb +49 -0
  96. data/test/radiator/chain_test.rb +153 -0
  97. data/test/radiator/condenser_api_test.rb +48 -0
  98. data/test/radiator/follow_api_test.rb +48 -0
  99. data/test/radiator/market_history_api_test.rb +100 -0
  100. data/test/radiator/network_broadcast_api_test.rb +48 -0
  101. data/test/radiator/operation_test.rb +117 -0
  102. data/test/radiator/ssc/blockchain_test.rb +58 -0
  103. data/test/radiator/ssc/contracts_test.rb +65 -0
  104. data/test/radiator/stream_test.rb +48 -0
  105. data/test/radiator/tag_api_test.rb +40 -0
  106. data/test/radiator/transaction_test.rb +755 -0
  107. data/test/test_helper.rb +66 -0
  108. metadata +190 -80
  109. data/.codeclimate.yml +0 -19
  110. data/.gitignore +0 -52
  111. data/.travis.yml +0 -23
  112. data/gource.sh +0 -8
  113. data/images/Anthony Martin.png +0 -0
  114. data/images/Marvin Hofmann.jpg +0 -0
  115. data/images/Marvin Hofmann.png +0 -0
  116. data/lib/steem.rb +0 -17
@@ -1,57 +1,33 @@
1
+ # @deprecated Using Radiator::Type::Amount class provided is deprecated. Please use: Hive::Type::Amount
1
2
  module Radiator
2
3
  module Type
3
-
4
- # See: https://github.com/xeroc/piston-lib/blob/34a7525cee119ec9b24a99577ede2d54466fca0e/steembase/operations.py
5
- class Amount < Serializer
6
- def initialize(value)
7
- super(:amount, value)
8
-
9
- case value
10
- when ::Array
11
- a, p, t = value
12
- @asset = case t
13
- when '@@000000013' then 'SBD'
14
- when '@@000000021' then 'STEEM'
15
- when '@@000000037' then 'VESTS'
16
- else; raise TypeError, "Asset #{@asset} unknown."
17
- end
18
- @precision = p
19
- @amount = "%.#{p}f" % (a.to_f / 10 ** p)
20
- else
21
- @amount, @asset = value.strip.split(' ')
22
- @precision = case @asset
23
- when 'STEEM' then 3
24
- when 'VESTS' then 6
25
- when 'SBD' then 3
26
- when 'CORE' then 3
27
- when 'CESTS' then 6
28
- when 'TEST' then 3
29
- else; raise TypeError, "Asset #{@asset} unknown."
30
- end
4
+ class Amount < Hive::Type::Amount
5
+ def initialize(options = {})
6
+ unless defined? @@deprecated_warning_shown
7
+ warn "[DEPRECATED] Using Radiator::Type::Amount class provided is deprecated. Please use: Hive::Type::Amount"
8
+ @@deprecated_warning_shown = true
9
+
10
+ super(options.merge(chain: :steem))
31
11
  end
32
12
  end
33
-
34
- def to_bytes
35
- asset = @asset.ljust(7, "\x00")
36
- amount = (@amount.to_f * 10 ** @precision).round
37
-
38
- [amount].pack('q') +
39
- [@precision].pack('c') +
40
- asset
41
- end
42
-
43
- def to_a
44
- case @asset
45
- when 'STEEM' then [(@amount.to_f * 1000).to_i.to_s, 3, '@@000000021']
46
- when 'VESTS' then [(@amount.to_f * 1000000).to_i.to_s, 6, '@@000000037']
47
- when 'SBD' then [(@amount.to_f * 1000).to_i.to_s, 3, '@@000000013']
48
- else; raise TypeError, "Asset #{@asset} unknown."
49
- end
50
- end
51
-
52
- def to_s
53
- "#{@amount} #{@asset}"
54
- end
55
13
  end
56
14
  end
57
15
  end
16
+
17
+ # Patch for legacy serializer.
18
+ class Hive::Type::Amount
19
+ def to_bytes
20
+ asset = case @asset
21
+ when 'HBD' then 'SBD'
22
+ when 'HIVE' then 'STEEM'
23
+ else; @asset
24
+ end
25
+
26
+ asset = asset.ljust(7, "\x00")
27
+ amount = (@amount.to_f * 10 ** @precision).round
28
+
29
+ [amount].pack('q') +
30
+ [@precision].pack('c') +
31
+ asset
32
+ end
33
+ end
@@ -7,7 +7,14 @@ module Radiator
7
7
  end
8
8
 
9
9
  def to_bytes
10
- pakArr([]) + pakHash(@value)
10
+ #set sz 1, op type 0, see
11
+ #https://github.com/steemit/steem-js/blob/733332d09582e95c0ea868a6ac5b6ee8a1f115ee/src/auth/serializer/src/operations.js#L355
12
+ varint(1) + varint(0) + varint(@value.size) + @value.map do |b|
13
+ case b
14
+ when ::Array then pakStr(b.first.to_s) + pakS(b.last)
15
+ else; pakStr(b.keys.first.to_s) + pakS(b.values.first)
16
+ end
17
+ end.join
11
18
  end
12
19
 
13
20
  def to_h
@@ -5,8 +5,8 @@ module Radiator
5
5
  def initialize(value)
6
6
  super(:price, value)
7
7
 
8
- @base = Amount.new(@value[:base])
9
- @quote = Amount.new(@value[:quote])
8
+ @base = Hive::Type::Amount.new(@value[:base])
9
+ @quote = Hive::Type::Amount.new(@value[:quote])
10
10
  end
11
11
 
12
12
  def to_bytes
@@ -1,4 +1,4 @@
1
1
  module Radiator
2
- VERSION = '0.4.5'
2
+ VERSION = '0.4.8.pre.2'
3
3
  AGENT_ID = "radiator/#{VERSION}"
4
4
  end
@@ -9,34 +9,36 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ['Anthony Martin']
10
10
  spec.email = ['radiator@martin-studio.com']
11
11
 
12
- spec.summary = %q{STEEM RPC Ruby Client}
13
- spec.description = %q{Client for accessing the STEEM blockchain.}
12
+ spec.summary = %q{Hive/Steem RPC Ruby Client}
13
+ spec.description = %q{Client for accessing the Hive/Steem blockchain.}
14
14
  spec.homepage = 'https://github.com/inertia186/radiator'
15
15
  spec.license = 'CC0-1.0'
16
16
 
17
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test)/}) }
17
+ spec.files = Dir['lib/**/*', 'test/**/*', 'Gemfile', 'LICENSE', 'Rakefile', 'README.md', 'radiator.gemspec']
18
18
  spec.require_paths = ['lib']
19
19
 
20
20
  spec.add_development_dependency 'bundler', '~> 2.0', '>= 2.0.1'
21
- spec.add_development_dependency 'rake', '~> 12.1', '>= 12.1.0'
21
+ spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.1'
22
22
  spec.add_development_dependency 'minitest', '~> 5.10', '>= 5.10.3'
23
23
  spec.add_development_dependency 'minitest-line', '~> 0.6.3'
24
24
  spec.add_development_dependency 'minitest-proveit', '~> 1.0', '>= 1.0.0'
25
- spec.add_development_dependency 'webmock', '~> 3.1', '>= 3.1.0'
26
- spec.add_development_dependency 'simplecov', '~> 0.16.1'
27
- spec.add_development_dependency 'vcr', '~> 4.0', '>= 4.0.0'
28
- spec.add_development_dependency 'yard', '~> 0.9.9'
25
+ spec.add_development_dependency 'webmock', '~> 3.6', '>= 3.6.0'
26
+ spec.add_development_dependency 'simplecov', '~> 0.19.0'
27
+ spec.add_development_dependency 'vcr', '~> 6.0', '>= 6.0.0'
28
+ spec.add_development_dependency 'yard', '~> 0.9.20'
29
29
  spec.add_development_dependency 'pry', '~> 0.11', '>= 0.11.3'
30
30
  spec.add_development_dependency 'rb-readline', '~> 0.5', '>= 0.5.5'
31
- spec.add_development_dependency 'irb', '~> 1.0', '>= 1.0.0'
31
+ spec.add_development_dependency 'irb', '~> 1.2', '>= 1.2.1'
32
32
 
33
33
  # net-http-persistent has an open-ended dependency because radiator directly
34
- # supports net-http-persistent-3.0.0 as well as net-http-persistent-2.5.2.
34
+ # supports net-http-persistent-4.0.0 as well as net-http-persistent-2.5.2.
35
35
  spec.add_dependency('net-http-persistent', '>= 2.5.2')
36
+ spec.add_dependency('steem-ruby', '~> 0.9', '>= 0.9.4')
37
+ spec.add_dependency('hive-ruby', '~> 1.0', '>= 1.0.1')
36
38
  spec.add_dependency('json', '~> 2.0', '>= 2.0.2')
37
39
  spec.add_dependency('logging', '~> 2.2', '>= 2.2.0')
38
- spec.add_dependency('hashie', '~> 3.5', '>= 3.5.5')
39
- spec.add_dependency('bitcoin-ruby', '~> 0.0', '>= 0.0.11')
40
- spec.add_dependency('ffi', '~> 1.9', '>= 1.9.18')
40
+ spec.add_dependency('hashie', '~> 4.1', '>= 3.5.7')
41
+ spec.add_dependency('bitcoin-ruby', '0.0.20') # (was 0.0.19)
42
+ spec.add_dependency('ffi', '~> 1.9', '>= 1.9.18') # (was 1.11.2)
41
43
  spec.add_dependency('awesome_print', '~> 1.7', '>= 1.7.0')
42
44
  end
@@ -0,0 +1 @@
1
+ {"id":1,"result":[]}
@@ -0,0 +1,29 @@
1
+ {
2
+ "id":1,
3
+ "error":{
4
+ "code":1,
5
+ "message":"10 assert_exception: Assert Exception\na0 != e: too few arguments passed to method\n {}\n th_a api_connection.hpp:165 call_generic",
6
+ "data":{
7
+ "code":10,
8
+ "name":"assert_exception",
9
+ "message":"Assert Exception",
10
+ "stack":[
11
+ {
12
+ "context":{
13
+ "level":"error",
14
+ "file":"api_connection.hpp",
15
+ "line":165,
16
+ "method":"call_generic",
17
+ "hostname":"",
18
+ "thread_name":"th_a",
19
+ "timestamp":"2016-08-20T18:15:07"
20
+ },
21
+ "format":"a0 != e: too few arguments passed to method",
22
+ "data":{
23
+
24
+ }
25
+ }
26
+ ]
27
+ }
28
+ }
29
+ }
@@ -0,0 +1 @@
1
+ {"id":1,"result":[{"id":"8.0.92583","follower":"a11at","following":"inertia","what":["blog"]},{"id":"8.0.39686","follower":"abarefootpoet","following":"inertia","what":["blog"]},{"id":"8.0.104952","follower":"abit","following":"inertia","what":["blog"]},{"id":"8.0.81725","follower":"alexgr","following":"inertia","what":["blog"]},{"id":"8.0.55176","follower":"alexoz","following":"inertia","what":["blog"]},{"id":"8.0.99137","follower":"andressilvera","following":"inertia","what":["blog"]},{"id":"8.0.141035","follower":"applecrisp","following":"inertia","what":["blog"]},{"id":"8.0.11607","follower":"arrowj","following":"inertia","what":["blog"]},{"id":"8.0.12425","follower":"artificial","following":"inertia","what":["blog"]},{"id":"8.0.145212","follower":"ash","following":"inertia","what":["blog"]},{"id":"8.0.12966","follower":"ausbitbank","following":"inertia","what":["blog"]},{"id":"8.0.32102","follower":"beachbum","following":"inertia","what":["blog"]},{"id":"8.0.93711","follower":"ben99","following":"inertia","what":["blog"]},{"id":"8.0.120952","follower":"benadapt","following":"inertia","what":["blog"]},{"id":"8.0.28247","follower":"bimmerhead","following":"inertia","what":["blog"]},{"id":"8.0.95505","follower":"bleepcoin","following":"inertia","what":["blog"]},{"id":"8.0.15571","follower":"bondor","following":"inertia","what":["blog"]},{"id":"8.0.57400","follower":"cashbandicoot","following":"inertia","what":["blog"]},{"id":"8.0.100127","follower":"cian.dafe","following":"inertia","what":["blog"]},{"id":"8.0.116778","follower":"condra","following":"inertia","what":["blog"]},{"id":"8.0.5965","follower":"cousteau","following":"inertia","what":["blog"]},{"id":"8.0.161981","follower":"cryptojoy.com","following":"inertia","what":["blog"]},{"id":"8.0.102614","follower":"dajohns1420","following":"inertia","what":["blog"]},{"id":"8.0.148670","follower":"davidbrogan","following":"inertia","what":["blog"]},{"id":"8.0.117953","follower":"dennygalindo","following":"inertia","what":["blog"]},{"id":"8.0.111506","follower":"digitalhound","following":"inertia","what":["blog"]},{"id":"8.0.152965","follower":"discombobulated","following":"inertia","what":["blog"]},{"id":"8.0.118278","follower":"domavila","following":"inertia","what":["blog"]},{"id":"8.0.133707","follower":"donnie","following":"inertia","what":["blog"]},{"id":"8.0.51439","follower":"e-dubby","following":"inertia","what":["blog"]},{"id":"8.0.51539","follower":"edtorrez","following":"inertia","what":["blog"]},{"id":"8.0.107246","follower":"elfremzy1985","following":"inertia","what":["blog"]},{"id":"8.0.52564","follower":"envisionva","following":"inertia","what":["blog"]},{"id":"8.0.9107","follower":"fkn","following":"inertia","what":["blog"]},{"id":"8.0.72587","follower":"forrestwillie","following":"inertia","what":["blog"]},{"id":"8.0.160223","follower":"foxxycat","following":"inertia","what":["blog"]},{"id":"8.0.150777","follower":"freshgoals","following":"inertia","what":["blog"]},{"id":"8.0.26187","follower":"future24","following":"inertia","what":["blog"]},{"id":"8.0.106860","follower":"fyrstikken","following":"inertia","what":["blog"]},{"id":"8.0.67648","follower":"gardenlady","following":"inertia","what":["blog"]},{"id":"8.0.16173","follower":"georgedonnelly","following":"inertia","what":["blog"]},{"id":"8.0.102115","follower":"gir88","following":"inertia","what":["blog"]},{"id":"8.0.24887","follower":"gonzotron","following":"inertia","what":["blog"]},{"id":"8.0.67993","follower":"greenman","following":"inertia","what":["blog"]},{"id":"8.0.133792","follower":"harand","following":"inertia","what":["blog"]},{"id":"8.0.40891","follower":"harveywoods","following":"inertia","what":["blog"]},{"id":"8.0.72866","follower":"hdphotography","following":"inertia","what":["blog"]},{"id":"8.0.154487","follower":"heretickitten","following":"inertia","what":["blog"]},{"id":"8.0.48008","follower":"inkha","following":"inertia","what":["blog"]},{"id":"8.0.129474","follower":"ivanba12","following":"inertia","what":["blog"]},{"id":"8.0.10884","follower":"jaimejean","following":"inertia","what":["blog"]},{"id":"8.0.88324","follower":"jennamarbles","following":"inertia","what":["blog"]},{"id":"8.0.80271","follower":"joelinux","following":"inertia","what":["blog"]},{"id":"8.0.91828","follower":"joseph","following":"inertia","what":["blog"]},{"id":"8.0.168035","follower":"jtstreetman","following":"inertia","what":["blog"]},{"id":"8.0.26704","follower":"juicyg","following":"inertia","what":["blog"]},{"id":"8.0.90991","follower":"kirby1","following":"inertia","what":["blog"]},{"id":"8.0.133797","follower":"klye","following":"inertia","what":["blog"]},{"id":"8.0.93961","follower":"konti","following":"inertia","what":["blog"]},{"id":"8.0.51073","follower":"kooshikoo","following":"inertia","what":["blog"]},{"id":"8.0.124737","follower":"kristina011891","following":"inertia","what":["blog"]},{"id":"8.0.78450","follower":"kryptik","following":"inertia","what":["blog"]},{"id":"8.0.73220","follower":"lapingvino","following":"inertia","what":["blog"]},{"id":"8.0.71722","follower":"liberosist","following":"inertia","what":["blog"]},{"id":"8.0.104773","follower":"lovejoy","following":"inertia","what":["blog"]},{"id":"8.0.92561","follower":"macartem","following":"inertia","what":["blog"]},{"id":"8.0.123946","follower":"malxdrakon","following":"inertia","what":["blog"]},{"id":"8.0.118475","follower":"mark-waser","following":"inertia","what":["blog"]},{"id":"8.0.51734","follower":"matherly","following":"inertia","what":["blog"]},{"id":"8.0.6855","follower":"mctiller","following":"inertia","what":["blog"]},{"id":"8.0.58118","follower":"meesterboom","following":"inertia","what":["blog"]},{"id":"8.0.90293","follower":"melawanarus","following":"inertia","what":["blog"]},{"id":"8.0.118346","follower":"mikehere","following":"inertia","what":["blog"]},{"id":"8.0.145767","follower":"mosab","following":"inertia","what":["blog"]},{"id":"8.0.7027","follower":"nastrom","following":"inertia","what":["blog"]},{"id":"8.0.95044","follower":"naturalista","following":"inertia","what":["blog"]},{"id":"8.0.51819","follower":"nexusvortex616","following":"inertia","what":["blog"]},{"id":"8.0.32354","follower":"nonlinearone","following":"inertia","what":["blog"]},{"id":"8.0.35308","follower":"patrice","following":"inertia","what":["blog"]},{"id":"8.0.143273","follower":"penguinpablo","following":"inertia","what":["blog"]},{"id":"8.0.51014","follower":"pjheinz","following":"inertia","what":["blog"]},{"id":"8.0.145072","follower":"politicasan2","following":"inertia","what":["blog"]},{"id":"8.0.90973","follower":"powmonkey","following":"inertia","what":["blog"]},{"id":"8.0.35805","follower":"randyclemens","following":"inertia","what":["blog"]},{"id":"8.0.53874","follower":"razvanelulmarin","following":"inertia","what":["blog"]},{"id":"8.0.78276","follower":"repholder","following":"inertia","what":["blog"]},{"id":"8.0.9005","follower":"ridji","following":"inertia","what":["blog"]},{"id":"8.0.150998","follower":"rook","following":"inertia","what":["blog"]},{"id":"8.0.102282","follower":"royaltiffany","following":"inertia","what":["blog"]},{"id":"8.0.70032","follower":"samupaha","following":"inertia","what":["blog"]},{"id":"8.0.5660","follower":"seb","following":"inertia","what":["blog"]},{"id":"8.0.87906","follower":"shadowspub","following":"inertia","what":["blog"]},{"id":"8.0.116079","follower":"skapaneas","following":"inertia","what":["blog"]},{"id":"8.0.163256","follower":"skyefox","following":"inertia","what":["blog"]},{"id":"8.0.106050","follower":"spookypooky","following":"inertia","what":["blog"]},{"id":"8.0.50974","follower":"steemitqa","following":"inertia","what":["blog"]},{"id":"8.0.79981","follower":"steemlinks","following":"inertia","what":["blog"]},{"id":"8.0.137698","follower":"steemreporter","following":"inertia","what":["blog"]},{"id":"8.0.78917","follower":"steemychicken1","following":"inertia","what":["blog"]},{"id":"8.0.82309","follower":"steemzine","following":"inertia","what":["blog"]}]}
@@ -0,0 +1,165 @@
1
+ {
2
+ "id":1,
3
+ "result":[
4
+ {
5
+ "id":19155,
6
+ "name":"inertia",
7
+ "owner":{
8
+ "weight_threshold":1,
9
+ "account_auths":[
10
+
11
+ ],
12
+ "key_auths":[
13
+ [
14
+ "STM7T5DRhNkp5RpiFrarPfLGXEnU6yk5jLFokfmyJThgRwtLpJuKM",
15
+ 1
16
+ ]
17
+ ]
18
+ },
19
+ "active":{
20
+ "weight_threshold":1,
21
+ "account_auths":[
22
+
23
+ ],
24
+ "key_auths":[
25
+ [
26
+ "STM8Vj2LTHrZabhxsMDfWnquBf7212YRBpkjEmhGEQ9JQpEUtcr6P",
27
+ 1
28
+ ]
29
+ ]
30
+ },
31
+ "posting":{
32
+ "weight_threshold":1,
33
+ "account_auths":[
34
+ [
35
+ "streemian",
36
+ 1
37
+ ]
38
+ ],
39
+ "key_auths":[
40
+ [
41
+ "STM5iR38ZUVWhrsSsggfCwhetnffJkDZ6b1Px9XiG4woF4DxrwVHj",
42
+ 1
43
+ ]
44
+ ]
45
+ },
46
+ "memo_key":"STM6hNw2oxZLAERBBArbLkgquM2mtpiGZoJ49Ya5267NzpoSs4NrT",
47
+ "json_metadata":"{\"git\":{\"radiator\":{\"https\":{\"type\":\"https\",\"name\":\"radiator\",\"value\":\"https://github.com/inertia186/radiator\",\"projecturl\":\"radiator\"}}},\"squeek\":{\"profilePicture\":\"https://img1.steemit.com/0x0/http://i.imgur.com/LbTz5yg.jpg\"},\"version\":\"0.0.1\",\"profile\":{\"email\":\"steemit@martin-studio.com\",\"location\":\"California\",\"timezone\":\"-7\",\"locale\":\"en_US\",\"languages\":[\"en\"],\"profile_image\":\"https://img1.steemit.com/0x0/http://i.imgur.com/LbTz5yg.jpg\",\"cover_image\":\"https://img1.steemit.com/0x0/https://i.imgur.com/0ccC6UH.png\",\"name\":\"inertia Ⓐ³\",\"about\":\"non-guru\",\"website\":\"http://inertia.freedom-blogs.com/\"}}",
48
+ "proxy":"",
49
+ "last_owner_update":"2016-10-20T21:49:27",
50
+ "last_account_update":"2016-12-02T22:31:21",
51
+ "created":"2016-07-13T06:44:33",
52
+ "mined":false,
53
+ "owner_challenged":false,
54
+ "active_challenged":false,
55
+ "last_owner_proved":"1970-01-01T00:00:00",
56
+ "last_active_proved":"1970-01-01T00:00:00",
57
+ "recovery_account":"steem",
58
+ "last_account_recovery":"2016-07-21T05:49:33",
59
+ "reset_account":"null",
60
+ "comment_count":0,
61
+ "lifetime_vote_count":0,
62
+ "post_count":1489,
63
+ "can_vote":true,
64
+ "voting_power":9929,
65
+ "last_vote_time":"2017-04-26T15:34:21",
66
+ "balance":"0.000 STEEM",
67
+ "savings_balance":"0.000 STEEM",
68
+ "sbd_balance":"0.000 SBD",
69
+ "sbd_seconds":"10232004279",
70
+ "sbd_seconds_last_update":"2017-04-25T22:10:48",
71
+ "sbd_last_interest_payment":"2017-04-21T06:16:57",
72
+ "savings_sbd_balance":"0.000 SBD",
73
+ "savings_sbd_seconds":"6420926232",
74
+ "savings_sbd_seconds_last_update":"2016-12-22T20:28:03",
75
+ "savings_sbd_last_interest_payment":"2016-12-12T06:49:42",
76
+ "savings_withdraw_requests":0,
77
+ "reward_sbd_balance":"0.248 SBD",
78
+ "reward_steem_balance":"0.000 STEEM",
79
+ "reward_vesting_balance":"423736.309617 VESTS",
80
+ "reward_vesting_steem":"204.084 STEEM",
81
+ "vesting_shares":"51666407.059646 VESTS",
82
+ "delegated_vesting_shares":"855000.000000 VESTS",
83
+ "received_vesting_shares":"3441788.425745 VESTS",
84
+ "vesting_withdraw_rate":"0.000000 VESTS",
85
+ "next_vesting_withdrawal":"1969-12-31T23:59:59",
86
+ "withdrawn":0,
87
+ "to_withdraw":0,
88
+ "withdraw_routes":0,
89
+ "curation_rewards":878595,
90
+ "posting_rewards":10115584,
91
+ "proxied_vsf_votes":[
92
+ "9981561512772",
93
+ 0,
94
+ 0,
95
+ 0
96
+ ],
97
+ "witnesses_voted_for":27,
98
+ "average_bandwidth":272926088,
99
+ "lifetime_bandwidth":"4400517000000",
100
+ "last_bandwidth_update":"2017-03-30T14:12:48",
101
+ "average_market_bandwidth":126680736,
102
+ "last_market_bandwidth_update":"2017-03-29T16:23:42",
103
+ "last_post":"2017-04-26T05:20:42",
104
+ "last_root_post":"2017-04-25T17:48:21",
105
+ "post_bandwidth":13323,
106
+ "new_average_bandwidth":"70551028916",
107
+ "new_average_market_bandwidth":"27734050257",
108
+ "vesting_balance":"0.000 STEEM",
109
+ "reputation":"85159144509014",
110
+ "transfer_history":[
111
+
112
+ ],
113
+ "market_history":[
114
+
115
+ ],
116
+ "post_history":[
117
+
118
+ ],
119
+ "vote_history":[
120
+
121
+ ],
122
+ "other_history":[
123
+
124
+ ],
125
+ "witness_votes":[
126
+ "abit",
127
+ "anyx",
128
+ "bacchist",
129
+ "bitcoiner",
130
+ "bitcoinparadise",
131
+ "boatymcboatface",
132
+ "busy.witness",
133
+ "chainsquad.com",
134
+ "charlieshrem",
135
+ "codydeeds",
136
+ "complexring",
137
+ "furion",
138
+ "fyrst-witness",
139
+ "good-karma",
140
+ "gtg",
141
+ "jesta",
142
+ "klye",
143
+ "masteryoda",
144
+ "pfunk",
145
+ "pharesim",
146
+ "proctologic",
147
+ "riverhead",
148
+ "roadscape",
149
+ "roelandp",
150
+ "smooth.witness",
151
+ "someguy123",
152
+ "teamsteem"
153
+ ],
154
+ "tags_usage":[
155
+
156
+ ],
157
+ "guest_bloggers":[
158
+
159
+ ],
160
+ "blog_category":{
161
+
162
+ }
163
+ }
164
+ ]
165
+ }
@@ -0,0 +1 @@
1
+ {"id":1,"result":70325}
@@ -0,0 +1 @@
1
+ {"id":1,"error":{"code":1,"message":"10 assert_exception: Assert Exception\nfalse: database_api::get_account_references --- Needs to be refactored for steem.\n {}\n th_a database_api.cpp:378 get_account_references","data":{"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"database_api.cpp","line":378,"method":"get_account_references","hostname":"","thread_name":"th_a","timestamp":"2016-08-19T19:16:58"},"format":"false: database_api::get_account_references --- Needs to be refactored for steem.","data":{}}]}}}
@@ -0,0 +1,193 @@
1
+ {
2
+ "id":1,
3
+ "result":{
4
+ "previous":"004d1737ddbbf344b2a765e32fb162fe656ef640",
5
+ "timestamp":"2016-09-17T15:44:15",
6
+ "witness":"joseph",
7
+ "transaction_merkle_root":"964d29863541cc9bcd18eda78f2781f404b726b4",
8
+ "extensions":[
9
+
10
+ ],
11
+ "witness_signature":"1f217441dafa45f98d9d7181eed86a413890c4104296a7998721da75063fb8cd27223e37208f524f0ae44462f1a91e3991b48e3ddecdfa55a6222307d74c809c49",
12
+ "transactions":[
13
+ {
14
+ "ref_block_num":5933,
15
+ "ref_block_prefix":2081023643,
16
+ "expiration":"2016-09-17T15:44:24",
17
+ "operations":[
18
+ [
19
+ "comment",
20
+ {
21
+ "parent_author":"steevc",
22
+ "parent_permlink":"re-rubenalexander-little-man-big-heart-original-composed-2001-ish-20160917t150742986z",
23
+ "author":"rubenalexander",
24
+ "permlink":"re-steevc-re-rubenalexander-little-man-big-heart-original-composed-2001-ish-20160917t154411980z",
25
+ "title":"",
26
+ "body":"Standard E. The partial capo is quite magical.",
27
+ "json_metadata":"{\"tags\":[\"music\"]}"
28
+ }
29
+ ]
30
+ ],
31
+ "extensions":[
32
+
33
+ ],
34
+ "signatures":[
35
+ "1f6e33cf5cbcbb3bd7ce822f7f99ce7b2095d0afe6b1bfcf50e535706f0344dcd805a02c2a8cf8cf0a3d06a0fddce47cad5b92f1d4d3740930b06e7a4b25de2f8e"
36
+ ]
37
+ },
38
+ {
39
+ "ref_block_num":5734,
40
+ "ref_block_prefix":4286768788,
41
+ "expiration":"2016-09-17T15:44:24",
42
+ "operations":[
43
+ [
44
+ "comment",
45
+ {
46
+ "parent_author":"",
47
+ "parent_permlink":"bitcoin",
48
+ "author":"endgame",
49
+ "permlink":"a-trash-meisterpiece-in-baltimore",
50
+ "title":"A Trash Meisterpiece in Baltimore",
51
+ "body":"http://i.imgur.com/L81Sbn0.jpg\n\n# Ever wonder what is really going on in Baltimore? \nWe plan to show you street level news in every neighborhood. Every Friday you can catch Meisterpiece Theatre at BaltimoreHourly.com and learn about Baltimore from on the street experts that you should know about, but that the mindless mass media rarely allows on air. This video is the first test video that will eventually lead up to the official debut of Meisterpiece Theatre at BaltimoreHourly.com. This video chronicles the trash problems in a typical Baltimore City alley.\n\nhttps://www.youtube.com/watch?v=Obgm1JB8IpI\n\nhttp://i.imgur.com/BUstSCi.png",
52
+ "json_metadata":"{\"tags\":[\"bitcoin\",\"shitpost\",\"trash\",\"minnowsunite\",\"curie\"],\"image\":[\"http://i.imgur.com/L81Sbn0.jpg\",\"https://img.youtube.com/vi/Obgm1JB8IpI/0.jpg\",\"http://i.imgur.com/BUstSCi.png\"],\"links\":[\"https://www.youtube.com/watch?v=Obgm1JB8IpI\"]}"
53
+ }
54
+ ]
55
+ ],
56
+ "extensions":[
57
+
58
+ ],
59
+ "signatures":[
60
+ "206ae870eb3d9ca08221657488ddbcff2f1a35dcf6eea7ef8ab977705f295bc5dc5ed0d1181086a36ae62d257e6a9daea2af6c87ea828c8f3b3a5445eec0eead15"
61
+ ]
62
+ },
63
+ {
64
+ "ref_block_num":5937,
65
+ "ref_block_prefix":2550599371,
66
+ "expiration":"2016-09-17T15:44:27",
67
+ "operations":[
68
+ [
69
+ "vote",
70
+ {
71
+ "voter":"ninkhisibir",
72
+ "author":"wildmanhowling",
73
+ "permlink":"the-high-wild-episode-1-first-3-parts",
74
+ "weight":10000
75
+ }
76
+ ]
77
+ ],
78
+ "extensions":[
79
+
80
+ ],
81
+ "signatures":[
82
+ "202145b29cff3a1a5e2864ee92a5fffc9c23aefadf7879849e6eab513a45fc3ed65440feaacebdc12d33161b71de288618387aee786075edb34884d82fa21fdb5c"
83
+ ]
84
+ },
85
+ {
86
+ "ref_block_num":5920,
87
+ "ref_block_prefix":2065261824,
88
+ "expiration":"2016-09-17T15:44:27",
89
+ "operations":[
90
+ [
91
+ "comment",
92
+ {
93
+ "parent_author":"natord",
94
+ "parent_permlink":"re-sulev-photography-12-having-fun-with-waterballoons-20160917t151443106z",
95
+ "author":"sulev",
96
+ "permlink":"re-natord-re-sulev-photography-12-having-fun-with-waterballoons-20160917t154317209z",
97
+ "title":"",
98
+ "body":"@@ -72,8 +72,80 @@\n post :)\n+%0AI've uploaded the 16MB version of this picture there. It's ~300KB here.\n",
99
+ "json_metadata":"{\"tags\":[\"photography\"]}"
100
+ }
101
+ ]
102
+ ],
103
+ "extensions":[
104
+
105
+ ],
106
+ "signatures":[
107
+ "1f18cab8a0305f3623b226be199113610b02b36fe3c665cbdc4853deb19ceb360530dc5617d12252d8a89b276ea8b3f5de7d0ea4f7f627096bc570a040991bfc02"
108
+ ]
109
+ },
110
+ {
111
+ "ref_block_num":5912,
112
+ "ref_block_prefix":3229765994,
113
+ "expiration":"2016-09-17T15:44:21",
114
+ "operations":[
115
+ [
116
+ "comment",
117
+ {
118
+ "parent_author":"anns",
119
+ "parent_permlink":"re-mindhunter-meme-with-the-plummeting-steem-price-the-picard-face-palm-speaks-20160917t154100614z",
120
+ "author":"mindhunter",
121
+ "permlink":"re-anns-re-mindhunter-meme-with-the-plummeting-steem-price-the-picard-face-palm-speaks-20160917t154353443z",
122
+ "title":"",
123
+ "body":"@@ -1,12 +1,19 @@\n Yes \n+indeed \n @anns - \n",
124
+ "json_metadata":"{\"tags\":[\"meme\"],\"users\":[\"anns\"],\"links\":[\"http://www.wankcoin.com/\"]}"
125
+ }
126
+ ]
127
+ ],
128
+ "extensions":[
129
+
130
+ ],
131
+ "signatures":[
132
+ "2021c420a12785e61ddb8ebf32a4decd005392d7207d8fbaa2b94fcb07d9afb85939e538b5e35144af291c13cd7f0b7641698ac5c0eb4d4c90c9828d3970825d61"
133
+ ]
134
+ },
135
+ {
136
+ "ref_block_num":5943,
137
+ "ref_block_prefix":1156824029,
138
+ "expiration":"2016-09-17T15:45:13",
139
+ "operations":[
140
+ [
141
+ "vote",
142
+ {
143
+ "voter":"murh",
144
+ "author":"steemservices",
145
+ "permlink":"help-promote-steemit-retweet-steemservices-for-steem-power",
146
+ "weight":5555
147
+ }
148
+ ]
149
+ ],
150
+ "extensions":[
151
+
152
+ ],
153
+ "signatures":[
154
+ "1f498e0151da39f74e5b1cdaca08d794464c83d7c3ff9f5f81a45544deecf83a52770c486a5e8f71e38671f25dadaa0428af9d2d053da9994f3af20ab125f1431b"
155
+ ]
156
+ },
157
+ {
158
+ "ref_block_num":5721,
159
+ "ref_block_prefix":3382185587,
160
+ "expiration":"2016-09-17T15:44:24",
161
+ "operations":[
162
+ [
163
+ "comment",
164
+ {
165
+ "parent_author":"",
166
+ "parent_permlink":"poetry",
167
+ "author":"rigaronib",
168
+ "permlink":"as-years-pass-we-begin-to-realize-that-we-ourselves-can-become-our-own-worse-nightmare",
169
+ "title":"As years pass we begin to realize that we, ourselves, can become our own worse nightmare.",
170
+ "body":"<html><center>\n<h1>In just mere moments, our lives can become null and void...shattered on the ground like glass.</h1>\n<h3>If we allow these moments to entrap us, life becomes nothing more than a chore.</h3>\n<p><br></p>\n<p><img src=\"https://s22.postimg.org/f3x4w7n5d/shattered_emotions_by_klarem_d5clnmd.jpg\" width=\"900\" height=\"837\"/></p>\n<p><a href=\"http://klarem.deviantart.com/art/Shattered-emotions-323496661\">picture source</a></p>\n<p><br></p>\n<h3><em>Sense Dulls</em></h3>\n<p>Empty&nbsp;vases,&nbsp;broken&nbsp;rose&nbsp;stems.<br>\nMissing&nbsp;treasures,&nbsp;valueless&nbsp;gems.<br>\nSpeech,&nbsp;never&nbsp;touching&nbsp;their&nbsp;tongues.<br>\nExhaling,&nbsp;gasping&nbsp;for&nbsp;breath&nbsp;without&nbsp;lungs.&nbsp;<br>\nWingless&nbsp;bird,&nbsp;flightless&nbsp;ventures.<br>\nThirsty&nbsp;nightmare,&nbsp;midnight quenchers.&nbsp;<br>\nSound,&nbsp;never&nbsp;reaching&nbsp;their&nbsp;ears.<br>\nStaked&nbsp;heart,&nbsp;scarred&nbsp;with&nbsp;bloody&nbsp;fears.<br>\nMelody's&nbsp;noise,&nbsp;without&nbsp;beat&nbsp;or&nbsp;rhythm.<br>\nEndangered&nbsp;performer,&nbsp;masked&nbsp;phantom.<br>\nAdvice,&nbsp;never&nbsp;penetrating&nbsp;their&nbsp;skulls.<br>\nLiving,&nbsp;trying&nbsp;for&nbsp;life&nbsp;until&nbsp;the&nbsp;sense&nbsp;dulls.&nbsp;</p>\n<p><br></p>\n<p><img src=\"https://s18.postimg.org/5b9ahblw9/shattered.jpg\" width=\"400\" height=\"314\"/></p>\n<p><a href=\"http://erikafarkas.com/blog/art-beat-at-the-foyer-gallery/\">picture source</a></p>\n<p><br></p>\n<h3><em>I'm a Nightmare</em></h3>\n<p>In&nbsp;these&nbsp;simple&nbsp;words,<br>\nI&nbsp;admit&nbsp;to&nbsp;what&nbsp;I'm&nbsp;feeling.<br>\nWhen,&nbsp;in&nbsp;a&nbsp;moment&nbsp;of&nbsp;intensity,<br>\nMy&nbsp;reactions&nbsp;are&nbsp;revealing.<br>\nMy&nbsp;true&nbsp;character,<br>\nWho&nbsp;I&nbsp;really&nbsp;am,<br>\nIs&nbsp;not&nbsp;what&nbsp;you&nbsp;see,<br>\nBut&nbsp;what&nbsp;you&nbsp;cannot&nbsp;imagine.<br>\nI'm&nbsp;a&nbsp;nightmare,<br>\nWalking,&nbsp;breathing,&nbsp;seeing,<br>\nBeneath&nbsp;the&nbsp;light&nbsp;of&nbsp;the&nbsp;moon.</p>\n<p><br></p>\n<p>These are rather depressing poems, but we all know these feelings. Everyone has felt these things at least once in their lives. The only way to overcome them is to rise above them.&nbsp;</p>\n<p>Don't let these feelings engulf you - purge the negativity and let in the light!</p>\n<p>And if you have found the light, find someone who hasn't and encourage them to keep searching. Fill their cup with happiness and allow your light to spill over into their life.</p>\n<p><br></p>\n<h3><br></h3>\n<h3>I hope you guys enjoyed these original poems! Both of these poems were written by my wife during her teenage years and she asked me to share them with you today.</h3>\n<h3>If you enjoyed this content, please hit that upvote and/or follow button! More is on it's way.</h3>\n<h3>Thanks for all of the support and hospitality!</h3>\n<p><br></p>\n<p><br></p>\n<p><br></p>\n<p><br></p>\n<p><a href=\"https://steemit.com/@rigaronib\"><img src=\"https://s21.postimg.org/734sb8b53/steemitlabel.jpg\"></a></p></center>\n</html>",
171
+ "json_metadata":"{\"tags\":[\"poetry\",\"story\",\"life\",\"art\",\"minnowsunite\"],\"image\":[\"https://s22.postimg.org/f3x4w7n5d/shattered_emotions_by_klarem_d5clnmd.jpg\",\"https://s18.postimg.org/5b9ahblw9/shattered.jpg\",\"https://s21.postimg.org/734sb8b53/steemitlabel.jpg\"],\"links\":[\"http://klarem.deviantart.com/art/Shattered-emotions-323496661\",\"http://erikafarkas.com/blog/art-beat-at-the-foyer-gallery/\",\"https://steemit.com/@rigaronib\"]}"
172
+ }
173
+ ],
174
+ [
175
+ "vote",
176
+ {
177
+ "voter":"rigaronib",
178
+ "author":"rigaronib",
179
+ "permlink":"as-years-pass-we-begin-to-realize-that-we-ourselves-can-become-our-own-worse-nightmare",
180
+ "weight":10000
181
+ }
182
+ ]
183
+ ],
184
+ "extensions":[
185
+
186
+ ],
187
+ "signatures":[
188
+ "2001949162398bd9b82bb0de430f6a9bd0eafa3e0f94363804cfb68cb95358fd3c0badb56e6d0a0b0224be2a032cdbe981064a17281ddf935ed9cfdae3f1320940"
189
+ ]
190
+ }
191
+ ]
192
+ }
193
+ }