Compare commits
1 Commits
main
...
signal/1.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9b8f3ecab2 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,6 +1,3 @@
|
||||
GEM
|
||||
specs:
|
||||
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
@ -88,6 +85,7 @@ GEM
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
universal-darwin-20
|
||||
|
||||
DEPENDENCIES
|
||||
cocoapods!
|
||||
|
||||
@ -365,27 +365,31 @@ extension Blockchain_Block: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
|
||||
}
|
||||
|
||||
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
||||
if let v = self._id {
|
||||
// The use of inline closures is to circumvent an issue where the compiler
|
||||
// allocates stack space for every if/case branch local when no optimizations
|
||||
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
||||
// https://github.com/apple/swift-protobuf/issues/1182
|
||||
try { if let v = self._id {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
|
||||
}
|
||||
} }()
|
||||
if self.version != 0 {
|
||||
try visitor.visitSingularUInt32Field(value: self.version, fieldNumber: 2)
|
||||
}
|
||||
if let v = self._parentID {
|
||||
try { if let v = self._parentID {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 3)
|
||||
}
|
||||
} }()
|
||||
if self.index != 0 {
|
||||
try visitor.visitSingularUInt64Field(value: self.index, fieldNumber: 4)
|
||||
}
|
||||
if self.cumulativeTxoCount != 0 {
|
||||
try visitor.visitSingularUInt64Field(value: self.cumulativeTxoCount, fieldNumber: 5)
|
||||
}
|
||||
if let v = self._rootElement {
|
||||
try { if let v = self._rootElement {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 6)
|
||||
}
|
||||
if let v = self._contentsHash {
|
||||
} }()
|
||||
try { if let v = self._contentsHash {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 7)
|
||||
}
|
||||
} }()
|
||||
try unknownFields.traverse(visitor: &visitor)
|
||||
}
|
||||
|
||||
@ -463,12 +467,16 @@ extension Blockchain_BlockSignature: SwiftProtobuf.Message, SwiftProtobuf._Messa
|
||||
}
|
||||
|
||||
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
||||
if let v = self._signature {
|
||||
// The use of inline closures is to circumvent an issue where the compiler
|
||||
// allocates stack space for every if/case branch local when no optimizations
|
||||
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
||||
// https://github.com/apple/swift-protobuf/issues/1182
|
||||
try { if let v = self._signature {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
|
||||
}
|
||||
if let v = self._signer {
|
||||
} }()
|
||||
try { if let v = self._signer {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
|
||||
}
|
||||
} }()
|
||||
if self.signedAt != 0 {
|
||||
try visitor.visitSingularUInt64Field(value: self.signedAt, fieldNumber: 3)
|
||||
}
|
||||
@ -507,15 +515,19 @@ extension Blockchain_ArchiveBlockV1: SwiftProtobuf.Message, SwiftProtobuf._Messa
|
||||
}
|
||||
|
||||
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
||||
if let v = self._block {
|
||||
// The use of inline closures is to circumvent an issue where the compiler
|
||||
// allocates stack space for every if/case branch local when no optimizations
|
||||
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
||||
// https://github.com/apple/swift-protobuf/issues/1182
|
||||
try { if let v = self._block {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
|
||||
}
|
||||
if let v = self._blockContents {
|
||||
} }()
|
||||
try { if let v = self._blockContents {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
|
||||
}
|
||||
if let v = self._signature {
|
||||
} }()
|
||||
try { if let v = self._signature {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 3)
|
||||
}
|
||||
} }()
|
||||
try unknownFields.traverse(visitor: &visitor)
|
||||
}
|
||||
|
||||
@ -559,9 +571,13 @@ extension Blockchain_ArchiveBlock: SwiftProtobuf.Message, SwiftProtobuf._Message
|
||||
}
|
||||
|
||||
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
||||
if case .v1(let v)? = self.block {
|
||||
// The use of inline closures is to circumvent an issue where the compiler
|
||||
// allocates stack space for every if/case branch local when no optimizations
|
||||
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
||||
// https://github.com/apple/swift-protobuf/issues/1182
|
||||
try { if case .v1(let v)? = self.block {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
|
||||
}
|
||||
} }()
|
||||
try unknownFields.traverse(visitor: &visitor)
|
||||
}
|
||||
|
||||
|
||||
@ -896,12 +896,16 @@ extension External_AccountKey: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl
|
||||
}
|
||||
|
||||
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
||||
if let v = self._viewPrivateKey {
|
||||
// The use of inline closures is to circumvent an issue where the compiler
|
||||
// allocates stack space for every if/case branch local when no optimizations
|
||||
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
||||
// https://github.com/apple/swift-protobuf/issues/1182
|
||||
try { if let v = self._viewPrivateKey {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
|
||||
}
|
||||
if let v = self._spendPrivateKey {
|
||||
} }()
|
||||
try { if let v = self._spendPrivateKey {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
|
||||
}
|
||||
} }()
|
||||
if !self.fogReportURL.isEmpty {
|
||||
try visitor.visitSingularStringField(value: self.fogReportURL, fieldNumber: 3)
|
||||
}
|
||||
@ -952,12 +956,16 @@ extension External_PublicAddress: SwiftProtobuf.Message, SwiftProtobuf._MessageI
|
||||
}
|
||||
|
||||
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
||||
if let v = self._viewPublicKey {
|
||||
// The use of inline closures is to circumvent an issue where the compiler
|
||||
// allocates stack space for every if/case branch local when no optimizations
|
||||
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
||||
// https://github.com/apple/swift-protobuf/issues/1182
|
||||
try { if let v = self._viewPublicKey {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
|
||||
}
|
||||
if let v = self._spendPublicKey {
|
||||
} }()
|
||||
try { if let v = self._spendPublicKey {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
|
||||
}
|
||||
} }()
|
||||
if !self.fogReportURL.isEmpty {
|
||||
try visitor.visitSingularStringField(value: self.fogReportURL, fieldNumber: 3)
|
||||
}
|
||||
@ -1006,9 +1014,13 @@ extension External_RootIdentity: SwiftProtobuf.Message, SwiftProtobuf._MessageIm
|
||||
}
|
||||
|
||||
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
||||
if let v = self._rootEntropy {
|
||||
// The use of inline closures is to circumvent an issue where the compiler
|
||||
// allocates stack space for every if/case branch local when no optimizations
|
||||
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
||||
// https://github.com/apple/swift-protobuf/issues/1182
|
||||
try { if let v = self._rootEntropy {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
|
||||
}
|
||||
} }()
|
||||
if !self.fogReportURL.isEmpty {
|
||||
try visitor.visitSingularStringField(value: self.fogReportURL, fieldNumber: 2)
|
||||
}
|
||||
@ -1084,12 +1096,16 @@ extension External_ViewKey: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
|
||||
}
|
||||
|
||||
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
||||
if let v = self._viewPrivateKey {
|
||||
// The use of inline closures is to circumvent an issue where the compiler
|
||||
// allocates stack space for every if/case branch local when no optimizations
|
||||
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
||||
// https://github.com/apple/swift-protobuf/issues/1182
|
||||
try { if let v = self._viewPrivateKey {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
|
||||
}
|
||||
if let v = self._spendPublicKey {
|
||||
} }()
|
||||
try { if let v = self._spendPublicKey {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
|
||||
}
|
||||
} }()
|
||||
try unknownFields.traverse(visitor: &visitor)
|
||||
}
|
||||
|
||||
@ -1256,12 +1272,16 @@ extension External_TxOutMembershipElement: SwiftProtobuf.Message, SwiftProtobuf.
|
||||
}
|
||||
|
||||
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
||||
if let v = self._range {
|
||||
// The use of inline closures is to circumvent an issue where the compiler
|
||||
// allocates stack space for every if/case branch local when no optimizations
|
||||
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
||||
// https://github.com/apple/swift-protobuf/issues/1182
|
||||
try { if let v = self._range {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
|
||||
}
|
||||
if let v = self._hash {
|
||||
} }()
|
||||
try { if let v = self._hash {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
|
||||
}
|
||||
} }()
|
||||
try unknownFields.traverse(visitor: &visitor)
|
||||
}
|
||||
|
||||
@ -1370,9 +1390,13 @@ extension External_Amount: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen
|
||||
}
|
||||
|
||||
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
||||
if let v = self._commitment {
|
||||
// The use of inline closures is to circumvent an issue where the compiler
|
||||
// allocates stack space for every if/case branch local when no optimizations
|
||||
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
||||
// https://github.com/apple/swift-protobuf/issues/1182
|
||||
try { if let v = self._commitment {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
|
||||
}
|
||||
} }()
|
||||
if self.maskedValue != 0 {
|
||||
try visitor.visitSingularFixed64Field(value: self.maskedValue, fieldNumber: 2)
|
||||
}
|
||||
@ -1478,21 +1502,25 @@ extension External_TxOut: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement
|
||||
}
|
||||
|
||||
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
||||
if let v = self._amount {
|
||||
// The use of inline closures is to circumvent an issue where the compiler
|
||||
// allocates stack space for every if/case branch local when no optimizations
|
||||
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
||||
// https://github.com/apple/swift-protobuf/issues/1182
|
||||
try { if let v = self._amount {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
|
||||
}
|
||||
if let v = self._targetKey {
|
||||
} }()
|
||||
try { if let v = self._targetKey {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
|
||||
}
|
||||
if let v = self._publicKey {
|
||||
} }()
|
||||
try { if let v = self._publicKey {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 3)
|
||||
}
|
||||
if let v = self._eFogHint {
|
||||
} }()
|
||||
try { if let v = self._eFogHint {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 4)
|
||||
}
|
||||
if let v = self._eMemo {
|
||||
} }()
|
||||
try { if let v = self._eMemo {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 5)
|
||||
}
|
||||
} }()
|
||||
try unknownFields.traverse(visitor: &visitor)
|
||||
}
|
||||
|
||||
@ -1618,15 +1646,19 @@ extension External_RingMLSAG: SwiftProtobuf.Message, SwiftProtobuf._MessageImple
|
||||
}
|
||||
|
||||
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
||||
if let v = self._cZero {
|
||||
// The use of inline closures is to circumvent an issue where the compiler
|
||||
// allocates stack space for every if/case branch local when no optimizations
|
||||
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
||||
// https://github.com/apple/swift-protobuf/issues/1182
|
||||
try { if let v = self._cZero {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
|
||||
}
|
||||
} }()
|
||||
if !self.responses.isEmpty {
|
||||
try visitor.visitRepeatedMessageField(value: self.responses, fieldNumber: 2)
|
||||
}
|
||||
if let v = self._keyImage {
|
||||
try { if let v = self._keyImage {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 3)
|
||||
}
|
||||
} }()
|
||||
try unknownFields.traverse(visitor: &visitor)
|
||||
}
|
||||
|
||||
@ -1704,12 +1736,16 @@ extension External_Tx: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementati
|
||||
}
|
||||
|
||||
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
||||
if let v = self._prefix {
|
||||
// The use of inline closures is to circumvent an issue where the compiler
|
||||
// allocates stack space for every if/case branch local when no optimizations
|
||||
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
||||
// https://github.com/apple/swift-protobuf/issues/1182
|
||||
try { if let v = self._prefix {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
|
||||
}
|
||||
if let v = self._signature {
|
||||
} }()
|
||||
try { if let v = self._signature {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
|
||||
}
|
||||
} }()
|
||||
try unknownFields.traverse(visitor: &visitor)
|
||||
}
|
||||
|
||||
@ -1778,18 +1814,22 @@ extension External_Receipt: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
|
||||
}
|
||||
|
||||
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
||||
if let v = self._publicKey {
|
||||
// The use of inline closures is to circumvent an issue where the compiler
|
||||
// allocates stack space for every if/case branch local when no optimizations
|
||||
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
||||
// https://github.com/apple/swift-protobuf/issues/1182
|
||||
try { if let v = self._publicKey {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
|
||||
}
|
||||
if let v = self._confirmation {
|
||||
} }()
|
||||
try { if let v = self._confirmation {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
|
||||
}
|
||||
} }()
|
||||
if self.tombstoneBlock != 0 {
|
||||
try visitor.visitSingularUInt64Field(value: self.tombstoneBlock, fieldNumber: 3)
|
||||
}
|
||||
if let v = self._amount {
|
||||
try { if let v = self._amount {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 4)
|
||||
}
|
||||
} }()
|
||||
try unknownFields.traverse(visitor: &visitor)
|
||||
}
|
||||
|
||||
@ -1858,9 +1898,13 @@ extension External_VerificationReport: SwiftProtobuf.Message, SwiftProtobuf._Mes
|
||||
}
|
||||
|
||||
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
||||
if let v = self._sig {
|
||||
// The use of inline closures is to circumvent an issue where the compiler
|
||||
// allocates stack space for every if/case branch local when no optimizations
|
||||
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
||||
// https://github.com/apple/swift-protobuf/issues/1182
|
||||
try { if let v = self._sig {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
|
||||
}
|
||||
} }()
|
||||
if !self.chain.isEmpty {
|
||||
try visitor.visitRepeatedBytesField(value: self.chain, fieldNumber: 2)
|
||||
}
|
||||
|
||||
@ -658,18 +658,22 @@ extension FogLedger_OutputResult: SwiftProtobuf.Message, SwiftProtobuf._MessageI
|
||||
}
|
||||
|
||||
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
||||
// The use of inline closures is to circumvent an issue where the compiler
|
||||
// allocates stack space for every if/case branch local when no optimizations
|
||||
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
||||
// https://github.com/apple/swift-protobuf/issues/1182
|
||||
if self.index != 0 {
|
||||
try visitor.visitSingularFixed64Field(value: self.index, fieldNumber: 1)
|
||||
}
|
||||
if self.resultCode != 0 {
|
||||
try visitor.visitSingularFixed32Field(value: self.resultCode, fieldNumber: 2)
|
||||
}
|
||||
if let v = self._output {
|
||||
try { if let v = self._output {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 3)
|
||||
}
|
||||
if let v = self._proof {
|
||||
} }()
|
||||
try { if let v = self._proof {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 4)
|
||||
}
|
||||
} }()
|
||||
try unknownFields.traverse(visitor: &visitor)
|
||||
}
|
||||
|
||||
@ -736,9 +740,13 @@ extension FogLedger_KeyImageQuery: SwiftProtobuf.Message, SwiftProtobuf._Message
|
||||
}
|
||||
|
||||
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
||||
if let v = self._keyImage {
|
||||
// The use of inline closures is to circumvent an issue where the compiler
|
||||
// allocates stack space for every if/case branch local when no optimizations
|
||||
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
||||
// https://github.com/apple/swift-protobuf/issues/1182
|
||||
try { if let v = self._keyImage {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
|
||||
}
|
||||
} }()
|
||||
if self.startBlock != 0 {
|
||||
try visitor.visitSingularFixed64Field(value: self.startBlock, fieldNumber: 2)
|
||||
}
|
||||
@ -824,9 +832,13 @@ extension FogLedger_KeyImageResult: SwiftProtobuf.Message, SwiftProtobuf._Messag
|
||||
}
|
||||
|
||||
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
||||
if let v = self._keyImage {
|
||||
// The use of inline closures is to circumvent an issue where the compiler
|
||||
// allocates stack space for every if/case branch local when no optimizations
|
||||
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
||||
// https://github.com/apple/swift-protobuf/issues/1182
|
||||
try { if let v = self._keyImage {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
|
||||
}
|
||||
} }()
|
||||
if self.spentAt != 0 {
|
||||
try visitor.visitSingularFixed64Field(value: self.spentAt, fieldNumber: 2)
|
||||
}
|
||||
@ -1090,9 +1102,13 @@ extension FogLedger_TxOutResult: SwiftProtobuf.Message, SwiftProtobuf._MessageIm
|
||||
}
|
||||
|
||||
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
||||
if let v = self._txOutPubkey {
|
||||
// The use of inline closures is to circumvent an issue where the compiler
|
||||
// allocates stack space for every if/case branch local when no optimizations
|
||||
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
||||
// https://github.com/apple/swift-protobuf/issues/1182
|
||||
try { if let v = self._txOutPubkey {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
|
||||
}
|
||||
} }()
|
||||
if self.resultCode != .notFound {
|
||||
try visitor.visitSingularEnumField(value: self.resultCode, fieldNumber: 2)
|
||||
}
|
||||
|
||||
@ -186,9 +186,13 @@ extension Printable_PaymentRequest: SwiftProtobuf.Message, SwiftProtobuf._Messag
|
||||
}
|
||||
|
||||
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
||||
if let v = self._publicAddress {
|
||||
// The use of inline closures is to circumvent an issue where the compiler
|
||||
// allocates stack space for every if/case branch local when no optimizations
|
||||
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
||||
// https://github.com/apple/swift-protobuf/issues/1182
|
||||
try { if let v = self._publicAddress {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
|
||||
}
|
||||
} }()
|
||||
if self.value != 0 {
|
||||
try visitor.visitSingularUInt64Field(value: self.value, fieldNumber: 2)
|
||||
}
|
||||
@ -232,12 +236,16 @@ extension Printable_TransferPayload: SwiftProtobuf.Message, SwiftProtobuf._Messa
|
||||
}
|
||||
|
||||
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
||||
// The use of inline closures is to circumvent an issue where the compiler
|
||||
// allocates stack space for every if/case branch local when no optimizations
|
||||
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
||||
// https://github.com/apple/swift-protobuf/issues/1182
|
||||
if !self.rootEntropy.isEmpty {
|
||||
try visitor.visitSingularBytesField(value: self.rootEntropy, fieldNumber: 1)
|
||||
}
|
||||
if let v = self._txOutPublicKey {
|
||||
try { if let v = self._txOutPublicKey {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
|
||||
}
|
||||
} }()
|
||||
if !self.memo.isEmpty {
|
||||
try visitor.visitSingularStringField(value: self.memo, fieldNumber: 3)
|
||||
}
|
||||
@ -317,8 +325,9 @@ extension Printable_PrintableWrapper: SwiftProtobuf.Message, SwiftProtobuf._Mess
|
||||
|
||||
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
||||
// The use of inline closures is to circumvent an issue where the compiler
|
||||
// allocates stack space for every case branch when no optimizations are
|
||||
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
||||
// allocates stack space for every if/case branch local when no optimizations
|
||||
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
||||
// https://github.com/apple/swift-protobuf/issues/1182
|
||||
switch self.wrapper {
|
||||
case .publicAddress?: try {
|
||||
guard case .publicAddress(let v)? = self.wrapper else { preconditionFailure() }
|
||||
|
||||
@ -182,12 +182,16 @@ extension Report_Report: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa
|
||||
}
|
||||
|
||||
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
||||
// The use of inline closures is to circumvent an issue where the compiler
|
||||
// allocates stack space for every if/case branch local when no optimizations
|
||||
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
||||
// https://github.com/apple/swift-protobuf/issues/1182
|
||||
if !self.fogReportID.isEmpty {
|
||||
try visitor.visitSingularStringField(value: self.fogReportID, fieldNumber: 1)
|
||||
}
|
||||
if let v = self._report {
|
||||
try { if let v = self._report {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
|
||||
}
|
||||
} }()
|
||||
if self.pubkeyExpiry != 0 {
|
||||
try visitor.visitSingularFixed64Field(value: self.pubkeyExpiry, fieldNumber: 3)
|
||||
}
|
||||
|
||||
@ -587,12 +587,16 @@ extension FogView_RngRecord: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem
|
||||
}
|
||||
|
||||
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
||||
// The use of inline closures is to circumvent an issue where the compiler
|
||||
// allocates stack space for every if/case branch local when no optimizations
|
||||
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
||||
// https://github.com/apple/swift-protobuf/issues/1182
|
||||
if self.ingestInvocationID != 0 {
|
||||
try visitor.visitSingularInt64Field(value: self.ingestInvocationID, fieldNumber: 1)
|
||||
}
|
||||
if let v = self._pubkey {
|
||||
try { if let v = self._pubkey {
|
||||
try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
|
||||
}
|
||||
} }()
|
||||
if self.startBlock != 0 {
|
||||
try visitor.visitSingularUInt64Field(value: self.startBlock, fieldNumber: 3)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user