stellar-base 0.0.18 → 0.0.19

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.
Files changed (135) hide show
  1. checksums.yaml +4 -4
  2. data/generated/stellar-base-generated.rb +56 -102
  3. data/generated/stellar/account_entry.rb +18 -5
  4. data/generated/stellar/account_entry/ext.rb +24 -0
  5. data/generated/stellar/account_flags.rb +2 -2
  6. data/generated/stellar/account_merge_result.rb +2 -2
  7. data/generated/stellar/account_merge_result_code.rb +2 -2
  8. data/generated/stellar/allow_trust_op.rb +2 -2
  9. data/generated/stellar/allow_trust_op/currency.rb +2 -2
  10. data/generated/stellar/allow_trust_result.rb +2 -2
  11. data/generated/stellar/allow_trust_result_code.rb +2 -2
  12. data/generated/stellar/bucket_entry.rb +2 -2
  13. data/generated/stellar/bucket_entry_type.rb +2 -2
  14. data/generated/stellar/change_trust_op.rb +2 -2
  15. data/generated/stellar/change_trust_result.rb +2 -2
  16. data/generated/stellar/change_trust_result_code.rb +2 -2
  17. data/generated/stellar/claim_offer_atom.rb +2 -2
  18. data/generated/stellar/create_account_op.rb +2 -2
  19. data/generated/stellar/create_account_result.rb +2 -2
  20. data/generated/stellar/create_account_result_code.rb +10 -10
  21. data/generated/stellar/create_passive_offer_op.rb +2 -2
  22. data/generated/stellar/crypto_key_type.rb +20 -0
  23. data/generated/stellar/currency.rb +2 -2
  24. data/generated/stellar/currency/alpha_num.rb +2 -2
  25. data/generated/stellar/currency_type.rb +2 -2
  26. data/generated/stellar/decorated_signature.rb +6 -6
  27. data/generated/stellar/dont_have.rb +2 -2
  28. data/generated/stellar/envelope_type.rb +22 -0
  29. data/generated/stellar/error.rb +2 -2
  30. data/generated/stellar/hello.rb +10 -8
  31. data/generated/stellar/inflation_payout.rb +3 -3
  32. data/generated/stellar/inflation_result.rb +3 -3
  33. data/generated/stellar/inflation_result_code.rb +2 -2
  34. data/generated/stellar/ledger_entry.rb +2 -4
  35. data/generated/stellar/ledger_entry_change.rb +2 -2
  36. data/generated/stellar/ledger_entry_change_type.rb +2 -2
  37. data/generated/stellar/ledger_entry_type.rb +2 -2
  38. data/generated/stellar/ledger_header.rb +28 -12
  39. data/generated/stellar/ledger_header/ext.rb +24 -0
  40. data/generated/stellar/ledger_header_history_entry.rb +15 -2
  41. data/generated/stellar/ledger_header_history_entry/ext.rb +24 -0
  42. data/generated/stellar/ledger_key.rb +2 -2
  43. data/generated/stellar/ledger_key/account.rb +2 -2
  44. data/generated/stellar/ledger_key/offer.rb +2 -2
  45. data/generated/stellar/ledger_key/trust_line.rb +2 -2
  46. data/generated/stellar/ledger_upgrade.rb +27 -0
  47. data/generated/stellar/ledger_upgrade_type.rb +22 -0
  48. data/generated/stellar/manage_offer_effect.rb +2 -2
  49. data/generated/stellar/manage_offer_op.rb +2 -2
  50. data/generated/stellar/manage_offer_result.rb +2 -2
  51. data/generated/stellar/manage_offer_result_code.rb +25 -21
  52. data/generated/stellar/manage_offer_success_result.rb +2 -2
  53. data/generated/stellar/manage_offer_success_result/offer.rb +2 -2
  54. data/generated/stellar/memo.rb +2 -2
  55. data/generated/stellar/memo_type.rb +2 -2
  56. data/generated/stellar/message_type.rb +2 -2
  57. data/generated/stellar/offer_entry.rb +15 -2
  58. data/generated/stellar/offer_entry/ext.rb +24 -0
  59. data/generated/stellar/offer_entry_flags.rb +2 -2
  60. data/generated/stellar/operation.rb +4 -4
  61. data/generated/stellar/operation/body.rb +4 -4
  62. data/generated/stellar/operation_result.rb +2 -2
  63. data/generated/stellar/operation_result/tr.rb +2 -2
  64. data/generated/stellar/operation_result_code.rb +2 -2
  65. data/generated/stellar/operation_type.rb +2 -2
  66. data/generated/stellar/path_payment_op.rb +2 -2
  67. data/generated/stellar/path_payment_result.rb +2 -2
  68. data/generated/stellar/path_payment_result/success.rb +2 -2
  69. data/generated/stellar/path_payment_result_code.rb +23 -20
  70. data/generated/stellar/payment_op.rb +2 -2
  71. data/generated/stellar/payment_result.rb +2 -2
  72. data/generated/stellar/payment_result_code.rb +19 -15
  73. data/generated/stellar/peer_address.rb +2 -2
  74. data/generated/stellar/price.rb +2 -2
  75. data/generated/stellar/public_key.rb +23 -0
  76. data/generated/stellar/scp_ballot.rb +2 -2
  77. data/generated/stellar/scp_envelope.rb +2 -4
  78. data/generated/stellar/scp_nomination.rb +22 -0
  79. data/generated/stellar/scp_quorum_set.rb +4 -4
  80. data/generated/stellar/scp_statement.rb +33 -16
  81. data/generated/stellar/scp_statement/pledges.rb +38 -14
  82. data/generated/stellar/scp_statement/pledges/confirm.rb +28 -0
  83. data/generated/stellar/scp_statement/pledges/externalize.rb +28 -0
  84. data/generated/stellar/scp_statement/pledges/prepare.rb +14 -6
  85. data/generated/stellar/scp_statement_type.rb +10 -10
  86. data/generated/stellar/set_options_op.rb +11 -4
  87. data/generated/stellar/set_options_result.rb +2 -2
  88. data/generated/stellar/set_options_result_code.rb +16 -12
  89. data/generated/stellar/signer.rb +4 -4
  90. data/generated/stellar/simple_payment_result.rb +2 -2
  91. data/generated/stellar/stellar_message.rb +2 -2
  92. data/generated/stellar/stellar_value.rb +40 -0
  93. data/generated/stellar/stellar_value/ext.rb +24 -0
  94. data/generated/stellar/threshold_indexes.rb +26 -0
  95. data/generated/stellar/time_bounds.rb +2 -2
  96. data/generated/stellar/transaction.rb +17 -4
  97. data/generated/stellar/transaction/ext.rb +24 -0
  98. data/generated/stellar/transaction_envelope.rb +2 -2
  99. data/generated/stellar/transaction_history_entry.rb +15 -2
  100. data/generated/stellar/transaction_history_entry/ext.rb +24 -0
  101. data/generated/stellar/transaction_history_result_entry.rb +15 -2
  102. data/generated/stellar/transaction_history_result_entry/ext.rb +24 -0
  103. data/generated/stellar/transaction_meta.rb +2 -2
  104. data/generated/stellar/transaction_result.rb +12 -2
  105. data/generated/stellar/transaction_result/ext.rb +24 -0
  106. data/generated/stellar/transaction_result/result.rb +2 -2
  107. data/generated/stellar/transaction_result_code.rb +2 -2
  108. data/generated/stellar/transaction_result_pair.rb +2 -2
  109. data/generated/stellar/transaction_result_set.rb +4 -4
  110. data/generated/stellar/transaction_set.rb +4 -4
  111. data/generated/stellar/trust_line_entry.rb +15 -2
  112. data/generated/stellar/trust_line_entry/ext.rb +24 -0
  113. data/generated/stellar/trust_line_flags.rb +2 -2
  114. data/lib/stellar/base/version.rb +1 -1
  115. data/lib/stellar/currency.rb +1 -1
  116. data/lib/stellar/key_pair.rb +14 -5
  117. data/lib/stellar/operation.rb +7 -7
  118. data/lib/stellar/transaction.rb +15 -3
  119. data/lib/stellar/transaction_envelope.rb +1 -1
  120. data/ruby-stellar-base.gemspec +1 -1
  121. data/spec/lib/stellar/key_pair_spec.rb +40 -9
  122. data/spec/lib/stellar/transaction_envelope_spec.rb +2 -2
  123. data/spec/lib/stellar/transaction_spec.rb +6 -6
  124. data/tasks/xdr.rake +11 -8
  125. data/xdr/Stellar-SCP.x +87 -0
  126. data/xdr/Stellar-ledger-entries.x +80 -6
  127. data/xdr/Stellar-ledger.x +87 -8
  128. data/xdr/Stellar-overlay.x +3 -16
  129. data/xdr/Stellar-transaction.x +66 -39
  130. data/xdr/Stellar-types.x +17 -29
  131. data/xdr/StellarXDR.x +1 -1
  132. metadata +25 -7
  133. data/generated/stellar/stellar_ballot.rb +0 -22
  134. data/generated/stellar/stellar_ballot_value.rb +0 -22
  135. data/xdr/SCPXDR.x +0 -67
