stellar-base 0.19.0 → 0.23.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (159) hide show
  1. checksums.yaml +4 -4
  2. data/{LICENSE.txt → LICENSE} +0 -0
  3. data/README.md +2 -3
  4. data/generated/stellar-base-generated.rb +45 -8
  5. data/generated/stellar/allow_trust_op.rb +5 -4
  6. data/generated/stellar/allow_trust_op/asset.rb +4 -4
  7. data/generated/stellar/asset.rb +2 -2
  8. data/generated/stellar/asset/alpha_num12.rb +2 -2
  9. data/generated/stellar/asset/alpha_num4.rb +2 -2
  10. data/generated/stellar/authenticated_message.rb +4 -4
  11. data/generated/stellar/authenticated_message/v0.rb +4 -4
  12. data/generated/stellar/bucket_entry.rb +6 -0
  13. data/generated/stellar/bucket_entry_type.rb +8 -2
  14. data/generated/stellar/bucket_metadata.rb +32 -0
  15. data/generated/stellar/bucket_metadata/ext.rb +24 -0
  16. data/generated/stellar/claim_offer_atom.rb +2 -2
  17. data/generated/stellar/{create_passive_offer_op.rb → create_passive_sell_offer_op.rb} +2 -2
  18. data/generated/stellar/crypto_key_type.rb +8 -4
  19. data/generated/stellar/curve25519_public.rb +1 -1
  20. data/generated/stellar/curve25519_secret.rb +1 -1
  21. data/generated/stellar/envelope_type.rb +10 -4
  22. data/generated/stellar/fee_bump_transaction.rb +39 -0
  23. data/generated/stellar/fee_bump_transaction/ext.rb +24 -0
  24. data/generated/stellar/fee_bump_transaction/inner_tx.rb +25 -0
  25. data/generated/stellar/fee_bump_transaction_envelope.rb +22 -0
  26. data/generated/stellar/hmac_sha256_key.rb +1 -1
  27. data/generated/stellar/hmac_sha256_mac.rb +1 -1
  28. data/generated/stellar/inner_transaction_result.rb +56 -0
  29. data/generated/stellar/inner_transaction_result/ext.rb +24 -0
  30. data/generated/stellar/inner_transaction_result/result.rb +52 -0
  31. data/generated/stellar/inner_transaction_result_pair.rb +20 -0
  32. data/generated/stellar/ledger_close_meta.rb +23 -0
  33. data/generated/stellar/ledger_close_meta_v0.rb +35 -0
  34. data/generated/stellar/ledger_close_value_signature.rb +20 -0
  35. data/generated/stellar/ledger_key.rb +1 -1
  36. data/generated/stellar/ledger_key/offer.rb +2 -2
  37. data/generated/stellar/manage_buy_offer_op.rb +29 -0
  38. data/generated/stellar/{manage_offer_result.rb → manage_buy_offer_result.rb} +5 -5
  39. data/generated/stellar/manage_buy_offer_result_code.rb +51 -0
  40. data/generated/stellar/{manage_offer_op.rb → manage_sell_offer_op.rb} +4 -4
  41. data/generated/stellar/manage_sell_offer_result.rb +26 -0
  42. data/generated/stellar/manage_sell_offer_result_code.rb +54 -0
  43. data/generated/stellar/message_type.rb +6 -1
  44. data/generated/stellar/muxed_account.rb +35 -0
  45. data/generated/stellar/muxed_account/med25519.rb +22 -0
  46. data/generated/stellar/offer_entry.rb +2 -2
  47. data/generated/stellar/operation.rb +13 -9
  48. data/generated/stellar/operation/body.rb +37 -29
  49. data/generated/stellar/operation_result.rb +10 -6
  50. data/generated/stellar/operation_result/tr.rb +38 -30
  51. data/generated/stellar/operation_result_code.rb +11 -7
  52. data/generated/stellar/operation_type.rb +20 -16
  53. data/generated/stellar/{path_payment_op.rb → path_payment_strict_receive_op.rb} +6 -6
  54. data/generated/stellar/path_payment_strict_receive_result.rb +38 -0
  55. data/generated/stellar/path_payment_strict_receive_result/success.rb +22 -0
  56. data/generated/stellar/path_payment_strict_receive_result_code.rb +56 -0
  57. data/generated/stellar/path_payment_strict_send_op.rb +32 -0
  58. data/generated/stellar/{path_payment_result.rb → path_payment_strict_send_result.rb} +7 -7
  59. data/generated/stellar/{path_payment_result → path_payment_strict_send_result}/success.rb +1 -1
  60. data/generated/stellar/path_payment_strict_send_result_code.rb +55 -0
  61. data/generated/stellar/payment_op.rb +4 -4
  62. data/generated/stellar/peer_stats.rb +48 -0
  63. data/generated/stellar/signed_survey_request_message.rb +20 -0
  64. data/generated/stellar/signed_survey_response_message.rb +20 -0
  65. data/generated/stellar/signer.rb +1 -1
  66. data/generated/stellar/stellar_message.rb +22 -12
  67. data/generated/stellar/stellar_value.rb +7 -5
  68. data/generated/stellar/stellar_value/ext.rb +8 -4
  69. data/generated/stellar/stellar_value_type.rb +22 -0
  70. data/generated/stellar/survey_message_command_type.rb +20 -0
  71. data/generated/stellar/survey_request_message.rb +26 -0
  72. data/generated/stellar/survey_response_body.rb +23 -0
  73. data/generated/stellar/survey_response_message.rb +26 -0
  74. data/generated/stellar/time_bounds.rb +4 -4
  75. data/generated/stellar/topology_response_body.rb +25 -0
  76. data/generated/stellar/transaction.rb +4 -4
  77. data/generated/stellar/transaction_envelope.rb +17 -8
  78. data/generated/stellar/transaction_meta.rb +4 -0
  79. data/generated/stellar/transaction_meta_v1.rb +1 -1
  80. data/generated/stellar/transaction_meta_v2.rb +24 -0
  81. data/generated/stellar/transaction_result.rb +3 -0
  82. data/generated/stellar/transaction_result/result.rb +9 -3
  83. data/generated/stellar/transaction_result_code.rb +21 -14
  84. data/generated/stellar/transaction_result_meta.rb +22 -0
  85. data/generated/stellar/transaction_signature_payload.rb +3 -1
  86. data/generated/stellar/transaction_signature_payload/tagged_transaction.rb +7 -3
  87. data/generated/stellar/transaction_v0.rb +39 -0
  88. data/generated/stellar/transaction_v0/ext.rb +24 -0
  89. data/generated/stellar/transaction_v0_envelope.rb +22 -0
  90. data/generated/stellar/transaction_v1_envelope.rb +22 -0
  91. data/generated/stellar/trust_line_flags.rb +6 -2
  92. data/generated/stellar/upgrade_entry_meta.rb +20 -0
  93. data/lib/stellar-base.rb +28 -23
  94. data/lib/stellar/account_flags.rb +2 -4
  95. data/lib/stellar/asset.rb +6 -6
  96. data/lib/stellar/base.rb +1 -1
  97. data/lib/stellar/compat.rb +21 -0
  98. data/lib/stellar/concerns/transaction.rb +49 -0
  99. data/lib/stellar/convert.rb +2 -2
  100. data/lib/stellar/factories.rb +1 -3
  101. data/lib/stellar/fee_bump_transaction.rb +21 -0
  102. data/lib/stellar/key_pair.rb +9 -6
  103. data/lib/stellar/networks.rb +5 -7
  104. data/lib/stellar/operation.rb +428 -317
  105. data/lib/stellar/{path_payment_result.rb → path_payment_strict_receive_result.rb} +2 -3
  106. data/lib/stellar/price.rb +2 -4
  107. data/lib/stellar/signer_key.rb +4 -8
  108. data/lib/stellar/thresholds.rb +5 -7
  109. data/lib/stellar/transaction.rb +154 -169
  110. data/lib/stellar/transaction_builder.rb +149 -0
  111. data/lib/stellar/transaction_envelope.rb +40 -8
  112. data/lib/stellar/transaction_v0.rb +39 -0
  113. data/lib/stellar/util/continued_fraction.rb +19 -19
  114. data/lib/stellar/util/strkey.rb +39 -14
  115. data/lib/stellar/{base/version.rb → version.rb} +1 -1
  116. metadata +68 -210
  117. data/.gitignore +0 -17
  118. data/.travis.yml +0 -13
  119. data/.yardopts +0 -8
  120. data/CHANGELOG.md +0 -120
  121. data/CONTRIBUTING.md +0 -48
  122. data/Gemfile +0 -15
  123. data/Guardfile +0 -5
  124. data/Rakefile +0 -4
  125. data/examples/create_account.rb +0 -26
  126. data/examples/low_level_transaction_post.rb +0 -46
  127. data/examples/mid_level_transaction_post.rb +0 -33
  128. data/examples/non_native_payment.rb +0 -60
  129. data/examples/offer.rb +0 -75
  130. data/examples/transaction_merge.rb +0 -23
  131. data/generated/stellar/manage_offer_result_code.rb +0 -50
  132. data/generated/stellar/path_payment_result_code.rb +0 -47
  133. data/ruby-stellar-base.gemspec +0 -34
  134. data/spec/lib/stellar/account_flags_spec.rb +0 -19
  135. data/spec/lib/stellar/asset_spec.rb +0 -45
  136. data/spec/lib/stellar/convert_spec.rb +0 -61
  137. data/spec/lib/stellar/key_pair_spec.rb +0 -251
  138. data/spec/lib/stellar/networks_spec.rb +0 -77
  139. data/spec/lib/stellar/operation_spec.rb +0 -71
  140. data/spec/lib/stellar/path_payment_result_spec.rb +0 -95
  141. data/spec/lib/stellar/price_spec.rb +0 -34
  142. data/spec/lib/stellar/signer_key_spec.rb +0 -26
  143. data/spec/lib/stellar/thresholds_spec.rb +0 -62
  144. data/spec/lib/stellar/transaction_envelope_spec.rb +0 -93
  145. data/spec/lib/stellar/transaction_spec.rb +0 -100
  146. data/spec/lib/stellar/util/strkey_spec.rb +0 -54
  147. data/spec/spec_helper.rb +0 -16
  148. data/spec/support/matchers/be_strkey.rb +0 -9
  149. data/spec/support/matchers/eq_bytes.rb +0 -5
  150. data/spec/support/matchers/have_length.rb +0 -5
  151. data/tasks/rspec.rake +0 -6
  152. data/tasks/travis.rake +0 -1
  153. data/tasks/xdr.rake +0 -50
  154. data/xdr/Stellar-SCP.x +0 -86
  155. data/xdr/Stellar-ledger-entries.x +0 -288
  156. data/xdr/Stellar-ledger.x +0 -283
  157. data/xdr/Stellar-overlay.x +0 -146
  158. data/xdr/Stellar-transaction.x +0 -777
  159. data/xdr/Stellar-types.x +0 -81
