generated/stellar/bucket_entry.rb in stellar-base-0.19.0 vs generated/stellar/bucket_entry.rb in stellar-base-0.20.0
- old
+ new
@@ -6,23 +6,29 @@
# === xdr source ============================================================
#
# union BucketEntry switch (BucketEntryType type)
# {
# case LIVEENTRY:
+# case INITENTRY:
# LedgerEntry liveEntry;
#
# case DEADENTRY:
# LedgerKey deadEntry;
+# case METAENTRY:
+# BucketMetadata metaEntry;
# };
#
# ===========================================================================
module Stellar
class BucketEntry < XDR::Union
switch_on BucketEntryType, :type
switch :liveentry, :live_entry
+ switch :initentry, :live_entry
switch :deadentry, :dead_entry
+ switch :metaentry, :meta_entry
attribute :live_entry, LedgerEntry
attribute :dead_entry, LedgerKey
+ attribute :meta_entry, BucketMetadata
end
end