@@ -7,20 +7,6 @@
7
7
  namespace stellar
8
8
  {
9
9
 
10
- struct StellarBallotValue
11
- {
12
- Hash txSetHash;
13
- uint64 closeTime;
14
- uint32 baseFee;
15
- };
16
-
17
- struct StellarBallot
18
- {
19
- uint256 nodeID;
20
- Signature signature;
21
- StellarBallotValue value;
22
- };
23
-
24
10
  struct Error
25
11
  {
26
12
  int code;
@@ -29,10 +15,11 @@ struct Error
29
15
 
30
16
  struct Hello
31
17
  {
32
- int protocolVersion;
18
+ uint32 ledgerVersion;
19
+ uint32 overlayVersion;
33
20
  string versionStr<100>;
34
21
  int listeningPort;
35
- opaque peerID[32];
22
+ NodeID peerID;
36
23
  };
37
24
 
38
25
  struct PeerAddress
@@ -9,8 +9,8 @@ namespace stellar
9
9
 
10
10
  struct DecoratedSignature
11
11
  {
12
- opaque hint[4]; // first 4 bytes of the public key, used as a hint
13
- uint512 signature; // actual signature
12
+ SignatureHint hint; // first 4 bytes of the public key, used as a hint
13
+ Signature signature; // actual signature
14
14
  };
15
15
 
16
16
  enum OperationType
@@ -132,7 +132,11 @@ struct SetOptionsOp
132
132
  uint32* clearFlags; // which flags to clear
133
133
  uint32* setFlags; // which flags to set
134
134
 
135
- Thresholds* thresholds; // update the thresholds for the account
135
+ // account threshold manipulation
136
+ uint32* masterWeight; // weight of the master account
137
+ uint32* lowThreshold;
138
+ uint32* medThreshold;
139
+ uint32* highThreshold;
136
140
 
137
141
  string32* homeDomain; // sets the home domain
138
142
 
@@ -202,7 +206,7 @@ Result: InflationResult
202
206
  struct Operation
203
207
  {
204
208
  // sourceAccount is the account used to run the operation
205
- // if not set, the runtime defaults to "account" specified at
209
+ // if not set, the runtime defaults to "sourceAccount" specified at
206
210
  // the transaction level
207
211
  AccountID* sourceAccount;
208
212
 
@@ -225,7 +229,7 @@ struct Operation
225
229
  case ALLOW_TRUST:
226
230
  AllowTrustOp allowTrustOp;
227
231
  case ACCOUNT_MERGE:
228
- uint256 destination;
232
+ AccountID destination;
229
233
  case INFLATION:
230
234
  void;
231
235
  }
@@ -275,7 +279,7 @@ struct Transaction
275
279
  AccountID sourceAccount;
276
280
 
277
281
  // the fee the sourceAccount will pay
278
- int32 fee;
282
+ uint32 fee;
279
283
 
280
284
  // sequence number to consume in the account
281
285
  SequenceNumber seqNum;
@@ -286,6 +290,14 @@ struct Transaction
286
290
  Memo memo;
287
291
 
288
292
  Operation operations<100>;
293
+
294
+ // reserved for future use
295
+ union switch (int v)
296
+ {
297
+ case 0:
298
+ void;
299
+ }
300
+ ext;
289
301
  };
290
302
 
291
303
  /* A TransactionEnvelope wraps a transaction with signatures. */
@@ -321,11 +333,11 @@ enum CreateAccountResultCode
321
333
  CREATE_ACCOUNT_SUCCESS = 0, // account was created
322
334
 
323
335
  // codes considered as "failure" for the operation
324
- CREATE_ACCOUNT_MALFORMED = 1, // invalid destination
325
- CREATE_ACCOUNT_UNDERFUNDED = 2, // not enough funds in source account
336
+ CREATE_ACCOUNT_MALFORMED = -1, // invalid destination
337
+ CREATE_ACCOUNT_UNDERFUNDED = -2, // not enough funds in source account
326
338
  CREATE_ACCOUNT_LOW_RESERVE =
327
- 3, // would create an account below the min reserve
328
- CREATE_ACCOUNT_ALREADY_EXIST = 4 // account already exists
339
+ -3, // would create an account below the min reserve
340
+ CREATE_ACCOUNT_ALREADY_EXIST = -4 // account already exists
329
341
  };