@@ -9,15 +9,19 @@ require 'xdr'
9
9
  # {
10
10
  # KEY_TYPE_ED25519 = 0,
11
11
  # KEY_TYPE_PRE_AUTH_TX = 1,
12
- # KEY_TYPE_HASH_X = 2
12
+ # KEY_TYPE_HASH_X = 2,
13
+ # // MUXED enum values for supported type are derived from the enum values
14
+ # // above by ORing them with 0x100
15
+ # KEY_TYPE_MUXED_ED25519 = 0x100
13
16
  # };
14
17
  #
15
18
  # ===========================================================================
16
19
  module Stellar
17
20
  class CryptoKeyType < XDR::Enum
18
- member :key_type_ed25519, 0
19
- member :key_type_pre_auth_tx, 1
20
- member :key_type_hash_x, 2
21
+ member :key_type_ed25519, 0
22
+ member :key_type_pre_auth_tx, 1
23
+ member :key_type_hash_x, 2
24
+ member :key_type_muxed_ed25519, 256
21
25
 
22
26
  seal
23
27
  end
@@ -7,7 +7,7 @@ require 'xdr'
7
7
  #
8
8
  # struct Curve25519Public
9
9
  # {
10
- # opaque key[32];
10
+ # opaque key[32];
11
11
  # };