330
342
 
331
343
  union CreateAccountResult switch (CreateAccountResultCode code)
@@ -344,12 +356,14 @@ enum PaymentResultCode
344
356
  PAYMENT_SUCCESS = 0, // payment successfuly completed
345
357
 
346
358
  // codes considered as "failure" for the operation
347
- PAYMENT_MALFORMED = -1, // bad input
348
- PAYMENT_UNDERFUNDED = -2, // not enough funds in source account
349
- PAYMENT_NO_DESTINATION = -3, // destination account does not exist
350
- PAYMENT_NO_TRUST = -4, // destination missing a trust line for currency
351
- PAYMENT_NOT_AUTHORIZED = -5, // destination not authorized to hold currency
352
- PAYMENT_LINE_FULL = -6 // destination would go above their limit
359
+ PAYMENT_MALFORMED = -1, // bad input
360
+ PAYMENT_UNDERFUNDED = -2, // not enough funds in source account
361
+ PAYMENT_SRC_NO_TRUST = -3, // no trust line on source account
362
+ PAYMENT_SRC_NOT_AUTHORIZED = -4, // source not authorized to transfer
363
+ PAYMENT_NO_DESTINATION = -5, // destination account does not exist
364
+ PAYMENT_NO_TRUST = -6, // destination missing a trust line for currency
365
+ PAYMENT_NOT_AUTHORIZED = -7, // destination not authorized to hold currency
366
+ PAYMENT_LINE_FULL = -8 // destination would go above their limit
353
367
  };