12
12
  #
13
13
  # ===========================================================================
@@ -7,7 +7,7 @@ require 'xdr'
7
7
  #
8
8
  # struct Curve25519Secret
9
9
  # {
10
- # opaque key[32];
10
+ # opaque key[32];
11
11
  # };
12
12
  #
13
13
  # ===========================================================================
@@ -7,17 +7,23 @@ require 'xdr'
7
7
  #
8
8
  # enum EnvelopeType
9
9
  # {
10
+ # ENVELOPE_TYPE_TX_V0 = 0,
10
11
  # ENVELOPE_TYPE_SCP = 1,
11
12
  # ENVELOPE_TYPE_TX = 2,
12
- # ENVELOPE_TYPE_AUTH = 3
13
+ # ENVELOPE_TYPE_AUTH = 3,
14
+ # ENVELOPE_TYPE_SCPVALUE = 4,
15
+ # ENVELOPE_TYPE_TX_FEE_BUMP = 5
13
16
  # };
14
17
  #
15
18
  # ===========================================================================
16
19
  module Stellar
17
20
  class EnvelopeType < XDR::Enum
18
- member :envelope_type_scp, 1
19
- member :envelope_type_tx, 2
20
- member :envelope_type_auth, 3
21
+ member :envelope_type_tx_v0, 0
22
+ member :envelope_type_scp, 1
23
+ member :envelope_type_tx, 2
24
+ member :envelope_type_auth, 3
25
+ member :envelope_type_scpvalue, 4
26
+ member :envelope_type_tx_fee_bump, 5
21
27
 
22
28
  seal
23
29
  end
@@ -0,0 +1,39 @@
1
+ # This code was automatically generated using xdrgen
2
+ # DO NOT EDIT or your changes may be overwritten
3
+
4
+ require 'xdr'
5
+
6
+ # === xdr source ============================================================
7
+ #
8
+ # struct FeeBumpTransaction
9
+ # {
10
+ # MuxedAccount feeSource;
11
+ # int64 fee;
12
+ # union switch (EnvelopeType type)
13
+ # {
14
+ # case ENVELOPE_TYPE_TX:
15
+ # TransactionV1Envelope v1;
16
+ # }
17
+ # innerTx;
18
+ # union switch (int v)
19
+ # {
20
+ # case 0:
21
+ # void;
22
+ # }
23
+ # ext;
24
+ # };
25
+ #
26
+ # ===========================================================================
27
+ module Stellar
28
+ class FeeBumpTransaction < XDR::Struct
29
+ include XDR::Namespace
30
+
31
+ autoload :InnerTx
32
+ autoload :Ext
33
+
34
+ attribute :fee_source, MuxedAccount
35
+ attribute :fee, Int64
36
+ attribute :inner_tx, InnerTx
37
+ attribute :ext, Ext
38
+ end
39
+ end
@@ -0,0 +1,24 @@
1
+ # This code was automatically generated using xdrgen
2
+ # DO NOT EDIT or your changes may be overwritten
3
+
4
+ require 'xdr'
5
+
6
+ # === xdr source ============================================================
7
+ #
8
+ # union switch (int v)
9
+ # {
10
+ # case 0:
11
+ # void;
12
+ # }
13
+ #
14
+ # ===========================================================================
15
+ module Stellar
16
+ class FeeBumpTransaction
17
+ class Ext < XDR::Union
18
+ switch_on XDR::Int, :v
19
+
20
+ switch 0
21
+
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,25 @@
1
+ # This code was automatically generated using xdrgen
2
+ # DO NOT EDIT or your changes may be overwritten
3
+
4
+ require 'xdr'
5
+
6
+ # === xdr source ============================================================
7
+ #
8
+ # union switch (EnvelopeType type)
9
+ # {
10
+ # case ENVELOPE_TYPE_TX:
11
+ # TransactionV1Envelope v1;
12
+ # }
13
+ #
14
+ # ===========================================================================
15
+ module Stellar
16
+ class FeeBumpTransaction
17
+ class InnerTx < XDR::Union
18
+ switch_on EnvelopeType, :type
19
+
20
+ switch :envelope_type_tx, :v1
21
+
22
+ attribute :v1, TransactionV1Envelope
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,22 @@
1
+ # This code was automatically generated using xdrgen
2
+ # DO NOT EDIT or your changes may be overwritten
3
+
4
+ require 'xdr'
5
+
6
+ # === xdr source ============================================================
7
+ #
8
+ # struct FeeBumpTransactionEnvelope
9
+ # {
10
+ # FeeBumpTransaction tx;
11
+ # /* Each decorated signature is a signature over the SHA256 hash of
12
+ # * a TransactionSignaturePayload */
13
+ # DecoratedSignature signatures<20>;
14
+ # };
15
+ #
16
+ # ===========================================================================
17
+ module Stellar
18
+ class FeeBumpTransactionEnvelope < XDR::Struct
19
+ attribute :tx, FeeBumpTransaction
20
+ attribute :signatures, XDR::VarArray[DecoratedSignature, 20]
21
+ end
22
+ end
@@ -7,7 +7,7 @@ require 'xdr'
7
7
  #