354
368
 
355
369
  union PaymentResult switch (PaymentResultCode code)
@@ -368,15 +382,16 @@ enum PathPaymentResultCode
368
382
  PATH_PAYMENT_SUCCESS = 0, // success
369
383
 
370
384
  // codes considered as "failure" for the operation
371
- PATH_PAYMENT_MALFORMED = -1, // bad input
372
- PATH_PAYMENT_UNDERFUNDED = -2, // not enough funds in source account
373
- PATH_PAYMENT_NO_DESTINATION = -3, // destination account does not exist
374
- PATH_PAYMENT_NO_TRUST = -4, // destination missing a trust line for currency
375
- PATH_PAYMENT_NOT_AUTHORIZED =
376
- -5, // destination not authorized to hold currency
377
- PATH_PAYMENT_LINE_FULL = -6, // destination would go above their limit
378
- PATH_PAYMENT_TOO_FEW_OFFERS = -7, // not enough offers to satisfy path
379
- PATH_PAYMENT_OVER_SENDMAX = -8 // could not satisfy sendmax
385
+ PATH_PAYMENT_MALFORMED = -1, // bad input
386
+ PATH_PAYMENT_UNDERFUNDED = -2, // not enough funds in source account
387
+ PATH_PAYMENT_SRC_NO_TRUST = -3, // no trust line on source account
388
+ PATH_PAYMENT_SRC_NOT_AUTHORIZED = -4, // source not authorized to transfer
389
+ PATH_PAYMENT_NO_DESTINATION = -5, // destination account does not exist
390
+ PATH_PAYMENT_NO_TRUST = -6, // dest missing a trust line for currency
391
+ PATH_PAYMENT_NOT_AUTHORIZED = -7, // dest not authorized to hold currency
392
+ PATH_PAYMENT_LINE_FULL = -8, // dest would go above their limit
393
+ PATH_PAYMENT_TOO_FEW_OFFERS = -9, // not enough offers to satisfy path
394
+ PATH_PAYMENT_OVER_SENDMAX = -10 // could not satisfy sendmax
380
395
  };
381
396
 
382
397
  struct SimplePaymentResult
@@ -406,18 +421,20 @@ enum ManageOfferResultCode
406
421
  MANAGE_OFFER_SUCCESS = 0,
407
422
 
408
423
  // codes considered as "failure" for the operation
409
- MANAGE_OFFER_MALFORMED = -1, // generated offer would be invalid
410
- MANAGE_OFFER_NO_TRUST = -2, // can't hold what it's buying
411
- MANAGE_OFFER_NOT_AUTHORIZED = -3, // not authorized to sell or buy
412
- MANAGE_OFFER_LINE_FULL = -4, // can't receive more of what it's buying
413
- MANAGE_OFFER_UNDERFUNDED = -5, // doesn't hold what it's trying to sell
414
- MANAGE_OFFER_CROSS_SELF = -6, // would cross an offer from the same user
424
+ MANAGE_OFFER_MALFORMED = -1, // generated offer would be invalid
425
+ MANAGE_OFFER_SELL_NO_TRUST = -2, // no trust line for what we're selling
426
+ MANAGE_OFFER_BUY_NO_TRUST = -3, // no trust line for what we're buying
427
+ MANAGE_OFFER_SELL_NOT_AUTHORIZED = -4, // not authorized to sell
428
+ MANAGE_OFFER_BUY_NOT_AUTHORIZED = -5, // not authorized to buy
429
+ MANAGE_OFFER_LINE_FULL = -6, // can't receive more of what it's buying
430
+ MANAGE_OFFER_UNDERFUNDED = -7, // doesn't hold what it's trying to sell
431
+ MANAGE_OFFER_CROSS_SELF = -8, // would cross an offer from the same user
415
432
 
416
433
  // update errors
417
- MANAGE_OFFER_NOT_FOUND = -7, // offerID does not match an existing offer
418
- MANAGE_OFFER_MISMATCH = -8, // currencies don't match offer
434
+ MANAGE_OFFER_NOT_FOUND = -9, // offerID does not match an existing offer
435
+ MANAGE_OFFER_MISMATCH = -10, // currencies don't match offer
419
436
 
420
- MANAGE_OFFER_LOW_RESERVE = -9 // not enough funds to create a new Offer
437
+ MANAGE_OFFER_LOW_RESERVE = -11 // not enough funds to create a new Offer
421
438
  };