8
8
  # struct HmacSha256Key
9
9
  # {
10
- # opaque key[32];
10
+ # opaque key[32];
11
11
  # };
12
12
  #
13
13
  # ===========================================================================
@@ -7,7 +7,7 @@ require 'xdr'
7
7
  #
8
8
  # struct HmacSha256Mac
9
9
  # {
10
- # opaque mac[32];
10
+ # opaque mac[32];
11
11
  # };
12
12
  #
13
13
  # ===========================================================================
@@ -0,0 +1,56 @@
1
+ # This code was automatically generated using xdrgen
2
+ # DO NOT EDIT or your changes may be overwritten
3
+
4
+ require 'xdr'
5
+
6
+ # === xdr source ============================================================
7
+ #
8
+ # struct InnerTransactionResult
9
+ # {
10
+ # // Always 0. Here for binary compatibility.
11
+ # int64 feeCharged;
12
+ #
13
+ # union switch (TransactionResultCode code)
14
+ # {
15
+ # // txFEE_BUMP_INNER_SUCCESS is not included
16
+ # case txSUCCESS:
17
+ # case txFAILED:
18
+ # OperationResult results<>;
19
+ # case txTOO_EARLY:
20
+ # case txTOO_LATE:
21
+ # case txMISSING_OPERATION:
22
+ # case txBAD_SEQ:
23
+ # case txBAD_AUTH:
24
+ # case txINSUFFICIENT_BALANCE:
25
+ # case txNO_ACCOUNT:
26
+ # case txINSUFFICIENT_FEE:
27
+ # case txBAD_AUTH_EXTRA:
28
+ # case txINTERNAL_ERROR:
29
+ # case txNOT_SUPPORTED:
30
+ # // txFEE_BUMP_INNER_FAILED is not included
31
+ # void;
32
+ # }
33
+ # result;
34
+ #
35
+ # // reserved for future use
36
+ # union switch (int v)
37
+ # {
38
+ # case 0:
39
+ # void;
40
+ # }
41
+ # ext;
42
+ # };
43
+ #
44
+ # ===========================================================================
45
+ module Stellar
46
+ class InnerTransactionResult < XDR::Struct
47
+ include XDR::Namespace
48
+
49
+ autoload :Result
50
+ autoload :Ext
51
+
52
+ attribute :fee_charged, Int64
53
+ attribute :result, Result
54
+ attribute :ext, Ext
55
+ end
56
+ end
@@ -0,0 +1,24 @@
1
+ # This code was automatically generated using xdrgen
2
+ # DO NOT EDIT or your changes may be overwritten
3
+
4
+ require 'xdr'
5
+
6
+ # === xdr source ============================================================
7
+ #
8
+ # union switch (int v)
9
+ # {
10
+ # case 0:
11
+ # void;
12
+ # }
13
+ #
14
+ # ===========================================================================
15
+ module Stellar
16
+ class InnerTransactionResult
17
+ class Ext < XDR::Union
18
+ switch_on XDR::Int, :v
19
+
20
+ switch 0
21
+
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,52 @@
1
+ # This code was automatically generated using xdrgen
2
+ # DO NOT EDIT or your changes may be overwritten
3
+
4
+ require 'xdr'
5
+
6
+ # === xdr source ============================================================
7
+ #
8
+ # union switch (TransactionResultCode code)
9
+ # {
10
+ # // txFEE_BUMP_INNER_SUCCESS is not included
11
+ # case txSUCCESS:
12
+ # case txFAILED:
13
+ # OperationResult results<>;
14
+ # case txTOO_EARLY:
15
+ # case txTOO_LATE:
16
+ # case txMISSING_OPERATION:
17
+ # case txBAD_SEQ:
18
+ # case txBAD_AUTH:
19
+ # case txINSUFFICIENT_BALANCE:
20
+ # case txNO_ACCOUNT:
21
+ # case txINSUFFICIENT_FEE:
22
+ # case txBAD_AUTH_EXTRA:
23
+ # case txINTERNAL_ERROR:
24
+ # case txNOT_SUPPORTED:
25
+ # // txFEE_BUMP_INNER_FAILED is not included
26
+ # void;
27
+ # }
28
+ #
29
+ # ===========================================================================
30
+ module Stellar
31
+ class InnerTransactionResult
32
+ class Result < XDR::Union
33
+ switch_on TransactionResultCode, :code
34
+
35
+ switch :tx_success, :results
36
+ switch :tx_failed, :results
37
+ switch :tx_too_early
38
+ switch :tx_too_late
39
+ switch :tx_missing_operation
40
+ switch :tx_bad_seq
41
+ switch :tx_bad_auth
42
+ switch :tx_insufficient_balance
43
+ switch :tx_no_account
44
+ switch :tx_insufficient_fee
45
+ switch :tx_bad_auth_extra
46
+ switch :tx_internal_error
47
+ switch :tx_not_supported
48
+
49
+ attribute :results, XDR::VarArray[OperationResult]
50
+ end
51
+ end
52
+ end
@@ -0,0 +1,20 @@
1
+ # This code was automatically generated using xdrgen
2
+ # DO NOT EDIT or your changes may be overwritten
3
+
4
+ require 'xdr'
5
+
6
+ # === xdr source ============================================================
7
+ #
8
+ # struct InnerTransactionResultPair
9
+ # {
10
+ # Hash transactionHash; // hash of the inner transaction
11
+ # InnerTransactionResult result; // result for the inner transaction
12
+ # };
13
+ #
14
+ # ===========================================================================
15
+ module Stellar
16
+ class InnerTransactionResultPair < XDR::Struct
17
+ attribute :transaction_hash, Hash
18
+ attribute :result, InnerTransactionResult
19
+ end
20
+ end
@@ -0,0 +1,23 @@
1
+ # This code was automatically generated using xdrgen
2
+ # DO NOT EDIT or your changes may be overwritten
3
+
4
+ require 'xdr'
5
+
6
+ # === xdr source ============================================================
7
+ #
8
+ # union LedgerCloseMeta switch (int v)
9
+ # {
10
+ # case 0:
11
+ # LedgerCloseMetaV0 v0;
12
+ # };
13
+ #
14
+ # ===========================================================================
15
+ module Stellar
16
+ class LedgerCloseMeta < XDR::Union
17
+ switch_on XDR::Int, :v
18
+
19
+ switch 0, :v0
20
+
21
+ attribute :v0, LedgerCloseMetaV0
22
+ end
23
+ end
@@ -0,0 +1,35 @@
1
+ # This code was automatically generated using xdrgen
2
+ # DO NOT EDIT or your changes may be overwritten
3
+
4
+ require 'xdr'
5
+
6
+ # === xdr source ============================================================
7
+ #
8
+ # struct LedgerCloseMetaV0
9
+ # {
10
+ # LedgerHeaderHistoryEntry ledgerHeader;
11
+ # // NB: txSet is sorted in "Hash order"
12
+ # TransactionSet txSet;
13
+ #
14
+ # // NB: transactions are sorted in apply order here
15
+ # // fees for all transactions are processed first
16
+ # // followed by applying transactions
17
+ # TransactionResultMeta txProcessing<>;
18
+ #
19
+ # // upgrades are applied last
20
+ # UpgradeEntryMeta upgradesProcessing<>;
21
+ #
22
+ # // other misc information attached to the ledger close
23
+ # SCPHistoryEntry scpInfo<>;
24
+ # };
25
+ #
26
+ # ===========================================================================
27
+ module Stellar
28
+ class LedgerCloseMetaV0 < XDR::Struct
29
+ attribute :ledger_header, LedgerHeaderHistoryEntry
30
+ attribute :tx_set, TransactionSet
31
+ attribute :tx_processing, XDR::VarArray[TransactionResultMeta]
32
+ attribute :upgrades_processing, XDR::VarArray[UpgradeEntryMeta]
33
+ attribute :scp_info, XDR::VarArray[SCPHistoryEntry]
34
+ end
35
+ end
@@ -0,0 +1,20 @@
1
+ # This code was automatically generated using xdrgen
2
+ # DO NOT EDIT or your changes may be overwritten
3
+
4
+ require 'xdr'
5
+
6
+ # === xdr source ============================================================
7
+ #
8
+ # struct LedgerCloseValueSignature
9
+ # {
10
+ # NodeID nodeID; // which node introduced the value
11
+ # Signature signature; // nodeID's signature
12
+ # };
13
+ #
14
+ # ===========================================================================
15
+ module Stellar
16
+ class LedgerCloseValueSignature < XDR::Struct
17
+ attribute :node_id, NodeID
18
+ attribute :signature, Signature
19
+ end
20
+ end