422
439
 
423
440
  enum ManageOfferEffect
@@ -461,9 +478,11 @@ enum SetOptionsResultCode
461
478
  SET_OPTIONS_LOW_RESERVE = -1, // not enough funds to add a signer
462
479
  SET_OPTIONS_TOO_MANY_SIGNERS = -2, // max number of signers already reached
463
480
  SET_OPTIONS_BAD_FLAGS = -3, // invalid combination of clear/set flags
464
- SET_OPTIONS_INVALID_INFLATION = -4, // inflation account does not exist
465
- SET_OPTIONS_CANT_CHANGE = -5, // can no longer change this option
466
- SET_OPTIONS_UNKNOWN_FLAG = -6 // can't set an unknown flag
481
+ SET_OPTIONS_INVALID_INFLATION = -4, // inflation account does not exist
482
+ SET_OPTIONS_CANT_CHANGE = -5, // can no longer change this option
483
+ SET_OPTIONS_UNKNOWN_FLAG = -6, // can't set an unknown flag
484
+ SET_OPTIONS_THRESHOLD_OUT_OF_RANGE = -7, // bad value for weight/threshold
485
+ SET_OPTIONS_BAD_SIGNER = -8 // signer cannot be masterkey
467
486
  };
468
487
 
469
488
  union SetOptionsResult switch (SetOptionsResultCode code)
@@ -548,7 +567,7 @@ enum InflationResultCode
548
567
  INFLATION_NOT_TIME = -1
549
568
  };
550
569
 
551
- struct inflationPayout // or use PaymentResultAtom to limit types?
570
+ struct InflationPayout // or use PaymentResultAtom to limit types?
552
571
  {
553
572
  AccountID destination;
554
573
  int64 amount;
@@ -557,7 +576,7 @@ struct inflationPayout // or use PaymentResultAtom to limit types?
557
576
  union InflationResult switch (InflationResultCode code)
558
577
  {
559
578
  case INFLATION_SUCCESS:
560
- inflationPayout payouts<>;
579
+ InflationPayout payouts<>;
561
580
  default:
562
581
  void;
563
582
  };
@@ -635,5 +654,13 @@ struct TransactionResult
635
654
  void;
636
655
  }
637
656
  result;
657
+
658
+ // reserved for future use
659
+ union switch (int v)
660
+ {
661
+ case 0:
662
+ void;
663
+ }
664
+ ext;
638
665
  };
639
666
  }
@@ -2,46 +2,34 @@
2
2
  // under the Apache License, Version 2.0. See the COPYING file at the root
3
3
  // of this distribution or at http://www.apache.org/licenses/LICENSE-2.0
4
4
 
5
- %#include "generated/SCPXDR.h"
6
-
7
5
  namespace stellar
8
6
  {
9
7
 
10
- // messages
11
- typedef opaque uint512[64];
12
- typedef hyper int64;
8
+ typedef opaque Hash[32];
9
+ typedef opaque uint256[32];
10
+
11
+ typedef unsigned int uint32;
13
12
  typedef int int32;
14
- typedef opaque AccountID[32];
15
- typedef opaque Thresholds[4];
16
- typedef string string32<32>;
17
13
 
18
- typedef uint64 SequenceNumber;
14
+ typedef unsigned hyper uint64;
15
+ typedef hyper int64;
19
16
 
20
- enum CurrencyType
17
+ enum CryptoKeyType
21
18
  {
22
- CURRENCY_TYPE_NATIVE = 0,
23
- CURRENCY_TYPE_ALPHANUM = 1
19
+ KEY_TYPES_ED25519 = 0
24
20
  };
25
21
 
26
- union Currency switch (CurrencyType type)
22
+ union PublicKey switch (CryptoKeyType type)
27
23
  {
28
- case CURRENCY_TYPE_NATIVE:
29
- void;
24
+ case KEY_TYPES_ED25519:
25
+ uint256 ed25519;
26
+ };
30
27
 
31
- case CURRENCY_TYPE_ALPHANUM:
32
- struct
33
- {
34
- opaque currencyCode[4];
35
- AccountID issuer;
36
- } alphaNum;
28
+ // variable size as the size depends on the signature scheme used
29
+ typedef opaque Signature<64>;
37
30
 
38
- // add other currency types here in the future
39
- };
31
+ typedef opaque SignatureHint[4];
32
+
33
+ typedef PublicKey NodeID;
40
34
 
41
- // price in fractional representation
42
- struct Price
43
- {
44
- int32 n; // numerator
45
- int32 d; // denominator
46
- };
47
35
  }
@@ -1,4 +1,4 @@
1
-
1
+ %#include "generated/Stellar-SCP.h"
2
2
  %#include "generated/Stellar-types.h"
3
3
  %#include "generated/Stellar-ledger-entries.h"
4
4
  %#include "generated/Stellar-transaction.h"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stellar-base
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Fleckenstein
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-02 00:00:00.000000000 Z
11
+ date: 2015-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xdr
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.0.3
19
+ version: 0.0.4
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.0.3
26
+ version: 0.0.4
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rbnacl
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -216,6 +216,7 @@ files:
216
216
  - examples/transaction_merge.rb
217
217
  - generated/stellar-base-generated.rb
218
218
  - generated/stellar/account_entry.rb
219
+ - generated/stellar/account_entry/ext.rb
219
220
  - generated/stellar/account_flags.rb
220
221
  - generated/stellar/account_merge_result.rb
221
222
  - generated/stellar/account_merge_result_code.rb
@@ -233,11 +234,13 @@ files:
233
234
  - generated/stellar/create_account_result.rb
234
235
  - generated/stellar/create_account_result_code.rb
235
236
  - generated/stellar/create_passive_offer_op.rb
237
+ - generated/stellar/crypto_key_type.rb
236
238
  - generated/stellar/currency.rb
237
239
  - generated/stellar/currency/alpha_num.rb
238
240
  - generated/stellar/currency_type.rb
239
241
  - generated/stellar/decorated_signature.rb
240
242
  - generated/stellar/dont_have.rb
243
+ - generated/stellar/envelope_type.rb
241
244
  - generated/stellar/error.rb
242
245
  - generated/stellar/hello.rb
243
246
  - generated/stellar/inflation_payout.rb
@@ -248,11 +251,15 @@ files:
248
251
  - generated/stellar/ledger_entry_change_type.rb
249
252
  - generated/stellar/ledger_entry_type.rb
250
253
  - generated/stellar/ledger_header.rb
254
+ - generated/stellar/ledger_header/ext.rb
251
255
  - generated/stellar/ledger_header_history_entry.rb
256
+ - generated/stellar/ledger_header_history_entry/ext.rb
252
257
  - generated/stellar/ledger_key.rb
253
258
  - generated/stellar/ledger_key/account.rb
254
259
  - generated/stellar/ledger_key/offer.rb
255
260
  - generated/stellar/ledger_key/trust_line.rb
261
+ - generated/stellar/ledger_upgrade.rb
262
+ - generated/stellar/ledger_upgrade_type.rb
256
263
  - generated/stellar/manage_offer_effect.rb
257
264
  - generated/stellar/manage_offer_op.rb
258
265
  - generated/stellar/manage_offer_result.rb
@@ -263,6 +270,7 @@ files:
263
270
  - generated/stellar/memo_type.rb
264
271
  - generated/stellar/message_type.rb
265
272
  - generated/stellar/offer_entry.rb
273
+ - generated/stellar/offer_entry/ext.rb
266
274
  - generated/stellar/offer_entry_flags.rb
267
275
  - generated/stellar/operation.rb
268
276
  - generated/stellar/operation/body.rb
@@ -279,11 +287,15 @@ files:
279
287
  - generated/stellar/payment_result_code.rb
280
288
  - generated/stellar/peer_address.rb
281
289
  - generated/stellar/price.rb
290
+ - generated/stellar/public_key.rb
282
291
  - generated/stellar/scp_ballot.rb
283
292
  - generated/stellar/scp_envelope.rb
293
+ - generated/stellar/scp_nomination.rb
284
294
  - generated/stellar/scp_quorum_set.rb
285
295
  - generated/stellar/scp_statement.rb
286
296
  - generated/stellar/scp_statement/pledges.rb
297
+ - generated/stellar/scp_statement/pledges/confirm.rb
298
+ - generated/stellar/scp_statement/pledges/externalize.rb
287
299
  - generated/stellar/scp_statement/pledges/prepare.rb
288
300
  - generated/stellar/scp_statement_type.rb
289
301
  - generated/stellar/set_options_op.rb
@@ -291,22 +303,28 @@ files:
291
303
  - generated/stellar/set_options_result_code.rb
292
304
  - generated/stellar/signer.rb
293
305
  - generated/stellar/simple_payment_result.rb
294
- - generated/stellar/stellar_ballot.rb
295
- - generated/stellar/stellar_ballot_value.rb
296
306
  - generated/stellar/stellar_message.rb
307
+ - generated/stellar/stellar_value.rb
308
+ - generated/stellar/stellar_value/ext.rb
309
+ - generated/stellar/threshold_indexes.rb
297
310
  - generated/stellar/time_bounds.rb
298
311
  - generated/stellar/transaction.rb
312
+ - generated/stellar/transaction/ext.rb
299
313
  - generated/stellar/transaction_envelope.rb
300
314
  - generated/stellar/transaction_history_entry.rb
315
+ - generated/stellar/transaction_history_entry/ext.rb
301
316
  - generated/stellar/transaction_history_result_entry.rb
317
+ - generated/stellar/transaction_history_result_entry/ext.rb
302
318
  - generated/stellar/transaction_meta.rb
303
319
  - generated/stellar/transaction_result.rb
320
+ - generated/stellar/transaction_result/ext.rb
304
321
  - generated/stellar/transaction_result/result.rb
305
322
  - generated/stellar/transaction_result_code.rb
306
323
  - generated/stellar/transaction_result_pair.rb
307
324
  - generated/stellar/transaction_result_set.rb
308
325
  - generated/stellar/transaction_set.rb
309
326
  - generated/stellar/trust_line_entry.rb
327
+ - generated/stellar/trust_line_entry/ext.rb
310
328
  - generated/stellar/trust_line_flags.rb
311
329
  - lib/stellar-base.rb
312
330
  - lib/stellar/account_flags.rb
@@ -340,7 +358,7 @@ files:
340
358
  - tasks/rspec.rake
341
359
  - tasks/travis.rake
342
360
  - tasks/xdr.rake
343
- - xdr/SCPXDR.x
361
+ - xdr/Stellar-SCP.x
344
362
  - xdr/Stellar-ledger-entries.x
345
363
  - xdr/Stellar-ledger.x
346
364
  - xdr/Stellar-overlay.x
@@ -1,22 +0,0 @@
1
- # Automatically generated on 2015-05-13T15:00:04-07:00
2
- # DO NOT EDIT or your changes may be overwritten
3
-
4
- require 'xdr'
5
-
6
- # === xdr source ============================================================
7
- #
8
- # struct StellarBallot
9
- # {
10
- # uint256 nodeID;
11
- # Signature signature;
12
- # StellarBallotValue value;
13
- # };
14
- #
15
- # ===========================================================================
16
- module Stellar
17
- class StellarBallot < XDR::Struct
18
- attribute :node_id, Uint256
19
- attribute :signature, Signature
20
- attribute :value, StellarBallotValue
21
- end
22
- end