/* Generated by Nim Compiler v1.2.6 */ /* (c) 2020 Andreas Rumpf */ /* The generated code is subject to the original license. */ /* Compiled for: Linux, amd64, gcc */ /* Command for C compiler: gcc -c -w -pthread -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace/install/usr/include -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/src -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/inc -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/tools -DBR_USE_UNIX_TIME=1 -DBR_USE_URANDOM=1 -DBR_LE_UNALIGNED=1 -DBR_64=1 -DBR_amd64=1 -DBR_INT128=1 -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1 -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1/src -DHAVE_CONFIG_H -DHAVE_BUILTIN_EXPECT -march=native -g3 -Og -O3 -fno-strict-aliasing -fno-ident -I/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib -I/home/runner/work/nim-waku/nim-waku/waku/v2/node -o nimcache/release/start_network2/@mstart_network2.nim.c.o nimcache/release/start_network2/@mstart_network2.nim.c */ #define NIM_INTBITS 64 #include "nimbase.h" #include #include #include #include #include "bearssl_rand.h" #include "bearssl_hash.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix #define nimfr_(x, y) #define nimln_(x, y) typedef struct tySequence__VdfvuNMTHG7pz0wENyTbaQ tySequence__VdfvuNMTHG7pz0wENyTbaQ; typedef struct TGenericSeq TGenericSeq; typedef struct tyObject_NodeInfo__j8PgLOzOuxtxDlSRqWQ5Ew tyObject_NodeInfo__j8PgLOzOuxtxDlSRqWQ5Ew; typedef struct NimStringDesc NimStringDesc; typedef struct TNimType TNimType; typedef struct TNimNode TNimNode; typedef struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ tySequence__sM4lkSb7zS6F7OVMvW9cffQ; typedef struct tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w; typedef struct tySequence__6H5Oh5UUvVCLiakt9aTwtUQ tySequence__6H5Oh5UUvVCLiakt9aTwtUQ; typedef struct tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw; typedef struct tyObject_PrivateKey__GSDbMQxBVd3KO4qBUjzPKQ tyObject_PrivateKey__GSDbMQxBVd3KO4qBUjzPKQ; typedef struct tyObject_RsaPrivateKeycolonObjectType___xFWT9bk7KDVd9cMFfRtPM9c9bw tyObject_RsaPrivateKeycolonObjectType___xFWT9bk7KDVd9cMFfRtPM9c9bw; typedef struct tyObject_EdPrivateKey__KumOofCUWyjlYLnvXlcIJA tyObject_EdPrivateKey__KumOofCUWyjlYLnvXlcIJA; typedef struct tyObject_EcPrivateKeycolonObjectType___OJbV39curmS5TCBXopR7itA tyObject_EcPrivateKeycolonObjectType___OJbV39curmS5TCBXopR7itA; typedef struct tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA; typedef struct tyObject_RsaPublicKeycolonObjectType___cEZIZ6MRRYNM7g7RvdoBpg tyObject_RsaPublicKeycolonObjectType___cEZIZ6MRRYNM7g7RvdoBpg; typedef struct tyObject_EdPublicKey__fCTHNrLwOTcb1HatTDTAEA tyObject_EdPublicKey__fCTHNrLwOTcb1HatTDTAEA; typedef struct tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA; typedef struct tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ; typedef struct tyObject_EcPublicKeycolonObjectType___2rc9bUkP8wBzp3UeWWgE9b5Q tyObject_EcPublicKeycolonObjectType___2rc9bUkP8wBzp3UeWWgE9b5Q; typedef struct tyObject_Result__vwq6q8V74XCA8dzFvuzU1Q tyObject_Result__vwq6q8V74XCA8dzFvuzU1Q; typedef struct tyObject_KeyPair__tQWNeSs2tsAiqYEJhp407g tyObject_KeyPair__tQWNeSs2tsAiqYEJhp407g; typedef struct tyObject_PeerInfocolonObjectType___tniXhe3Zv7xQqYX3AOw9aQw tyObject_PeerInfocolonObjectType___tniXhe3Zv7xQqYX3AOw9aQw; typedef struct tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw; typedef struct tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA; typedef struct tyObject_Result__PKxkoXWaN3KMkcMCVcHVjw tyObject_Result__PKxkoXWaN3KMkcMCVcHVjw; typedef struct Exception Exception; typedef struct RootObj RootObj; typedef struct tySequence__uB9b75OUPRENsBAu4AnoePA tySequence__uB9b75OUPRENsBAu4AnoePA; typedef struct TSafePoint TSafePoint; typedef struct tyObject_TopicSettings__oHdFGV9aUkZXwZgwzeiU4oQ tyObject_TopicSettings__oHdFGV9aUkZXwZgwzeiU4oQ; typedef struct tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA; typedef struct tyObject_BufferedOutput__8P9alBgCoSqOy9alEKOH4etg tyObject_BufferedOutput__8P9alBgCoSqOy9alEKOH4etg; typedef struct tyTuple__yobv8JsmBBRNC1NIieLJzQ tyTuple__yobv8JsmBBRNC1NIieLJzQ; typedef struct tyObject_StdOutOutput__QHttWltDMaZ0hK1JkeyuCA tyObject_StdOutOutput__QHttWltDMaZ0hK1JkeyuCA; typedef struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA; typedef struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g; typedef struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w; typedef struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ; typedef struct tyObject_GcStack__7fytPA5bBsob6See21YMRA tyObject_GcStack__7fytPA5bBsob6See21YMRA; typedef struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg; typedef struct tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ; typedef struct tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg; typedef struct tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw; typedef struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA; typedef struct tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw; typedef struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw; typedef struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg; typedef struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyTuple__ujsjpB2O9cjj3uDHsXbnSzg; typedef struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg; typedef struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ; typedef struct tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg; typedef struct tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw; typedef struct tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg; typedef struct tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw; typedef struct tySequence__pJDjdGjSf3HlAOELaHOmSA tySequence__pJDjdGjSf3HlAOELaHOmSA; typedef struct tyObject_Option__Em5DpQtK80JNdy8nyXe6Kg tyObject_Option__Em5DpQtK80JNdy8nyXe6Kg; typedef struct tyTuple__UV3llMMYFckfui8YMBuUZA tyTuple__UV3llMMYFckfui8YMBuUZA; typedef struct tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q; typedef struct tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg; typedef struct tySequence__MlAD6nAPq9bHKla9cWiIZP0g tySequence__MlAD6nAPq9bHKla9cWiIZP0g; typedef struct tySequence__oLpBKXzW3hF9aCVMo5EymfQ tySequence__oLpBKXzW3hF9aCVMo5EymfQ; typedef struct tyObject_SerializationError__pU5THS9aG4YyseMvUN63xFQ tyObject_SerializationError__pU5THS9aG4YyseMvUN63xFQ; typedef struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA; typedef struct tyTuple__awOivLjlO76sGdHY7nQUjQ tyTuple__awOivLjlO76sGdHY7nQUjQ; struct TGenericSeq {NI len; NI reserved; }; struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE]; }; struct tyObject_NodeInfo__j8PgLOzOuxtxDlSRqWQ5Ew {NimStringDesc* cmd; NIM_BOOL master; NimStringDesc* address; NI shift; NimStringDesc* label; }; typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A; typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ; typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op); typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p); struct TNimType {NI size; tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind; tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags; TNimType* base; TNimNode* node; void* finalizer; tyProc__ojoeKfW4VYIm36I9cpDTQIg marker; tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy; NCSTRING name; TNimType* nextType; NI instances; NI sizes; }; typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ; struct TNimNode {tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind; NI offset; TNimType* typ; NCSTRING name; NI len; TNimNode** sons; }; typedef N_NIMCALL_PTR(void, tyProc__T4eqaYlFJYZUv9aG9b1TV0bQ) (void); typedef NU8 tyEnum_Topology__AC71o3YQFs1NhSS80x7zGw; typedef NU8 tyArray__vEOa9c5qaE9ajWxR5R4zwfQg[32]; struct tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w {tyArray__vEOa9c5qaE9ajWxR5R4zwfQg data; }; typedef NU8 tySet_tyEnum_HexFlags__1Frk6a29aEzIs9cJdkfOVHJQ; struct tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw {NIM_BOOL o; union{ struct {NCSTRING e; } _o_1; struct {tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w v; } _o_2; }; }; typedef NU8 tyEnum_PKScheme__GeN4EiKxd9aXAvv5y1lfmHg; typedef NU8 tyArray__w5VB8h5K8DB3oWrO5U2wqg[64]; struct tyObject_EdPrivateKey__KumOofCUWyjlYLnvXlcIJA {tyArray__w5VB8h5K8DB3oWrO5U2wqg data; }; struct tyObject_PrivateKey__GSDbMQxBVd3KO4qBUjzPKQ {tyEnum_PKScheme__GeN4EiKxd9aXAvv5y1lfmHg scheme; union{ struct {tyObject_RsaPrivateKeycolonObjectType___xFWT9bk7KDVd9cMFfRtPM9c9bw* rsakey; } _scheme_1; struct {tyObject_EdPrivateKey__KumOofCUWyjlYLnvXlcIJA edkey; } _scheme_2; struct {tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w skkey; } _scheme_3; struct {tyObject_EcPrivateKeycolonObjectType___OJbV39curmS5TCBXopR7itA* eckey; } _scheme_4; }; }; struct tyObject_EdPublicKey__fCTHNrLwOTcb1HatTDTAEA {tyArray__vEOa9c5qaE9ajWxR5R4zwfQg data; }; struct tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ {tyArray__w5VB8h5K8DB3oWrO5U2wqg data; }; struct tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA {tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ data; }; struct tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA {tyEnum_PKScheme__GeN4EiKxd9aXAvv5y1lfmHg scheme; union{ struct {tyObject_RsaPublicKeycolonObjectType___cEZIZ6MRRYNM7g7RvdoBpg* rsakey; } _scheme_1; struct {tyObject_EdPublicKey__fCTHNrLwOTcb1HatTDTAEA edkey; } _scheme_2; struct {tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA skkey; } _scheme_3; struct {tyObject_EcPublicKeycolonObjectType___2rc9bUkP8wBzp3UeWWgE9b5Q* eckey; } _scheme_4; }; }; typedef NU8 tyEnum_CryptoError__Z6S5YnPavFcXanJgC9cU1uw; struct tyObject_Result__vwq6q8V74XCA8dzFvuzU1Q {NIM_BOOL o; union{ struct {tyEnum_CryptoError__Z6S5YnPavFcXanJgC9cU1uw e; } _o_1; struct {tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA v; } _o_2; }; }; struct tyObject_KeyPair__tQWNeSs2tsAiqYEJhp407g {tyObject_PrivateKey__GSDbMQxBVd3KO4qBUjzPKQ seckey; tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA pubkey; }; struct tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA {tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* buffer; NI offset; }; struct tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw {tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA data; }; typedef tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw tyArray__dy9bXFnEOSMt49aV7Vz01bkw[1]; typedef NimStringDesc* tyArray__8ZvwQIddfpj2THRVPsFzIQ[1]; struct tyObject_Result__PKxkoXWaN3KMkcMCVcHVjw {NIM_BOOL o; union{ struct {NimStringDesc* e; } _o_1; struct {tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw v; } _o_2; }; }; struct RootObj {TNimType* m_type;}; struct Exception { RootObj Sup;Exception* parent; NCSTRING name; NimStringDesc* message; tySequence__uB9b75OUPRENsBAu4AnoePA* trace; Exception* up; }; typedef long tyArray__TcvIiMAJvcwzNLsZkfnFnQ[25]; struct TSafePoint {TSafePoint* prev; NI status; jmp_buf context; }; typedef NU8 tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA; typedef tyObject_TopicSettings__oHdFGV9aUkZXwZgwzeiU4oQ* tyArray__ZagBlFMl7KoYROF13oI1xA[1]; struct tyObject_StdOutOutput__QHttWltDMaZ0hK1JkeyuCA {char dummy; }; struct tyTuple__yobv8JsmBBRNC1NIieLJzQ { tyObject_StdOutOutput__QHttWltDMaZ0hK1JkeyuCA Field0; }; struct tyObject_BufferedOutput__8P9alBgCoSqOy9alEKOH4etg {tyTuple__yobv8JsmBBRNC1NIieLJzQ finalOutputs; NimStringDesc* buffer; }; struct tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA {tyObject_BufferedOutput__8P9alBgCoSqOy9alEKOH4etg output; tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA level; }; struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA { Exception Sup;}; struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g {NI refcount; TNimType* typ; }; struct tyObject_GcStack__7fytPA5bBsob6See21YMRA {void* bottom; }; struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w {NI len; NI cap; tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g** d; }; typedef tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* tyArray__SiRwrEKZdLgxqz9a9aoVBglg[512]; typedef NU32 tyArray__BHbOSqU1t9b3Gt7K2c6fQig[24]; typedef tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* tyArray__N1u1nqOgmuJN9cSZrnMHgOQ[32]; typedef tyArray__N1u1nqOgmuJN9cSZrnMHgOQ tyArray__B6durA4ZCi1xjJvRtyYxMg[24]; typedef tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw* tyArray__lh2A89ahMmYg9bCmpVaplLbA[256]; struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA {tyArray__lh2A89ahMmYg9bCmpVaplLbA data; }; typedef tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* tyArray__0aOLqZchNi8nWtMTi8ND8w[2]; struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw {tyArray__0aOLqZchNi8nWtMTi8ND8w link; NI key; NI upperBound; NI level; }; struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg { tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* Field0; NI Field1; }; typedef tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyArray__LzOv2eCDGiceMKQstCLmhw[30]; struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg {NI len; tyArray__LzOv2eCDGiceMKQstCLmhw chunks; tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg* next; }; struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg {NI minLargeObj; NI maxLargeObj; tyArray__SiRwrEKZdLgxqz9a9aoVBglg freeSmallChunks; NU32 flBitmap; tyArray__BHbOSqU1t9b3Gt7K2c6fQig slBitmap; tyArray__B6durA4ZCi1xjJvRtyYxMg matrix; tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw* llmem; NI currMem; NI maxMem; NI freeMem; NI occ; NI lastSize; tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA chunkStarts; tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* root; tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* deleted; tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* last; tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* freeAvlNodes; NIM_BOOL locked; NIM_BOOL blockChunkSizeIncrease; NI nextChunkSize; tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw bottomData; tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg heapLinks; NI allocCounter; NI deallocCounter; }; struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg {NI stackScans; NI cycleCollections; NI maxThreshold; NI maxStackSize; NI maxStackCells; NI cycleTableSize; NI64 maxPause; }; struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ {NI counter; NI max; tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* head; tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg** data; }; typedef long tyArray__xDUyu9aScDpt0JZLU6q9aEZQ[5]; struct tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw {tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg* head; tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg* tail; pthread_mutex_t lock; }; struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ {tyObject_GcStack__7fytPA5bBsob6See21YMRA stack; NI cycleThreshold; NI zctThreshold; tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w zct; tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w decStack; tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tempStack; NI recGcLock; tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg region; tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg stat; tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ marked; tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w additionalRoots; tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw toDispose; NI gcThreadId; }; struct tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw {tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* data; }; typedef NU8 tyEnum_KeyType__RX9cgRnEh9bnsWx9cuPhqOgtw; struct tyObject_Option__Em5DpQtK80JNdy8nyXe6Kg {tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA val; NIM_BOOL has; }; struct tyObject_PeerInfocolonObjectType___tniXhe3Zv7xQqYX3AOw9aQw { RootObj Sup;tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw peerId; tySequence__pJDjdGjSf3HlAOELaHOmSA* addrs; tySequence__sM4lkSb7zS6F7OVMvW9cffQ* protocols; NimStringDesc* protoVersion; NimStringDesc* agentVersion; NimStringDesc* secure; tyEnum_KeyType__RX9cgRnEh9bnsWx9cuPhqOgtw keyType; union{ struct {tyObject_PrivateKey__GSDbMQxBVd3KO4qBUjzPKQ privateKey; } _keyType_1; struct {tyObject_Option__Em5DpQtK80JNdy8nyXe6Kg key; } _keyType_2; }; }; struct tyTuple__UV3llMMYFckfui8YMBuUZA { NimStringDesc* Field0; NimStringDesc* Field1; }; typedef NU8 tyEnum_JsonNodeKind__RUngo7nCHe6O8aBGIcrhtg; struct tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg {tySequence__MlAD6nAPq9bHKla9cWiIZP0g* data; NI counter; NI first; NI last; }; struct tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q {tyEnum_JsonNodeKind__RUngo7nCHe6O8aBGIcrhtg kind; union{ struct {NimStringDesc* str; } _kind_1; struct {NI64 num; } _kind_2; struct {NF fnum; } _kind_3; struct {NIM_BOOL bval; } _kind_4; struct {tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg fields; } _kind_6; struct {tySequence__oLpBKXzW3hF9aCVMo5EymfQ* elems; } _kind_7; }; }; typedef unsigned char tyArray__A1SHJCPZVISPTujoygIPEQ[64]; struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA {NCSTRING procname; NI line; NCSTRING filename; }; struct tyTuple__awOivLjlO76sGdHY7nQUjQ { NI Field0; NI Field1; NimStringDesc* Field2; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* Field3; }; typedef N_CDECL_PTR(void, tyProc__3qI9bVHqiq07sTQRU9bkkkYQ) (br_prng_class** ctx, void* params, void* seed, NI seedLen); typedef N_CDECL_PTR(void, tyProc__hquUwNr88w4T5ldt8BqLLQ) (br_prng_class** ctx, void* out_0, NI len_0); typedef N_CDECL_PTR(void, tyProc__bF2JFxTs1q6Lq365NU79a2Q) (br_hash_class** ctx); typedef N_CDECL_PTR(void, tyProc__Dc9br5a6SHw9cxie3cas0KTA) (br_hash_class** ctx, void* data_0, NI len_0); typedef N_CDECL_PTR(void, tyProc__JETfgzvEnx6Tz9bYRct9a51g) (br_hash_class** ctx, void* dst); typedef N_CDECL_PTR(NU64, tyProc__e9bd9aJH2sCZh75q9aAcv7ylg) (br_hash_class** ctx, void* dst); typedef N_CDECL_PTR(void, tyProc__g9c2vH2tlPaPmvfTZ3PeWQQ) (br_hash_class** ctx, void* stb, NU64 count_0); struct tySequence__VdfvuNMTHG7pz0wENyTbaQ { TGenericSeq Sup; tyObject_NodeInfo__j8PgLOzOuxtxDlSRqWQ5Ew data[SEQ_DECL_SIZE];};struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ { TGenericSeq Sup; NimStringDesc* data[SEQ_DECL_SIZE];};struct tySequence__6H5Oh5UUvVCLiakt9aTwtUQ { TGenericSeq Sup; NU8 data[SEQ_DECL_SIZE];};struct tySequence__pJDjdGjSf3HlAOELaHOmSA { TGenericSeq Sup; tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw data[SEQ_DECL_SIZE];};struct tySequence__oLpBKXzW3hF9aCVMo5EymfQ { TGenericSeq Sup; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* data[SEQ_DECL_SIZE];};struct tySequence__uB9b75OUPRENsBAu4AnoePA { TGenericSeq Sup; tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA data[SEQ_DECL_SIZE];};struct tySequence__MlAD6nAPq9bHKla9cWiIZP0g { TGenericSeq Sup; tyTuple__awOivLjlO76sGdHY7nQUjQ data[SEQ_DECL_SIZE];};N_LIB_PRIVATE N_NIMCALL(void, nimGCvisit)(void* d, NI op); static N_NIMCALL(void, Marker_tySequence__VdfvuNMTHG7pz0wENyTbaQ)(void* p, NI op); static N_NIMCALL(void, TM__TupAcFEveY6hZClx0rer9aA_3)(void); N_LIB_PRIVATE N_NIMCALL(void, nimRegisterGlobalMarker)(tyProc__T4eqaYlFJYZUv9aG9b1TV0bQ markerProc); N_LIB_PRIVATE N_NIMCALL(tySequence__VdfvuNMTHG7pz0wENyTbaQ*, starNetwork__xUA0eWvuytd3wPoM4Kx3yQ)(NI amount); static N_INLINE(void, nimZeroMem)(void* p, NI size); static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size); N_LIB_PRIVATE N_NIMCALL(void, initNodeCmd__HL9cUYBKmefx2X6te79aqNgg)(NI shift, tySequence__sM4lkSb7zS6F7OVMvW9cffQ* staticNodes, NIM_BOOL master, NimStringDesc* label, tyObject_NodeInfo__j8PgLOzOuxtxDlSRqWQ5Ew* Result); N_LIB_PRIVATE N_NOINLINE(void, chckNil)(void* p); N_LIB_PRIVATE N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src); N_LIB_PRIVATE N_NIMCALL(br_hmac_drbg_context*, newRng__DvRI21sb230Bj3k9blSY5bQ)(void); N_LIB_PRIVATE N_NIMCALL(tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w, random__kzA2SHQcyEn69cF9ccOjTRHA)(br_hmac_drbg_context* rng_0); static N_INLINE(NimStringDesc*, toHex__TfeJ361pglyJR5Hz15wCJQutils)(NU8* a, NI aLen_0, NIM_BOOL lowercase); N_NIMCALL(NimStringDesc*, mnewString)(NI len); N_LIB_PRIVATE N_NOINLINE(void, raiseRangeErrorI)(NI64 i, NI64 a, NI64 b); N_LIB_PRIVATE N_NIMCALL(NI, bytesToHex__TSuuVF9b8JuBk8cjfFOyavA)(NU8* src, NI srcLen_0, NIM_CHAR* dst, NI dstLen_0, tySet_tyEnum_HexFlags__1Frk6a29aEzIs9cJdkfOVHJQ flags_0); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src); static N_INLINE(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, getBytes__SzTO5ksS9cYY86LJG9cd9cX3Qsecp)(tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w* key_0); N_LIB_PRIVATE N_NIMCALL(void*, newSeq)(TNimType* typ, NI len); N_LIB_PRIVATE N_NIMCALL(void, toRaw__QU8um79aWTK6cAEMtJp8d7g)(tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w* seckey, tyArray__vEOa9c5qaE9ajWxR5R4zwfQg Result); static N_INLINE(tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w, get__Vh6VO4POnsp4A5irua1xfQresults)(tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw* self); N_LIB_PRIVATE N_NOINLINE(void, raiseResultDefect__owuWoGCIMYubXziJ5dK27w)(NimStringDesc* m, NCSTRING v) __attribute__((noreturn)); N_LIB_PRIVATE N_NOINLINE(void, raiseFieldError)(NimStringDesc* f); N_LIB_PRIVATE N_NIMCALL(tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw, init__9acLTt0b2rUVe0LNsC0f6KQ)(NU8* data_0, NI data_0Len_0); N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, fromHex__iyeB7uE6rSrjr3EdSifz9cg)(NimStringDesc* a); static N_INLINE(void, get__VeMgo2Cp9aeBXhskxVN2WeAresults)(tyObject_Result__vwq6q8V74XCA8dzFvuzU1Q* self, tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA* Result); N_LIB_PRIVATE N_NOINLINE(void, raiseResultDefect__3fsgzruPHBUZLwZl2Xp3Ow)(NimStringDesc* m, tyEnum_CryptoError__Z6S5YnPavFcXanJgC9cU1uw v) __attribute__((noreturn)); N_LIB_PRIVATE N_NIMCALL(void, genericAssign)(void* dest_0, void* src, TNimType* mt); N_LIB_PRIVATE N_NIMCALL(void, getKey__BjB2ThDklmRLi5zxNp1MMg)(tyObject_PrivateKey__GSDbMQxBVd3KO4qBUjzPKQ* key_0, tyObject_Result__vwq6q8V74XCA8dzFvuzU1Q* Result); N_LIB_PRIVATE N_NIMCALL(tyObject_PeerInfocolonObjectType___tniXhe3Zv7xQqYX3AOw9aQw*, init__PB59cyqPenhYDSnuVdTWYAg)(tyObject_PrivateKey__GSDbMQxBVd3KO4qBUjzPKQ* key_0, tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw* addrs, NI addrsLen_0, NimStringDesc** protocols, NI protocolsLen_0); N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void); static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src); static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size); static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nimIntToStr)(NI x); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, rawNewString)(NI space); static N_INLINE(void, tryGet__uDh0g83qpDAEeI1BpCs9asQresults)(tyObject_Result__PKxkoXWaN3KMkcMCVcHVjw self, tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw* Result); N_LIB_PRIVATE N_NOINLINE(void, raiseResultError__GajABUoufmuSpZ6kkbqc3w)(tyObject_Result__PKxkoXWaN3KMkcMCVcHVjw self) __attribute__((noreturn)); N_LIB_PRIVATE N_NIMCALL(void, genericSeqAssign)(void* dest_0, void* src, TNimType* mt); N_LIB_PRIVATE N_NIMCALL(void, init__8kmgjDEQleLzw0l2hsz9bfA)(NimStringDesc* value_0, tyObject_Result__PKxkoXWaN3KMkcMCVcHVjw* Result); static N_INLINE(void, pushSafePoint)(TSafePoint* s); N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, topicsMatch__KytrWChpQmaEFB83SSLTgg)(tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA logStmtLevel, tyObject_TopicSettings__oHdFGV9aUkZXwZgwzeiU4oQ** logStmtTopics, NI logStmtTopicsLen_0); N_LIB_PRIVATE N_NIMCALL(void, initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r, tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA lvl, NimStringDesc* topics, NimStringDesc* name_0); N_LIB_PRIVATE N_NIMCALL(void, setProperty__czv7v33Y9bwyVAHI9b2eiKDw)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r, NimStringDesc* key_0, NI val_0); N_LIB_PRIVATE N_NIMCALL(NI, getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw)(void); N_LIB_PRIVATE N_NIMCALL(void, setProperty__U2vmGWVLHFSD9cvjHnmuu2A)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r, NimStringDesc* key_0, NimStringDesc* val_0); N_LIB_PRIVATE N_NIMCALL(void, logAllDynamicProperties__2fo45m4EsDq89bdWxK19aOpQ)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r); N_LIB_PRIVATE N_NIMCALL(void, flushRecord__2TFyTWhDxeU5kGr2yqnA6w)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r); static N_INLINE(void, popSafePoint)(void); N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isObj)(TNimType* obj, TNimType* subclass); static N_INLINE(Exception*, nimBorrowCurrentException)(void); static N_INLINE(Exception*, getCurrentException)(void); N_LIB_PRIVATE N_NIMCALL(void, logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg)(NCSTRING msg, Exception* ex); static N_INLINE(void, popCurrentException)(void); static N_INLINE(void, asgnRef)(void** dest, void* src); static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c); static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y); static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr); static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y); static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c); static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y); static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c); N_LIB_PRIVATE N_NOINLINE(void, addZCT__Y66tOYFjgwJ0k4aLz4bc0Q)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c); N_LIB_PRIVATE N_NIMCALL(void, reraiseException)(void); N_LIB_PRIVATE N_NIMCALL(TGenericSeq*, incrSeqV3)(TGenericSeq* s, TNimType* typ); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___YvhybdNIMaDdbU9cTJva0oQ)(tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw pid); N_LIB_PRIVATE N_NIMCALL(void, setProperty__ifXYT2q5B1Fmt8iQTNM3KA)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r, NimStringDesc* key_0, tySequence__pJDjdGjSf3HlAOELaHOmSA* val_0); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___9clTvx1x9boEUsy637oTVrWA)(tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw value_0); N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen); N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src); static N_INLINE(void, nimGCunrefNoCycle)(void* p); N_LIB_PRIVATE N_NIMCALL(tySequence__VdfvuNMTHG7pz0wENyTbaQ*, fullMeshNetwork__xUA0eWvuytd3wPoM4Kx3yQ_2)(NI amount); static N_NIMCALL(void, TM__TupAcFEveY6hZClx0rer9aA_42)(void); static N_NIMCALL(void, TM__TupAcFEveY6hZClx0rer9aA_44)(void); static N_NIMCALL(void, TM__TupAcFEveY6hZClx0rer9aA_46)(void); static N_NIMCALL(void, TM__TupAcFEveY6hZClx0rer9aA_47)(void); N_NIMCALL(NimStringDesc*, rawNewString)(NI cap); N_LIB_PRIVATE N_NIMCALL(void, formatValue__ACNJL1q6Oxfvi53i9bkeK6Q)(NimStringDesc** result, NI value_0, NimStringDesc* specifier); N_LIB_PRIVATE N_NIMCALL(void, formatValue__3zjq9csYPBcIN7AqvyU5ZLA)(NimStringDesc** result, NimStringDesc* value_0, NimStringDesc* specifier); N_LIB_PRIVATE N_NIMCALL(void, generatePrometheusConfig__CykvuULGtm3ZXDUkBkz5wA)(tySequence__VdfvuNMTHG7pz0wENyTbaQ* nodes, NimStringDesc* outputFile); N_LIB_PRIVATE N_NIMCALL(void, nossplitPath)(NimStringDesc* path, tyTuple__UV3llMMYFckfui8YMBuUZA* Result); N_LIB_PRIVATE N_NIMCALL(void, noscreateDir)(NimStringDesc* dir); N_LIB_PRIVATE N_NIMCALL(void, writeFile__D6Pj9c29aCLEJP9beOWa08HYA)(NimStringDesc* filename_0, NimStringDesc* content); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, slash___gEyhbzZ1UcxyenWRLJRXNQ)(NimStringDesc* head_0, NimStringDesc* tail_0); N_LIB_PRIVATE N_NIMCALL(void, proccessGrafanaDashboard__75I6DWsJYBQL1kCkbAQFew)(NI nodes, NimStringDesc* inputFile, NimStringDesc* outputFile); N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, parseFile__Q9bbQtVlwjGc4S8fnWe9b3YA)(NimStringDesc* filename_0); N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, copy__r5dFiT9bcdPOEfGGrwLQKWg)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* p_0); static N_INLINE(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, X5BX5D___277k8m8OstpfbY4dHQex6wjson)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* node, NimStringDesc* name_0); N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q**, X5BX5D___l9atGRY9bA25fn4p5uueZfUQ)(tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg* t, NimStringDesc* key_0); N_LIB_PRIVATE N_NIMCALL(NI, len__Og3BmQpaL5V6gYg5JnWK3Q)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* n_0); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, reprEnum)(NI e_0, TNimType* typ); N_LIB_PRIVATE N_NIMCALL(NI, getInt__1efdasyP68nDQg4BeLHzGQ)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* n_0, NI default_0); static N_INLINE(void, X5BX5Deq___WmQhibcOp3ZlzI9bgifjalAjson)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* obj, NimStringDesc* key_0, tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* val_0); N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___vlnBr1uIbtu0ntnZh6Askg)(tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg* t, NimStringDesc* key_0, tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* val_0); N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, newJArray__nXwnFPu9beTnGPwglrr7ztA_3)(void); N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, percent___19ag6cl4fMjxytc9arHmLIbw_3)(NimStringDesc* s); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuReplaceStr)(NimStringDesc* s, NimStringDesc* sub, NimStringDesc* by); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getStr__QeJX1ptVmfOrOg9cwOVpcAA)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* n_0, NimStringDesc* default_0); N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, percent___NSr46Qz23yGk4m9csPSbQBQ)(NI n_0); N_LIB_PRIVATE N_NIMCALL(void, add__8FFZVkexaQ73y9aREGlrY9bQ)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* father, tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* child); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, pretty__6ucoq7dFiVhOGmHlWNWbTg)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* node, NI indent); N_LIB_PRIVATE N_NIMCALL(NI, nospexecCmd)(NimStringDesc* command); static N_NIMCALL(void, TM__TupAcFEveY6hZClx0rer9aA_103)(void); static N_INLINE(void, initStackBottomWith)(void* locals); N_LIB_PRIVATE N_NOINLINE(void, nimGC_setStackBottom)(void* theStackBottom); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, formatMsg__PdfgthSJLyK9btpbxcxszCQ)(tyObject_SerializationError__pU5THS9aG4YyseMvUN63xFQ* err, NimStringDesc* filename_0); N_LIB_PRIVATE N_NIMCALL(void, stdlib_ioDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_optionsDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_osDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_osInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, libbacktrace_libbacktraceInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_streamsDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_tablesDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, chronicles_optionsDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_terminalDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_terminalInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_dequesDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_heapqueueDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, chronos_timerDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_selectorsDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, chronos_srclocDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, chronos_asyncloopDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, chronos_asyncloopInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, chronos_commonInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, faststreams_buffersDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, faststreams_outputsDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, faststreams_outputsInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_memfilesDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, faststreams_inputsDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, faststreams_inputsInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, faststreams_pipelinesDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, faststreams_pipelinesInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_lexbaseDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_parsejsonDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_jsonDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, chronicles_log_outputDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, chronicles_topics_registryDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, chronicles_topics_registryInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stew_resultsDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, libp2p_vbufferDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stew_base32DatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stew_base58DatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, libp2p_multihashDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, libp2p_transcoderDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, bearssl_declsDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, libp2p_minasn1DatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, libp2p_rsaDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, libp2p_ed25519DatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, secp256k1_secp256k1_abiDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, secp256k1_secp256k1DatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, libp2p_secpDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, libp2p_ecnistDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, libp2p_cryptoDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, libp2p_peeridDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, libp2p_multiaddressDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, libp2p_peerinfoDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, start_network2DatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); N_LIB_PRIVATE TNimType NTI__j8PgLOzOuxtxDlSRqWQ5Ew_; extern TNimType NTI__77mFvmsOLKik79ci2hXkHEg_; extern TNimType NTI__VaVACK0bpYmqIQ0mKcHfQQ_; extern TNimType NTI__rR5Bzr1D5krxoo1NcNyeMA_; N_LIB_PRIVATE TNimType NTI__VdfvuNMTHG7pz0wENyTbaQ_; extern TNimType NTI__6H5Oh5UUvVCLiakt9aTwtUQ_; STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_4, "Trying to access value with err Result", 38); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_5, "\'e\' is not accessible using discriminant \'o\' of type \'Result\'", 61); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_6, "\'v\' is not accessible using discriminant \'o\' of type \'Result\'", 61); extern TNimType NTI__mVKS59bRpscItosS0oN9a4zA_; extern TNimType NTI__GSDbMQxBVd3KO4qBUjzPKQ_; STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_8, "/ip4/127.0.0.1/tcp/", 19); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_10, "Address", 7); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_11, "tid", 3); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_12, "file", 4); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_13, "start_network2.nim:46", 21); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_14, "address", 7); extern TNimType NTI__qrLSDoe2oBoAqNtJ9badtnA_; extern TNimType NTI__pJDjdGjSf3HlAOELaHOmSA_; STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_16, "PeerInfo", 8); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_17, "start_network2.nim:51", 21); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_18, "id", 2); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_19, "addrs", 5); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_20, "/p2p/", 5); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_21, "build/wakunode2 --log-level:TRACE --log-metrics --metrics-serve" "r --rpc ", 71); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_22, "--nodekey:", 10); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_23, " ", 1); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_24, "--ports-shift:", 14); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_25, "--staticnode:", 13); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_27, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/" "vendor/Nim/lib/system/iterators.nim(189, 11) `len(a) == L` the l" "ength of the seq changed while iterating over it", 175); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_29, "Node command created.", 21); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_30, "start_network2.nim:65", 21); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_31, "cmd", 3); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_32, "master node", 11); extern TNimType NTI__sM4lkSb7zS6F7OVMvW9cffQ_; STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_34, "full node", 9); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_37, "amount", 6); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_38, "start_network2.nim:74", 21); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_45, "multitail -s 2 -M 0 -x \"Waku Simulation\"", 40); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_48, " -cT ansi -t \'node #", 20); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_49, "\' -l \'sleep ", 12); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_50, "; ", 2); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_51, "; echo [node execution completed]; while true; do sleep 100; do" "ne\'", 66); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_55, " global:\012 scrape_interval: 1s\012\012 scrape_configs:\012 - job_" "name: \"wakusim\"\012 static_configs:", 100); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_57, "\012 - targets: [\'127.0.0.1:", 30); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_58, "\']\012 labels:\012 node: \'", 36); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_59, "\'", 1); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_62, "metrics", 7); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_63, "prometheus", 10); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_64, "prometheus.yml", 14); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_65, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/" "vendor/Nim/lib/pure/json.nim(464, 9) `not isNil(node)` ", 118); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_66, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/" "vendor/Nim/lib/pure/json.nim(465, 9) `node.kind == JObject` ", 123); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_67, "\'fields\' is not accessible using discriminant \'kind\' of type \'J" "sonNodeObj\'", 74); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_68, "panels", 6); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_69, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/" "vendor/Nim/lib/pure/json.nim(744, 10) `node.kind == JArray` : it" "ems() can not iterate a JsonNode of kind ", 168); extern TNimType NTI__RUngo7nCHe6O8aBGIcrhtg_; STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_70, "\'elems\' is not accessible using discriminant \'kind\' of type \'Js" "onNodeObj\'", 73); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_71, "gridPos", 7); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_72, "x", 1); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_73, "h", 1); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_76, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/" "vendor/Nim/lib/pure/json.nim(346, 9) `obj.kind == JObject` ", 122); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_78, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/" "vendor/Nim/lib/pure/json.nim(751, 10) `node.kind == JArray` : mi" "tems() can not iterate a JsonNode of kind ", 169); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_79, "title", 5); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_80, "#0", 2); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_81, "#", 1); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_84, "y", 1); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_87, "targets", 7); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_88, "expr", 4); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_89, "{node=\"0\"}", 10); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_90, "{node=\"", 7); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_91, "\"}", 2); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_93, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/" "vendor/Nim/lib/system/iterators.nim(198, 11) `len(a) == L` the l" "ength of the seq changed while iterating over it", 175); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_97, "uid", 3); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_98, "a", 1); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_99, " (all nodes)", 12); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_100, "waku-grafana-dashboard.json", 27); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_101, "waku-sim-all-nodes-grafana-dashboard.json", 41); extern TNimType NTI__EhHqp0aF43SxfS6MTF9b0hA_; STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_104, "launch command failed", 21); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_105, "start_network2.nim:187", 22); STRING_LITERAL(TM__TupAcFEveY6hZClx0rer9aA_106, "command", 7); N_LIB_PRIVATE tySequence__VdfvuNMTHG7pz0wENyTbaQ* nodes__2dLmZ0SCc1pYoRfKX229crQ; extern TNimType* nimTypeRoot; N_LIB_PRIVATE NIM_CONST tyEnum_Topology__AC71o3YQFs1NhSS80x7zGw topology__EGd6ivgZ1dh2tUEYFVAA9aw = ((tyEnum_Topology__AC71o3YQFs1NhSS80x7zGw) 1); N_LIB_PRIVATE NIM_CONST NI amount__nWxEprlm9bLIh9aNSN5qReqA = ((NI) 16); extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g; extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g; extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g; extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g; extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg; extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg; extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg; extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg; extern NIM_THREADVAR tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__IcYaEuuWivYAS86vFMTS3Q; N_LIB_PRIVATE tySequence__sM4lkSb7zS6F7OVMvW9cffQ* staticnodes__PUXP2vGNqJjFF2aNpaF5RA; N_LIB_PRIVATE NI i__oFkhANIq7utEfr39bVbMAxQ; N_LIB_PRIVATE NimStringDesc* commandStr__8XPuX3zRyiEWo87qWvkkUg; N_LIB_PRIVATE NI count__uRjlA55FnxaaHLzNW2m7aw = ((NI) 0); N_LIB_PRIVATE NI sleepDuration__57jh9aDppjt5K4T8kvBcQxQ = ((NI) 0); N_LIB_PRIVATE tyObject_NodeInfo__j8PgLOzOuxtxDlSRqWQ5Ew node__Yz9a1pBnkp3kPJE8gTEcWXg; N_LIB_PRIVATE NimStringDesc* fmtRes__zZy1VPykQ9cU1VH4kd9becSA; N_LIB_PRIVATE NI errorCode__O85TaIGLdy2Q9b3spzmeSdQ; N_LIB_PRIVATE tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA record__au5LYAiz6Wqnkw8ODCIZIg; static N_NIMCALL(void, Marker_tySequence__VdfvuNMTHG7pz0wENyTbaQ)(void* p, NI op) { tySequence__VdfvuNMTHG7pz0wENyTbaQ* a; NI T1_; a = (tySequence__VdfvuNMTHG7pz0wENyTbaQ*)p; T1_ = (NI)0; for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) { nimGCvisit((void*)a->data[T1_].cmd, op); nimGCvisit((void*)a->data[T1_].address, op); nimGCvisit((void*)a->data[T1_].label, op); } } static N_NIMCALL(void, TM__TupAcFEveY6hZClx0rer9aA_3)(void) { nimGCvisit((void*)nodes__2dLmZ0SCc1pYoRfKX229crQ, 0);} #line 22 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size) { void* T1_; #line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" #line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" T1_ = (void*)0; T1_ = memset(a, v, ((size_t) (size)));} #line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" static N_INLINE(void, nimZeroMem)(void* p, NI size) { #line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" #line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory(p, ((int) 0), size); } #line 150 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" static N_INLINE(NimStringDesc*, toHex__TfeJ361pglyJR5Hz15wCJQutils)(NU8* a, NI aLen_0, NIM_BOOL lowercase) { NimStringDesc* result; NimStringDesc* res; result = (NimStringDesc*)0; #line 151 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" #line 151 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" #line 151 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" #line 151 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" #line 151 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" if (((NI)((NU64)(aLen_0) << (NU64)(((NI) 1)))) < ((NI) 0) || ((NI)((NU64)(aLen_0) << (NU64)(((NI) 1)))) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI((NI)((NU64)(aLen_0) << (NU64)(((NI) 1))), ((NI) 0), ((NI) IL64(9223372036854775807))); } #line 151 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" res = mnewString(((NI) ((NI)((NU64)(aLen_0) << (NU64)(((NI) 1)))))); #line 152 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" { NI T5_; if (!lowercase) goto LA3_; #line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" #line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" #line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" T5_ = (NI)0; T5_ = bytesToHex__TSuuVF9b8JuBk8cjfFOyavA(a, aLen_0, res->data, (res ? res->Sup.len : 0), 1); (void)(T5_); } goto LA1_; LA3_: ; { NI T7_; #line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" #line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" #line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" T7_ = (NI)0; T7_ = bytesToHex__TSuuVF9b8JuBk8cjfFOyavA(a, aLen_0, res->data, (res ? res->Sup.len : 0), 0); (void)(T7_); } LA1_: ; result = copyString(res); return result;} #line 180 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/crypto/secp.nim" static N_INLINE(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, getBytes__SzTO5ksS9cYY86LJG9cd9cX3Qsecp)(tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w* key_0) { tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* result; tyArray__vEOa9c5qaE9ajWxR5R4zwfQg T1_; NI T2_; result = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; #line 181 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/crypto/secp.nim" #line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/crypto/secp.nim" result = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*) newSeq((&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_), 32); #line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/crypto/secp.nim" #line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/crypto/secp.nim" nimZeroMem((void*)T1_, sizeof(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg)); toRaw__QU8um79aWTK6cAEMtJp8d7g(key_0, T1_); T2_ = (NI)0; for (T2_ = 0; T2_ < 32; T2_++) { result->data[T2_] = T1_[T2_]; } return result;} #line 459 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" static N_INLINE(tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w, get__Vh6VO4POnsp4A5irua1xfQresults)(tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw* self) { tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w result; nimZeroMem((void*)(&result), sizeof(tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w)); #line 460 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" #line 463 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" { #line 286 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" if (!!((*self).o)) goto LA3_; #line 288 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" if (!(((1 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_5)); } #line 288 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" raiseResultDefect__owuWoGCIMYubXziJ5dK27w(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_4), (*self)._o_1.e); } LA3_: ; if (!(((2 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_6)); } result = (*self)._o_2.v; return result;} #line 459 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" static N_INLINE(void, get__VeMgo2Cp9aeBXhskxVN2WeAresults)(tyObject_Result__vwq6q8V74XCA8dzFvuzU1Q* self, tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA* Result) { #line 460 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" #line 463 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" { #line 286 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" if (!!((*self).o)) goto LA3_; #line 288 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" if (!(((1 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_5)); } #line 288 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" raiseResultDefect__3fsgzruPHBUZLwZl2Xp3Ow(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_4), (*self)._o_1.e); } LA3_: ; if (!(((2 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_6)); } genericAssign((void*)Result, (void*)(&(*self)._o_2.v), (&NTI__mVKS59bRpscItosS0oN9a4zA_));} #line 11 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size) { void* T1_; #line 13 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" #line 13 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" T1_ = (void*)0; T1_ = memcpy(dest, source, ((size_t) (size)));} #line 2112 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size) { #line 2113 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" #line 2113 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" nimCopyMem(dest, source, size); } #line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) { #line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" { #line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" #line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" if (!!((src == NIM_NIL))) goto LA3_; #line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" #line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" #line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&(*dest).data[(*dest).Sup.len]))), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1))))); #line 220 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" (*dest).Sup.len += (*src).Sup.len; } LA3_: ; } #line 466 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" static N_INLINE(void, tryGet__uDh0g83qpDAEeI1BpCs9asQresults)(tyObject_Result__PKxkoXWaN3KMkcMCVcHVjw self, tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw* Result) { #line 467 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" #line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" { #line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" if (!!(self.o)) goto LA3_; #line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" #line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" raiseResultError__GajABUoufmuSpZ6kkbqc3w(self); } LA3_: ; if (!(((2 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_6)); } genericSeqAssign((&(*Result).data.buffer), self._o_2.v.data.buffer, (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_)); (*Result).data.offset = self._o_2.v.data.offset;} #line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim" static N_INLINE(void, pushSafePoint)(TSafePoint* s) { #line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim" (*s).prev = excHandler__rqLlY5bs9atDw2OXYqJEn5g; #line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim" excHandler__rqLlY5bs9atDw2OXYqJEn5g = s;} #line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim" static N_INLINE(void, popSafePoint)(void) { #line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim" excHandler__rqLlY5bs9atDw2OXYqJEn5g = (*excHandler__rqLlY5bs9atDw2OXYqJEn5g).prev;} #line 2292 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" static N_INLINE(Exception*, nimBorrowCurrentException)(void) { Exception* result; result = (Exception*)0; #line 2295 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" result = currException__9bVPeDJlYTi9bQApZpfH8wjg; return result;} #line 2288 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" static N_INLINE(Exception*, getCurrentException)(void) { Exception* result; result = (Exception*)0; #line 2290 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" result = currException__9bVPeDJlYTi9bQApZpfH8wjg; return result;} #line 425 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim" static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y) { NI result; result = (NI)0; #line 426 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim" #line 430 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim" result = ((NI) ((NU)((NU64)(((NU) (x))) + (NU64)(((NU) (y)))))); return result;} #line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) { #line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" (*c).refcount = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem((*c).refcount, ((NI) 8));} #line 436 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim" static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y) { NI result; result = (NI)0; #line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim" #line 441 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim" result = ((NI) ((NU)((NU64)(((NU) (x))) - (NU64)(((NU) (y)))))); return result;} #line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr) { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* result; NI T1_; result = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; #line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" T1_ = (NI)0; T1_ = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system(((NI) (ptrdiff_t) (usr)), ((NI) 16)); result = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (T1_)); return result;} #line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim" static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y) { NIM_BOOL result; result = (NIM_BOOL)0; #line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim" #line 190 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim" result = ((NU64)(((NU) (x))) < (NU64)(((NU) (y)))); return result;} #line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) { #line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" addZCT__Y66tOYFjgwJ0k4aLz4bc0Q((&gch__IcYaEuuWivYAS86vFMTS3Q.zct), c); } #line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) { #line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" (*c).refcount = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system((*c).refcount, ((NI) 8)); #line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" { NIM_BOOL T3_; #line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" T3_ = (NIM_BOOL)0; T3_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem((*c).refcount, ((NI) 8)); if (!T3_) goto LA4_; #line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system(c); } LA4_: ; } #line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" static N_INLINE(void, asgnRef)(void** dest, void* src) { #line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T5_; #line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" if (!!((src == NIM_NIL))) goto LA3_; #line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" T5_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T5_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(src); #line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" incRef__AT1eRuflKWyTTBdLjEDZbg_3system(T5_); } LA3_: ; #line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T10_; #line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" if (!!(((*dest) == NIM_NIL))) goto LA8_; #line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" T10_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T10_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem((*dest)); #line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T10_); } LA8_: ; #line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" (*dest) = src;} #line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim" static N_INLINE(void, popCurrentException)(void) { #line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim" asgnRef((void**) (&currException__9bVPeDJlYTi9bQApZpfH8wjg), (*currException__9bVPeDJlYTi9bQApZpfH8wjg).up);} #line 30 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" N_LIB_PRIVATE N_NIMCALL(void, initNodeCmd__HL9cUYBKmefx2X6te79aqNgg)(NI shift, tySequence__sM4lkSb7zS6F7OVMvW9cffQ* staticNodes, NIM_BOOL master, NimStringDesc* label, tyObject_NodeInfo__j8PgLOzOuxtxDlSRqWQ5Ew* Result) { br_hmac_drbg_context* rng_1; tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w key_1; NimStringDesc* hkey; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T1_; tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w rkey; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T2_; tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw T3_; tyObject_PrivateKey__GSDbMQxBVd3KO4qBUjzPKQ privKey; tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA pubkey; tyObject_Result__vwq6q8V74XCA8dzFvuzU1Q T4_; tyObject_KeyPair__tQWNeSs2tsAiqYEJhp407g keys; tyObject_PeerInfocolonObjectType___tniXhe3Zv7xQqYX3AOw9aQw* peerInfo; tyArray__dy9bXFnEOSMt49aV7Vz01bkw T5_; tyArray__8ZvwQIddfpj2THRVPsFzIQ T6_; NI port; NI TM__TupAcFEveY6hZClx0rer9aA_7; NimStringDesc* address; NimStringDesc* T7_; NimStringDesc* T8_; tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw hostAddress; tyObject_Result__PKxkoXWaN3KMkcMCVcHVjw T9_; tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw T10_; TSafePoint TM__TupAcFEveY6hZClx0rer9aA_9; NI T24_; NimStringDesc* id; TSafePoint TM__TupAcFEveY6hZClx0rer9aA_15; NimStringDesc* listenStr; NimStringDesc* T38_; NimStringDesc* T39_; NimStringDesc* T40_; NimStringDesc* T41_; NimStringDesc* T42_; TSafePoint TM__TupAcFEveY6hZClx0rer9aA_28; chckNil((void*)Result); unsureAsgnRef((void**)&(*Result).cmd, NIM_NIL); (*Result).master = 0; unsureAsgnRef((void**)&(*Result).address, NIM_NIL); (*Result).shift = 0; unsureAsgnRef((void**)&(*Result).label, NIM_NIL); #line 32 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 32 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" rng_1 = newRng__DvRI21sb230Bj3k9blSY5bQ(); #line 33 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 33 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" key_1 = random__kzA2SHQcyEn69cF9ccOjTRHA(rng_1); #line 34 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 34 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 34 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T1_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; T1_ = getBytes__SzTO5ksS9cYY86LJG9cd9cX3Qsecp((&key_1)); #line 34 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" hkey = toHex__TfeJ361pglyJR5Hz15wCJQutils(T1_->data, (T1_ ? T1_->Sup.len : 0), NIM_FALSE); #line 35 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" #line 35 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 35 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 35 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T2_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; T2_ = fromHex__iyeB7uE6rSrjr3EdSifz9cg(hkey); #line 35 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T3_ = init__9acLTt0b2rUVe0LNsC0f6KQ(T2_->data, (T2_ ? T2_->Sup.len : 0)); #line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" rkey = get__Vh6VO4POnsp4A5irua1xfQresults((&T3_)); nimZeroMem((void*)(&privKey), sizeof(tyObject_PrivateKey__GSDbMQxBVd3KO4qBUjzPKQ)); #line 36 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" chckNil((void*)(&privKey)); nimZeroMem((void*)(&privKey), sizeof(tyObject_PrivateKey__GSDbMQxBVd3KO4qBUjzPKQ)); privKey.scheme = ((tyEnum_PKScheme__GeN4EiKxd9aXAvv5y1lfmHg) 2); privKey._scheme_3.skkey = rkey; nimZeroMem((void*)(&pubkey), sizeof(tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA)); #line 38 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" #line 38 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 38 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" nimZeroMem((void*)(&T4_), sizeof(tyObject_Result__vwq6q8V74XCA8dzFvuzU1Q)); getKey__BjB2ThDklmRLi5zxNp1MMg((&privKey), (&T4_)); #line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" get__VeMgo2Cp9aeBXhskxVN2WeAresults((&T4_), (&pubkey)); nimZeroMem((void*)(&keys), sizeof(tyObject_KeyPair__tQWNeSs2tsAiqYEJhp407g)); #line 39 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" chckNil((void*)(&keys)); nimZeroMem((void*)(&keys), sizeof(tyObject_KeyPair__tQWNeSs2tsAiqYEJhp407g)); genericAssign((void*)(&keys.seckey), (void*)(&privKey), (&NTI__GSDbMQxBVd3KO4qBUjzPKQ_)); genericAssign((void*)(&keys.pubkey), (void*)(&pubkey), (&NTI__mVKS59bRpscItosS0oN9a4zA_)); #line 40 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" nimZeroMem((void*)T5_, sizeof(tyArray__dy9bXFnEOSMt49aV7Vz01bkw)); nimZeroMem((void*)T6_, sizeof(tyArray__8ZvwQIddfpj2THRVPsFzIQ)); #line 40 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" peerInfo = init__PB59cyqPenhYDSnuVdTWYAg((&privKey), T5_, 0, T6_, 0); #line 41 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 41 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" if (nimAddInt(((NI) 60000), shift, &TM__TupAcFEveY6hZClx0rer9aA_7)) { raiseOverflow(); }; port = (NI)(TM__TupAcFEveY6hZClx0rer9aA_7); #line 43 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 43 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T7_ = (NimStringDesc*)0; #line 43 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T8_ = (NimStringDesc*)0; T8_ = nimIntToStr(port); T7_ = rawNewString((T8_ ? T8_->Sup.len : 0) + 19);appendString(T7_, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_8));appendString(T7_, T8_); address = T7_; nimZeroMem((void*)(&hostAddress), sizeof(tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw)); #line 44 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 44 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 44 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" nimZeroMem((void*)(&T9_), sizeof(tyObject_Result__PKxkoXWaN3KMkcMCVcHVjw)); init__8kmgjDEQleLzw0l2hsz9bfA(address, (&T9_)); #line 44 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" nimZeroMem((void*)(&T10_), sizeof(tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw)); tryGet__uDh0g83qpDAEeI1BpCs9asQresults(T9_, (&T10_)); hostAddress.data.buffer = T10_.data.buffer; hostAddress.data.offset = T10_.data.offset; #line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" pushSafePoint(&TM__TupAcFEveY6hZClx0rer9aA_9); TM__TupAcFEveY6hZClx0rer9aA_9.status = setjmp(TM__TupAcFEveY6hZClx0rer9aA_9.context); if (TM__TupAcFEveY6hZClx0rer9aA_9.status == 0) { { tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA volatile record; NI T19_; #line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" { tyArray__ZagBlFMl7KoYROF13oI1xA T15_; NIM_BOOL T16_; #line 131 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 131 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 131 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" T16_ = (NIM_BOOL)0; T16_ = topicsMatch__KytrWChpQmaEFB83SSLTgg(((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 3), T15_, 0); if (!!(T16_)) goto LA17_; #line 132 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" goto LA12; } LA17_: ; nimZeroMem((void*)(&record), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA)); #line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" #line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" chckNil((void*)(&record)); nimZeroMem((void*)(&record), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA)); #line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&record), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 3), ((NimStringDesc*) NIM_NIL), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_10)); #line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" T19_ = (NI)0; T19_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw(); #line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&record), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_11), T19_); #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&record), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_12), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_13)); #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&record), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_14), address); #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" logAllDynamicProperties__2fo45m4EsDq89bdWxK19aOpQ((&record)); #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" flushRecord__2TFyTWhDxeU5kGr2yqnA6w((&record)); } LA12: ; popSafePoint(); } else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym68235076_; Exception* T22_; Exception* T23_; TM__TupAcFEveY6hZClx0rer9aA_9.status = 0; #line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 0 "\?\?\?" #line 0 "\?\?\?" T22_ = (Exception*)0; T22_ = getCurrentException(); errX60gensym68235076_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T22_)); #line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" T23_ = (Exception*)0; T23_ = &errX60gensym68235076_->Sup; #line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("Address", T23_); popCurrentException(); } } if (TM__TupAcFEveY6hZClx0rer9aA_9.status != 0) reraiseException(); #line 48 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" asgnRef((void**) (&(*peerInfo).addrs), (tySequence__pJDjdGjSf3HlAOELaHOmSA*) incrSeqV3((TGenericSeq*)((*peerInfo).addrs), (&NTI__pJDjdGjSf3HlAOELaHOmSA_))); T24_ = (*peerInfo).addrs->Sup.len++; genericSeqAssign((&(*peerInfo).addrs->data[T24_].data.buffer), hostAddress.data.buffer, (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_)); (*peerInfo).addrs->data[T24_].data.offset = hostAddress.data.offset; #line 49 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 49 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" id = dollar___YvhybdNIMaDdbU9cTJva0oQ((*peerInfo).peerId); #line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" pushSafePoint(&TM__TupAcFEveY6hZClx0rer9aA_15); TM__TupAcFEveY6hZClx0rer9aA_15.status = setjmp(TM__TupAcFEveY6hZClx0rer9aA_15.context); if (TM__TupAcFEveY6hZClx0rer9aA_15.status == 0) { { tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA volatile record_2; NI T33_; #line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" { tyArray__ZagBlFMl7KoYROF13oI1xA T29_; NIM_BOOL T30_; #line 131 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 131 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 131 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" T30_ = (NIM_BOOL)0; T30_ = topicsMatch__KytrWChpQmaEFB83SSLTgg(((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 3), T29_, 0); if (!!(T30_)) goto LA31_; #line 132 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" goto LA26; } LA31_: ; nimZeroMem((void*)(&record_2), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA)); #line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" #line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" chckNil((void*)(&record_2)); nimZeroMem((void*)(&record_2), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA)); #line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&record_2), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 3), ((NimStringDesc*) NIM_NIL), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_16)); #line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" T33_ = (NI)0; T33_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw(); #line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&record_2), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_11), T33_); #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&record_2), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_12), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_17)); #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&record_2), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_18), id); #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" setProperty__ifXYT2q5B1Fmt8iQTNM3KA((&record_2), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_19), (*peerInfo).addrs); #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" logAllDynamicProperties__2fo45m4EsDq89bdWxK19aOpQ((&record_2)); #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" flushRecord__2TFyTWhDxeU5kGr2yqnA6w((&record_2)); } LA26: ; popSafePoint(); } else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym68620019_; Exception* T36_; Exception* T37_; TM__TupAcFEveY6hZClx0rer9aA_15.status = 0; #line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 0 "\?\?\?" #line 0 "\?\?\?" T36_ = (Exception*)0; T36_ = getCurrentException(); errX60gensym68620019_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T36_)); #line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" T37_ = (Exception*)0; T37_ = &errX60gensym68620019_->Sup; #line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("PeerInfo", T37_); popCurrentException(); } } if (TM__TupAcFEveY6hZClx0rer9aA_15.status != 0) reraiseException(); #line 52 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 52 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T38_ = (NimStringDesc*)0; #line 52 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" if ((NU)(((NI) 0)) >= (NU)((*peerInfo).addrs ? (*peerInfo).addrs->Sup.len : 0)){ raiseIndexError2(((NI) 0),((*peerInfo).addrs ? (*peerInfo).addrs->Sup.len : 0)-1); } #line 52 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T39_ = (NimStringDesc*)0; T39_ = dollar___9clTvx1x9boEUsy637oTVrWA((*peerInfo).addrs->data[((NI) 0)]); T38_ = rawNewString((T39_ ? T39_->Sup.len : 0) + (id ? id->Sup.len : 0) + 5);appendString(T38_, T39_);appendString(T38_, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_20));appendString(T38_, id); listenStr = T38_; #line 54 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" unsureAsgnRef((void**) (&(*Result).cmd), copyString(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_21))); #line 55 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 55 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T40_ = (NimStringDesc*)0; T40_ = rawNewString((hkey ? hkey->Sup.len : 0) + 11);appendString(T40_, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_22));appendString(T40_, hkey);appendString(T40_, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_23)); unsureAsgnRef((void**) (&(*Result).cmd), resizeString((*Result).cmd, (T40_ ? T40_->Sup.len : 0) + 0));appendString((*Result).cmd, T40_); #line 56 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 56 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T41_ = (NimStringDesc*)0; #line 56 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T42_ = (NimStringDesc*)0; T42_ = nimIntToStr(shift); T41_ = rawNewString((T42_ ? T42_->Sup.len : 0) + 15);appendString(T41_, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_24));appendString(T41_, T42_);appendString(T41_, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_23)); unsureAsgnRef((void**) (&(*Result).cmd), resizeString((*Result).cmd, (T41_ ? T41_->Sup.len : 0) + 0));appendString((*Result).cmd, T41_); #line 57 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" { NI T45_; #line 57 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 57 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T45_ = (staticNodes ? staticNodes->Sup.len : 0); if (!(((NI) 0) < T45_)) goto LA46_; { NimStringDesc* staticNode; NI i; NI L; NI T49_; staticNode = (NimStringDesc*)0; #line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" i = ((NI) 0); #line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" T49_ = (staticNodes ? staticNodes->Sup.len : 0); L = T49_; { #line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" while (1) { NimStringDesc* T52_; NI TM__TupAcFEveY6hZClx0rer9aA_26; #line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" if (!(i < L)) goto LA51; #line 58 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" if ((NU)(i) >= (NU)(staticNodes ? staticNodes->Sup.len : 0)){ raiseIndexError2(i,(staticNodes ? staticNodes->Sup.len : 0)-1); } staticNode = staticNodes->data[i]; #line 59 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 59 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T52_ = (NimStringDesc*)0; T52_ = rawNewString((staticNode ? staticNode->Sup.len : 0) + 14);appendString(T52_, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_25));appendString(T52_, staticNode);appendString(T52_, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_23)); unsureAsgnRef((void**) (&(*Result).cmd), resizeString((*Result).cmd, (T52_ ? T52_->Sup.len : 0) + 0));appendString((*Result).cmd, T52_); #line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" if (nimAddInt(i, ((NI) 1), &TM__TupAcFEveY6hZClx0rer9aA_26)) { raiseOverflow(); }; i = (NI)(TM__TupAcFEveY6hZClx0rer9aA_26); #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" { NI T55_; #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" T55_ = (staticNodes ? staticNodes->Sup.len : 0); if (!!((T55_ == L))) goto LA56_; #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_27)); } LA56_: ; } LA51: ; } } } LA46_: ; #line 60 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" (*Result).shift = shift; #line 61 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" unsureAsgnRef((void**) (&(*Result).label), copyString(label)); #line 62 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" (*Result).master = master; #line 63 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" unsureAsgnRef((void**) (&(*Result).address), copyString(listenStr)); #line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" pushSafePoint(&TM__TupAcFEveY6hZClx0rer9aA_28); TM__TupAcFEveY6hZClx0rer9aA_28.status = setjmp(TM__TupAcFEveY6hZClx0rer9aA_28.context); if (TM__TupAcFEveY6hZClx0rer9aA_28.status == 0) { { tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA volatile record_3; NI T66_; #line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" { tyArray__ZagBlFMl7KoYROF13oI1xA T62_; NIM_BOOL T63_; #line 131 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 131 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 131 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" T63_ = (NIM_BOOL)0; T63_ = topicsMatch__KytrWChpQmaEFB83SSLTgg(((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 3), T62_, 0); if (!!(T63_)) goto LA64_; #line 132 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" goto LA59; } LA64_: ; nimZeroMem((void*)(&record_3), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA)); #line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" #line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" chckNil((void*)(&record_3)); nimZeroMem((void*)(&record_3), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA)); #line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&record_3), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 3), ((NimStringDesc*) NIM_NIL), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_29)); #line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" T66_ = (NI)0; T66_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw(); #line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&record_3), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_11), T66_); #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&record_3), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_12), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_30)); #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&record_3), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_31), (*Result).cmd); #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&record_3), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_14), (*Result).address); #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" logAllDynamicProperties__2fo45m4EsDq89bdWxK19aOpQ((&record_3)); #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" flushRecord__2TFyTWhDxeU5kGr2yqnA6w((&record_3)); } LA59: ; popSafePoint(); } else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym68760019_; Exception* T69_; Exception* T70_; TM__TupAcFEveY6hZClx0rer9aA_28.status = 0; #line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 0 "\?\?\?" #line 0 "\?\?\?" T69_ = (Exception*)0; T69_ = getCurrentException(); errX60gensym68760019_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T69_)); #line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" T70_ = (Exception*)0; T70_ = &errX60gensym68760019_->Sup; #line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("Node command created.", T70_); popCurrentException(); } } if (TM__TupAcFEveY6hZClx0rer9aA_28.status != 0) reraiseException();} #line 227 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" static N_INLINE(void, nimGCunrefNoCycle)(void* p) { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T1_; #line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" T1_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T1_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(p); #line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T1_); } #line 67 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" N_LIB_PRIVATE N_NIMCALL(tySequence__VdfvuNMTHG7pz0wENyTbaQ*, starNetwork__xUA0eWvuytd3wPoM4Kx3yQ)(NI amount) { tySequence__VdfvuNMTHG7pz0wENyTbaQ* result; tyObject_NodeInfo__j8PgLOzOuxtxDlSRqWQ5Ew masterNode; tySequence__sM4lkSb7zS6F7OVMvW9cffQ* T1_; NI T2_; result = (tySequence__VdfvuNMTHG7pz0wENyTbaQ*)0; nimZeroMem((void*)(&masterNode), sizeof(tyObject_NodeInfo__j8PgLOzOuxtxDlSRqWQ5Ew)); #line 68 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T1_ = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*)0; T1_ = NIM_NIL; #line 68 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" initNodeCmd__HL9cUYBKmefx2X6te79aqNgg(((NI) 2), T1_, NIM_TRUE, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_32), (&masterNode)); #line 69 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" result = (tySequence__VdfvuNMTHG7pz0wENyTbaQ*) incrSeqV3((TGenericSeq*)(result), (&NTI__VdfvuNMTHG7pz0wENyTbaQ_)); T2_ = result->Sup.len++; genericAssign((void*)(&result->data[T2_]), (void*)(&masterNode), (&NTI__j8PgLOzOuxtxDlSRqWQ5Ew_)); { NI i; NI i_2; i = (NI)0; #line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" i_2 = ((NI) 1); { #line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" while (1) { NI TM__TupAcFEveY6hZClx0rer9aA_33; tySequence__sM4lkSb7zS6F7OVMvW9cffQ* T6_; NimStringDesc* T7_; tyObject_NodeInfo__j8PgLOzOuxtxDlSRqWQ5Ew T8_; NI T9_; NI TM__TupAcFEveY6hZClx0rer9aA_35; #line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" if (!(i_2 < amount)) goto LA5; #line 70 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" i = i_2; #line 71 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 71 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 71 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" if (nimAddInt(((NI) 2), i, &TM__TupAcFEveY6hZClx0rer9aA_33)) { raiseOverflow(); }; #line 71 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T6_ = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*)0; T6_ = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*) newSeq((&NTI__sM4lkSb7zS6F7OVMvW9cffQ_), 1); T7_ = (NimStringDesc*)0; T7_ = T6_->data[0]; T6_->data[0] = copyStringRC1(masterNode.address); if (T7_) nimGCunrefNoCycle(T7_); #line 71 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" nimZeroMem((void*)(&T8_), sizeof(tyObject_NodeInfo__j8PgLOzOuxtxDlSRqWQ5Ew)); initNodeCmd__HL9cUYBKmefx2X6te79aqNgg((NI)(TM__TupAcFEveY6hZClx0rer9aA_33), T6_, NIM_FALSE, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_34), (&T8_)); result = (tySequence__VdfvuNMTHG7pz0wENyTbaQ*) incrSeqV3((TGenericSeq*)(result), (&NTI__VdfvuNMTHG7pz0wENyTbaQ_)); T9_ = result->Sup.len++; genericAssign((void*)(&result->data[T9_]), (void*)(&T8_), (&NTI__j8PgLOzOuxtxDlSRqWQ5Ew_)); #line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" if (nimAddInt(i_2, ((NI) 1), &TM__TupAcFEveY6hZClx0rer9aA_35)) { raiseOverflow(); }; i_2 = (NI)(TM__TupAcFEveY6hZClx0rer9aA_35); } LA5: ; } } return result;} #line 73 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" N_LIB_PRIVATE N_NIMCALL(tySequence__VdfvuNMTHG7pz0wENyTbaQ*, fullMeshNetwork__xUA0eWvuytd3wPoM4Kx3yQ_2)(NI amount) { tySequence__VdfvuNMTHG7pz0wENyTbaQ* result; TSafePoint TM__TupAcFEveY6hZClx0rer9aA_36; result = (tySequence__VdfvuNMTHG7pz0wENyTbaQ*)0; #line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" pushSafePoint(&TM__TupAcFEveY6hZClx0rer9aA_36); TM__TupAcFEveY6hZClx0rer9aA_36.status = setjmp(TM__TupAcFEveY6hZClx0rer9aA_36.context); if (TM__TupAcFEveY6hZClx0rer9aA_36.status == 0) { { tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA volatile record; NI T9_; #line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" { tyArray__ZagBlFMl7KoYROF13oI1xA T5_; NIM_BOOL T6_; #line 131 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 131 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 131 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" T6_ = (NIM_BOOL)0; T6_ = topicsMatch__KytrWChpQmaEFB83SSLTgg(((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 2), T5_, 0); if (!!(T6_)) goto LA7_; #line 132 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" goto LA2; } LA7_: ; nimZeroMem((void*)(&record), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA)); #line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" #line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" chckNil((void*)(&record)); nimZeroMem((void*)(&record), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA)); #line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&record), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 2), ((NimStringDesc*) NIM_NIL), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_37)); #line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" T9_ = (NI)0; T9_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw(); #line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&record), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_11), T9_); #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&record), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_12), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_38)); #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&record), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_37), amount); #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" logAllDynamicProperties__2fo45m4EsDq89bdWxK19aOpQ((&record)); #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" flushRecord__2TFyTWhDxeU5kGr2yqnA6w((&record)); } LA2: ; popSafePoint(); } else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym68835019_; Exception* T12_; Exception* T13_; TM__TupAcFEveY6hZClx0rer9aA_36.status = 0; #line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 0 "\?\?\?" #line 0 "\?\?\?" T12_ = (Exception*)0; T12_ = getCurrentException(); errX60gensym68835019_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T12_)); #line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" T13_ = (Exception*)0; T13_ = &errX60gensym68835019_->Sup; #line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("amount", T13_); popCurrentException(); } } if (TM__TupAcFEveY6hZClx0rer9aA_36.status != 0) reraiseException(); { NI i; NI i_2; i = (NI)0; #line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" i_2 = ((NI) 0); { #line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" while (1) { tySequence__sM4lkSb7zS6F7OVMvW9cffQ* staticnodes; NI TM__TupAcFEveY6hZClx0rer9aA_40; tyObject_NodeInfo__j8PgLOzOuxtxDlSRqWQ5Ew T28_; NI T29_; NI TM__TupAcFEveY6hZClx0rer9aA_41; #line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" if (!(i_2 < amount)) goto LA16; #line 75 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" i = i_2; staticnodes = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*)0; { tyObject_NodeInfo__j8PgLOzOuxtxDlSRqWQ5Ew item; NI i_3; NI L; NI T18_; nimZeroMem((void*)(&item), sizeof(tyObject_NodeInfo__j8PgLOzOuxtxDlSRqWQ5Ew)); #line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" i_3 = ((NI) 0); #line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" T18_ = (result ? result->Sup.len : 0); L = T18_; { #line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" while (1) { NI T21_; NimStringDesc* T22_; NI TM__TupAcFEveY6hZClx0rer9aA_39; #line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" if (!(i_3 < L)) goto LA20; #line 77 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" if ((NU)(i_3) >= (NU)(result ? result->Sup.len : 0)){ raiseIndexError2(i_3,(result ? result->Sup.len : 0)-1); } nimCopyMem((void*)(&item), (NIM_CONST void*)(&result->data[i_3]), sizeof(item)); #line 78 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" staticnodes = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*) incrSeqV3((TGenericSeq*)(staticnodes), (&NTI__sM4lkSb7zS6F7OVMvW9cffQ_)); T21_ = staticnodes->Sup.len++; T22_ = (NimStringDesc*)0; T22_ = staticnodes->data[T21_]; staticnodes->data[T21_] = copyStringRC1(item.address); if (T22_) nimGCunrefNoCycle(T22_); #line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" if (nimAddInt(i_3, ((NI) 1), &TM__TupAcFEveY6hZClx0rer9aA_39)) { raiseOverflow(); }; i_3 = (NI)(TM__TupAcFEveY6hZClx0rer9aA_39); #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" { NI T25_; #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" T25_ = (result ? result->Sup.len : 0); if (!!((T25_ == L))) goto LA26_; #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_27)); } LA26_: ; } LA20: ; } } #line 79 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 79 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 79 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" if (nimAddInt(((NI) 2), i, &TM__TupAcFEveY6hZClx0rer9aA_40)) { raiseOverflow(); }; #line 79 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" nimZeroMem((void*)(&T28_), sizeof(tyObject_NodeInfo__j8PgLOzOuxtxDlSRqWQ5Ew)); initNodeCmd__HL9cUYBKmefx2X6te79aqNgg((NI)(TM__TupAcFEveY6hZClx0rer9aA_40), staticnodes, NIM_FALSE, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_34), (&T28_)); result = (tySequence__VdfvuNMTHG7pz0wENyTbaQ*) incrSeqV3((TGenericSeq*)(result), (&NTI__VdfvuNMTHG7pz0wENyTbaQ_)); T29_ = result->Sup.len++; genericAssign((void*)(&result->data[T29_]), (void*)(&T28_), (&NTI__j8PgLOzOuxtxDlSRqWQ5Ew_)); #line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" if (nimAddInt(i_2, ((NI) 1), &TM__TupAcFEveY6hZClx0rer9aA_41)) { raiseOverflow(); }; i_2 = (NI)(TM__TupAcFEveY6hZClx0rer9aA_41); } LA16: ; } } return result;} static N_NIMCALL(void, TM__TupAcFEveY6hZClx0rer9aA_42)(void) { nimGCvisit((void*)staticnodes__PUXP2vGNqJjFF2aNpaF5RA, 0);} static N_NIMCALL(void, TM__TupAcFEveY6hZClx0rer9aA_44)(void) { nimGCvisit((void*)commandStr__8XPuX3zRyiEWo87qWvkkUg, 0);} static N_NIMCALL(void, TM__TupAcFEveY6hZClx0rer9aA_46)(void) { nimGCvisit((void*)node__Yz9a1pBnkp3kPJE8gTEcWXg.cmd, 0); nimGCvisit((void*)node__Yz9a1pBnkp3kPJE8gTEcWXg.address, 0); nimGCvisit((void*)node__Yz9a1pBnkp3kPJE8gTEcWXg.label, 0);} static N_NIMCALL(void, TM__TupAcFEveY6hZClx0rer9aA_47)(void) { nimGCvisit((void*)fmtRes__zZy1VPykQ9cU1VH4kd9becSA, 0);} #line 81 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" N_LIB_PRIVATE N_NIMCALL(void, generatePrometheusConfig__CykvuULGtm3ZXDUkBkz5wA)(tySequence__VdfvuNMTHG7pz0wENyTbaQ* nodes, NimStringDesc* outputFile) { NimStringDesc* config; NI count_1; tyTuple__UV3llMMYFckfui8YMBuUZA T10_; NimStringDesc* path; NimStringDesc* file; #line 82 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" config = copyString(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_55)); #line 89 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" count_1 = ((NI) 0); { tyObject_NodeInfo__j8PgLOzOuxtxDlSRqWQ5Ew node; NI i; NI L; NI T2_; nimZeroMem((void*)(&node), sizeof(tyObject_NodeInfo__j8PgLOzOuxtxDlSRqWQ5Ew)); #line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" i = ((NI) 0); #line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" T2_ = (nodes ? nodes->Sup.len : 0); L = T2_; { #line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" while (1) { NI port; NI TM__TupAcFEveY6hZClx0rer9aA_56; NimStringDesc* fmtRes; NI TM__TupAcFEveY6hZClx0rer9aA_60; NI TM__TupAcFEveY6hZClx0rer9aA_61; #line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" if (!(i < L)) goto LA4; #line 90 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" if ((NU)(i) >= (NU)(nodes ? nodes->Sup.len : 0)){ raiseIndexError2(i,(nodes ? nodes->Sup.len : 0)-1); } nimCopyMem((void*)(&node), (NIM_CONST void*)(&nodes->data[i]), sizeof(node)); #line 91 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 91 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" if (nimAddInt(((NI) 8008), node.shift, &TM__TupAcFEveY6hZClx0rer9aA_56)) { raiseOverflow(); }; port = (NI)(TM__TupAcFEveY6hZClx0rer9aA_56); #line 92 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 533 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 92 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 92 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" fmtRes = rawNewString(((NI) 100)); #line 92 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" fmtRes = resizeString(fmtRes, 30);appendString(fmtRes, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_57)); #line 92 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 92 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" formatValue__ACNJL1q6Oxfvi53i9bkeK6Q((&fmtRes), port, ((NimStringDesc*) NIM_NIL)); #line 92 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" fmtRes = resizeString(fmtRes, 36);appendString(fmtRes, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_58)); #line 92 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 92 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" formatValue__ACNJL1q6Oxfvi53i9bkeK6Q((&fmtRes), count_1, ((NimStringDesc*) NIM_NIL)); #line 92 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" fmtRes = resizeString(fmtRes, 1);appendString(fmtRes, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_59)); config = resizeString(config, (fmtRes ? fmtRes->Sup.len : 0) + 0);appendString(config, fmtRes); #line 97 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" if (nimAddInt(count_1, ((NI) 1), &TM__TupAcFEveY6hZClx0rer9aA_60)) { raiseOverflow(); }; count_1 = (NI)(TM__TupAcFEveY6hZClx0rer9aA_60); #line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" if (nimAddInt(i, ((NI) 1), &TM__TupAcFEveY6hZClx0rer9aA_61)) { raiseOverflow(); }; i = (NI)(TM__TupAcFEveY6hZClx0rer9aA_61); #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" { NI T7_; #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" T7_ = (nodes ? nodes->Sup.len : 0); if (!!((T7_ == L))) goto LA8_; #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_27)); } LA8_: ; } LA4: ; } } #line 99 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 99 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 99 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" nimZeroMem((void*)(&T10_), sizeof(tyTuple__UV3llMMYFckfui8YMBuUZA)); nossplitPath(outputFile, (&T10_)); path = (NimStringDesc*)0; path = copyString(T10_.Field0); file = (NimStringDesc*)0; file = copyString(T10_.Field1); #line 100 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 100 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" noscreateDir(path); #line 101 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 101 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" writeFile__D6Pj9c29aCLEJP9beOWa08HYA(outputFile, config); } #line 461 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" static N_INLINE(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, X5BX5D___277k8m8OstpfbY4dHQex6wjson)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* node, NimStringDesc* name_0) { tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* result; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q** T9_; result = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; #line 464 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" { #line 464 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" #line 464 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" #line 464 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" if (!!(!((node == 0)))) goto LA3_; #line 464 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" #line 464 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_65)); } LA3_: ; #line 465 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" { #line 465 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" #line 465 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" if (!!(((*node).kind == ((tyEnum_JsonNodeKind__RUngo7nCHe6O8aBGIcrhtg) 5)))) goto LA7_; #line 465 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" #line 465 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_66)); } LA7_: ; #line 468 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" #line 468 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" if (!(((32 &(1U<<((NU)((*node).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_67)); } #line 468 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" T9_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q**)0; T9_ = X5BX5D___l9atGRY9bA25fn4p5uueZfUQ((&(*node)._kind_6.fields), name_0); result = (*T9_); return result;} #line 344 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" static N_INLINE(void, X5BX5Deq___WmQhibcOp3ZlzI9bgifjalAjson)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* obj, NimStringDesc* key_0, tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* val_0) { #line 346 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" { #line 346 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" #line 346 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" if (!!(((*obj).kind == ((tyEnum_JsonNodeKind__RUngo7nCHe6O8aBGIcrhtg) 5)))) goto LA3_; #line 346 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" #line 346 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_76)); } LA3_: ; #line 347 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" if (!(((32 &(1U<<((NU)((*obj).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_67)); } #line 347 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" X5BX5Deq___vlnBr1uIbtu0ntnZh6Askg((&(*obj)._kind_6.fields), key_0, val_0); } #line 103 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" N_LIB_PRIVATE N_NIMCALL(void, proccessGrafanaDashboard__75I6DWsJYBQL1kCkbAQFew)(NI nodes, NimStringDesc* inputFile, NimStringDesc* outputFile) { tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* inputData; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* panels; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T1_; NI numPanels; NI gridHeight; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* outputData; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T27_; NimStringDesc* T80_; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T81_; NimStringDesc* T82_; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T83_; NimStringDesc* T84_; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T85_; NimStringDesc* T86_; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T87_; NimStringDesc* T88_; #line 107 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 107 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" inputData = parseFile__Q9bbQtVlwjGc4S8fnWe9b3YA(inputFile); #line 108 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 108 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 108 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T1_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; T1_ = X5BX5D___277k8m8OstpfbY4dHQex6wjson(inputData, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_68)); #line 108 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" panels = copy__r5dFiT9bcdPOEfGGrwLQKWg(T1_); #line 109 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 109 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" numPanels = len__Og3BmQpaL5V6gYg5JnWK3Q(panels); #line 110 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" gridHeight = ((NI) 0); #line 111 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" outputData = inputData; { tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* panel; panel = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; #line 744 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" { NimStringDesc* T7_; #line 744 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" #line 744 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" if (!!(((*panels).kind == ((tyEnum_JsonNodeKind__RUngo7nCHe6O8aBGIcrhtg) 6)))) goto LA5_; #line 744 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" #line 744 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" T7_ = (NimStringDesc*)0; #line 744 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" T7_ = rawNewString((reprEnum((NI)(*panels).kind, (&NTI__RUngo7nCHe6O8aBGIcrhtg_)) ? reprEnum((NI)(*panels).kind, (&NTI__RUngo7nCHe6O8aBGIcrhtg_))->Sup.len : 0) + 168);appendString(T7_, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_69));appendString(T7_, reprEnum((NI)(*panels).kind, (&NTI__RUngo7nCHe6O8aBGIcrhtg_))); #line 744 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(T7_); } LA5_: ; { tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* i; tySequence__oLpBKXzW3hF9aCVMo5EymfQ* colontmp_; NI i_2; NI L; NI T9_; i = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; colontmp_ = (tySequence__oLpBKXzW3hF9aCVMo5EymfQ*)0; #line 745 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" if (!(((64 &(1U<<((NU)((*panels).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_70)); } colontmp_ = (*panels)._kind_7.elems; #line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" i_2 = ((NI) 0); #line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" T9_ = (colontmp_ ? colontmp_->Sup.len : 0); L = T9_; { #line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" while (1) { NI TM__TupAcFEveY6hZClx0rer9aA_75; #line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" if (!(i_2 < L)) goto LA11; #line 745 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" if ((NU)(i_2) >= (NU)(colontmp_ ? colontmp_->Sup.len : 0)){ raiseIndexError2(i_2,(colontmp_ ? colontmp_->Sup.len : 0)-1); } i = colontmp_->data[i_2]; #line 113 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" panel = i; #line 114 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" { tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T14_; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T15_; NI T16_; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T19_; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T20_; NI T21_; NI TM__TupAcFEveY6hZClx0rer9aA_74; #line 114 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 114 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 114 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 114 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 114 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T14_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; T14_ = X5BX5D___277k8m8OstpfbY4dHQex6wjson(panel, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_71)); #line 114 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T15_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; T15_ = X5BX5D___277k8m8OstpfbY4dHQex6wjson(T14_, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_72)); #line 114 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T16_ = (NI)0; T16_ = getInt__1efdasyP68nDQg4BeLHzGQ(T15_, ((NI) 0)); if (!(T16_ == ((NI) 0))) goto LA17_; #line 115 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 115 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 115 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 115 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 115 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T19_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; T19_ = X5BX5D___277k8m8OstpfbY4dHQex6wjson(panel, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_71)); #line 115 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T20_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; T20_ = X5BX5D___277k8m8OstpfbY4dHQex6wjson(T19_, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_73)); #line 115 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T21_ = (NI)0; T21_ = getInt__1efdasyP68nDQg4BeLHzGQ(T20_, ((NI) 0)); if (nimAddInt(gridHeight, T21_, &TM__TupAcFEveY6hZClx0rer9aA_74)) { raiseOverflow(); }; gridHeight = (NI)(TM__TupAcFEveY6hZClx0rer9aA_74); } LA17_: ; #line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" if (nimAddInt(i_2, ((NI) 1), &TM__TupAcFEveY6hZClx0rer9aA_75)) { raiseOverflow(); }; i_2 = (NI)(TM__TupAcFEveY6hZClx0rer9aA_75); #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" { NI T24_; #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" T24_ = (colontmp_ ? colontmp_->Sup.len : 0); if (!!((T24_ == L))) goto LA25_; #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_27)); } LA25_: ; } LA11: ; } } } #line 117 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 117 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 117 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T27_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; T27_ = newJArray__nXwnFPu9beTnGPwglrr7ztA_3(); #line 117 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" X5BX5Deq___WmQhibcOp3ZlzI9bgifjalAjson(outputData, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_68), T27_); { NI nodeNum; NI colontmp__2; NI TM__TupAcFEveY6hZClx0rer9aA_77; NI res; nodeNum = (NI)0; colontmp__2 = (NI)0; #line 118 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 118 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" if (nimSubInt(nodes, ((NI) 1), &TM__TupAcFEveY6hZClx0rer9aA_77)) { raiseOverflow(); }; colontmp__2 = (NI)(TM__TupAcFEveY6hZClx0rer9aA_77); #line 77 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" res = ((NI) 0); { #line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" while (1) { tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* nodePanels; NI panelIndex; NI TM__TupAcFEveY6hZClx0rer9aA_96; #line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" if (!(res <= colontmp__2)) goto LA30; #line 118 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" nodeNum = res; #line 120 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 120 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" nodePanels = copy__r5dFiT9bcdPOEfGGrwLQKWg(panels); #line 121 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" panelIndex = ((NI) 0); { tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q** panel_2; panel_2 = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q**)0; #line 751 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" { NimStringDesc* T36_; #line 751 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" #line 751 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" if (!!(((*nodePanels).kind == ((tyEnum_JsonNodeKind__RUngo7nCHe6O8aBGIcrhtg) 6)))) goto LA34_; #line 751 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" #line 751 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" T36_ = (NimStringDesc*)0; #line 751 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" T36_ = rawNewString((reprEnum((NI)(*nodePanels).kind, (&NTI__RUngo7nCHe6O8aBGIcrhtg_)) ? reprEnum((NI)(*nodePanels).kind, (&NTI__RUngo7nCHe6O8aBGIcrhtg_))->Sup.len : 0) + 169);appendString(T36_, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_78));appendString(T36_, reprEnum((NI)(*nodePanels).kind, (&NTI__RUngo7nCHe6O8aBGIcrhtg_))); #line 751 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(T36_); } LA34_: ; { tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q** i_3; NI i_4; NI L_2; NI T38_; i_3 = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q**)0; #line 193 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" i_4 = ((NI) 0); #line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" if (!(((64 &(1U<<((NU)((*nodePanels).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_70)); } T38_ = ((*nodePanels)._kind_7.elems ? (*nodePanels)._kind_7.elems->Sup.len : 0); L_2 = T38_; { #line 195 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" while (1) { tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T41_; NimStringDesc* T42_; NimStringDesc* T43_; NimStringDesc* T44_; NimStringDesc* T45_; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T46_; NI TM__TupAcFEveY6hZClx0rer9aA_82; NI TM__TupAcFEveY6hZClx0rer9aA_83; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T47_; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T48_; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T49_; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T50_; NI T51_; NI TM__TupAcFEveY6hZClx0rer9aA_85; NI TM__TupAcFEveY6hZClx0rer9aA_86; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T52_; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* targets; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T74_; NI TM__TupAcFEveY6hZClx0rer9aA_94; NI TM__TupAcFEveY6hZClx0rer9aA_95; #line 195 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" if (!(i_4 < L_2)) goto LA40; #line 752 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" if (!(((64 &(1U<<((NU)((*nodePanels).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_70)); } if ((NU)(i_4) >= (NU)((*nodePanels)._kind_7.elems ? (*nodePanels)._kind_7.elems->Sup.len : 0)){ raiseIndexError2(i_4,((*nodePanels)._kind_7.elems ? (*nodePanels)._kind_7.elems->Sup.len : 0)-1); } i_3 = &(*nodePanels)._kind_7.elems->data[i_4]; #line 122 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" panel_2 = i_3; #line 123 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 123 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 123 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 123 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 123 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 123 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T41_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; T41_ = X5BX5D___277k8m8OstpfbY4dHQex6wjson((*panel_2), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_79)); #line 123 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T42_ = (NimStringDesc*)0; T42_ = getStr__QeJX1ptVmfOrOg9cwOVpcAA(T41_, ((NimStringDesc*) NIM_NIL)); #line 123 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T43_ = (NimStringDesc*)0; #line 123 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T44_ = (NimStringDesc*)0; T44_ = nimIntToStr(nodeNum); T43_ = rawNewString((T44_ ? T44_->Sup.len : 0) + 1);appendString(T43_, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_81));appendString(T43_, T44_); #line 123 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T45_ = (NimStringDesc*)0; T45_ = nsuReplaceStr(T42_, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_80), T43_); #line 123 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T46_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; T46_ = percent___19ag6cl4fMjxytc9arHmLIbw_3(T45_); #line 123 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" X5BX5Deq___WmQhibcOp3ZlzI9bgifjalAjson((*panel_2), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_79), T46_); #line 124 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 124 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 124 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 124 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" if (nimMulInt(nodeNum, numPanels, &TM__TupAcFEveY6hZClx0rer9aA_82)) { raiseOverflow(); }; if (nimAddInt(panelIndex, (NI)(TM__TupAcFEveY6hZClx0rer9aA_82), &TM__TupAcFEveY6hZClx0rer9aA_83)) { raiseOverflow(); }; #line 124 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T47_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; T47_ = percent___NSr46Qz23yGk4m9csPSbQBQ((NI)(TM__TupAcFEveY6hZClx0rer9aA_83)); #line 124 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" X5BX5Deq___WmQhibcOp3ZlzI9bgifjalAjson((*panel_2), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_18), T47_); #line 125 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 125 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 125 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T48_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; T48_ = X5BX5D___277k8m8OstpfbY4dHQex6wjson((*panel_2), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_71)); #line 125 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 125 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 125 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 125 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 125 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 125 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T49_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; T49_ = X5BX5D___277k8m8OstpfbY4dHQex6wjson((*panel_2), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_71)); #line 125 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T50_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; T50_ = X5BX5D___277k8m8OstpfbY4dHQex6wjson(T49_, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_84)); #line 125 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T51_ = (NI)0; T51_ = getInt__1efdasyP68nDQg4BeLHzGQ(T50_, ((NI) 0)); #line 125 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" if (nimMulInt(nodeNum, gridHeight, &TM__TupAcFEveY6hZClx0rer9aA_85)) { raiseOverflow(); }; if (nimAddInt(T51_, (NI)(TM__TupAcFEveY6hZClx0rer9aA_85), &TM__TupAcFEveY6hZClx0rer9aA_86)) { raiseOverflow(); }; #line 125 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T52_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; T52_ = percent___NSr46Qz23yGk4m9csPSbQBQ((NI)(TM__TupAcFEveY6hZClx0rer9aA_86)); #line 125 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" X5BX5Deq___WmQhibcOp3ZlzI9bgifjalAjson(T48_, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_84), T52_); #line 126 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 126 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" targets = X5BX5D___277k8m8OstpfbY4dHQex6wjson((*panel_2), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_87)); { tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q** target; target = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q**)0; #line 751 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" { NimStringDesc* T58_; #line 751 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" #line 751 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" if (!!(((*targets).kind == ((tyEnum_JsonNodeKind__RUngo7nCHe6O8aBGIcrhtg) 6)))) goto LA56_; #line 751 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" #line 751 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" T58_ = (NimStringDesc*)0; #line 751 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" T58_ = rawNewString((reprEnum((NI)(*targets).kind, (&NTI__RUngo7nCHe6O8aBGIcrhtg_)) ? reprEnum((NI)(*targets).kind, (&NTI__RUngo7nCHe6O8aBGIcrhtg_))->Sup.len : 0) + 169);appendString(T58_, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_78));appendString(T58_, reprEnum((NI)(*targets).kind, (&NTI__RUngo7nCHe6O8aBGIcrhtg_))); #line 751 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(T58_); } LA56_: ; { tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q** i_5; NI i_6; NI L_3; NI T60_; i_5 = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q**)0; #line 193 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" i_6 = ((NI) 0); #line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" if (!(((64 &(1U<<((NU)((*targets).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_70)); } T60_ = ((*targets)._kind_7.elems ? (*targets)._kind_7.elems->Sup.len : 0); L_3 = T60_; { #line 195 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" while (1) { tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T63_; NimStringDesc* T64_; NimStringDesc* T65_; NimStringDesc* T66_; NimStringDesc* T67_; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T68_; NI TM__TupAcFEveY6hZClx0rer9aA_92; #line 195 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" if (!(i_6 < L_3)) goto LA62; #line 752 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" if (!(((64 &(1U<<((NU)((*targets).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_70)); } if ((NU)(i_6) >= (NU)((*targets)._kind_7.elems ? (*targets)._kind_7.elems->Sup.len : 0)){ raiseIndexError2(i_6,((*targets)._kind_7.elems ? (*targets)._kind_7.elems->Sup.len : 0)-1); } i_5 = &(*targets)._kind_7.elems->data[i_6]; #line 127 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" target = i_5; #line 128 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 128 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 128 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 128 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 128 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 128 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T63_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; T63_ = X5BX5D___277k8m8OstpfbY4dHQex6wjson((*target), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_88)); #line 128 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T64_ = (NimStringDesc*)0; T64_ = getStr__QeJX1ptVmfOrOg9cwOVpcAA(T63_, ((NimStringDesc*) NIM_NIL)); #line 128 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T65_ = (NimStringDesc*)0; #line 128 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T66_ = (NimStringDesc*)0; T66_ = nimIntToStr(nodeNum); T65_ = rawNewString((T66_ ? T66_->Sup.len : 0) + 9);appendString(T65_, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_90));appendString(T65_, T66_);appendString(T65_, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_91)); #line 128 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T67_ = (NimStringDesc*)0; T67_ = nsuReplaceStr(T64_, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_89), T65_); #line 128 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T68_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; T68_ = percent___19ag6cl4fMjxytc9arHmLIbw_3(T67_); #line 128 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" X5BX5Deq___WmQhibcOp3ZlzI9bgifjalAjson((*target), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_88), T68_); #line 197 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" if (nimAddInt(i_6, ((NI) 1), &TM__TupAcFEveY6hZClx0rer9aA_92)) { raiseOverflow(); }; i_6 = (NI)(TM__TupAcFEveY6hZClx0rer9aA_92); #line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" { NI T71_; #line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" if (!(((64 &(1U<<((NU)((*targets).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_70)); } T71_ = ((*targets)._kind_7.elems ? (*targets)._kind_7.elems->Sup.len : 0); if (!!((T71_ == L_3))) goto LA72_; #line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_93)); } LA72_: ; } LA62: ; } } } #line 129 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 129 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 129 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T74_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; T74_ = X5BX5D___277k8m8OstpfbY4dHQex6wjson(outputData, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_68)); #line 129 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" add__8FFZVkexaQ73y9aREGlrY9bQ(T74_, (*panel_2)); #line 130 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" if (nimAddInt(panelIndex, ((NI) 1), &TM__TupAcFEveY6hZClx0rer9aA_94)) { raiseOverflow(); }; panelIndex = (NI)(TM__TupAcFEveY6hZClx0rer9aA_94); #line 197 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" if (nimAddInt(i_4, ((NI) 1), &TM__TupAcFEveY6hZClx0rer9aA_95)) { raiseOverflow(); }; i_4 = (NI)(TM__TupAcFEveY6hZClx0rer9aA_95); #line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" { NI T77_; #line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" if (!(((64 &(1U<<((NU)((*nodePanels).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_70)); } T77_ = ((*nodePanels)._kind_7.elems ? (*nodePanels)._kind_7.elems->Sup.len : 0); if (!!((T77_ == L_2))) goto LA78_; #line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_93)); } LA78_: ; } LA40: ; } } } #line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" if (nimAddInt(res, ((NI) 1), &TM__TupAcFEveY6hZClx0rer9aA_96)) { raiseOverflow(); }; res = (NI)(TM__TupAcFEveY6hZClx0rer9aA_96); } LA30: ; } } #line 132 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 132 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 132 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T80_ = (NimStringDesc*)0; #line 132 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 132 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 132 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T81_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; T81_ = X5BX5D___277k8m8OstpfbY4dHQex6wjson(outputData, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_97)); #line 132 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T82_ = (NimStringDesc*)0; T82_ = getStr__QeJX1ptVmfOrOg9cwOVpcAA(T81_, ((NimStringDesc*) NIM_NIL)); T80_ = rawNewString((T82_ ? T82_->Sup.len : 0) + 1);appendString(T80_, T82_);appendString(T80_, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_98)); #line 132 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T83_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; T83_ = percent___19ag6cl4fMjxytc9arHmLIbw_3(T80_); #line 132 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" X5BX5Deq___WmQhibcOp3ZlzI9bgifjalAjson(outputData, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_97), T83_); #line 133 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 133 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 133 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T84_ = (NimStringDesc*)0; #line 133 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 133 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 133 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T85_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; T85_ = X5BX5D___277k8m8OstpfbY4dHQex6wjson(outputData, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_79)); #line 133 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T86_ = (NimStringDesc*)0; T86_ = getStr__QeJX1ptVmfOrOg9cwOVpcAA(T85_, ((NimStringDesc*) NIM_NIL)); T84_ = rawNewString((T86_ ? T86_->Sup.len : 0) + 12);appendString(T84_, T86_);appendString(T84_, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_99)); #line 133 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T87_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; T87_ = percent___19ag6cl4fMjxytc9arHmLIbw_3(T84_); #line 133 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" X5BX5Deq___WmQhibcOp3ZlzI9bgifjalAjson(outputData, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_79), T87_); #line 134 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 134 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 134 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T88_ = (NimStringDesc*)0; T88_ = pretty__6ucoq7dFiVhOGmHlWNWbTg(outputData, ((NI) 2)); #line 134 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" writeFile__D6Pj9c29aCLEJP9beOWa08HYA(outputFile, T88_); } static N_NIMCALL(void, TM__TupAcFEveY6hZClx0rer9aA_103)(void) { nimGCvisit((void*)record__au5LYAiz6Wqnkw8ODCIZIg.output.buffer, 0);} #line 2087 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" static N_INLINE(void, initStackBottomWith)(void* locals) { #line 2091 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" #line 2091 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" nimGC_setStackBottom(locals); } #line 6 "/home/runner/work/nim-waku/nim-waku/vendor/nim-serialization/serialization/errors.nim" N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, formatMsg__e82IUoG9buGtygBpBEf7S0w)(tyObject_SerializationError__pU5THS9aG4YyseMvUN63xFQ* err, NimStringDesc* filename_0) { NimStringDesc* result;{ result = (NimStringDesc*)0; #line 6 "/home/runner/work/nim-waku/nim-waku/vendor/nim-serialization/serialization/errors.nim" #line 6 "/home/runner/work/nim-waku/nim-waku/vendor/nim-serialization/serialization/errors.nim" #line 6 "/home/runner/work/nim-waku/nim-waku/vendor/nim-serialization/serialization/errors.nim" result = formatMsg__PdfgthSJLyK9btpbxcxszCQ(err, filename_0); goto BeforeRet_; }BeforeRet_: ; return result;} N_LIB_PRIVATE void PreMainInner(void) { stdlib_timesInit000(); stdlib_osInit000(); libbacktrace_libbacktraceInit000(); stdlib_terminalInit000(); chronos_asyncloopInit000(); chronos_commonInit000(); faststreams_outputsInit000(); faststreams_inputsInit000(); faststreams_pipelinesInit000(); chronicles_topics_registryInit000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { void (*volatile inner)(void); inner = PreMainInner; stdlib_ioDatInit000(); systemDatInit000(); initStackBottomWith((void *)&inner); systemInit000(); stdlib_optionsDatInit000(); stdlib_timesDatInit000(); stdlib_osDatInit000(); stdlib_streamsDatInit000(); stdlib_tablesDatInit000(); chronicles_optionsDatInit000(); stdlib_terminalDatInit000(); stdlib_dequesDatInit000(); stdlib_heapqueueDatInit000(); chronos_timerDatInit000(); stdlib_selectorsDatInit000(); chronos_srclocDatInit000(); chronos_asyncloopDatInit000(); faststreams_buffersDatInit000(); faststreams_outputsDatInit000(); stdlib_memfilesDatInit000(); faststreams_inputsDatInit000(); faststreams_pipelinesDatInit000(); stdlib_lexbaseDatInit000(); stdlib_parsejsonDatInit000(); stdlib_jsonDatInit000(); chronicles_log_outputDatInit000(); chronicles_topics_registryDatInit000(); stew_resultsDatInit000(); libp2p_vbufferDatInit000(); stew_base32DatInit000(); stew_base58DatInit000(); libp2p_multihashDatInit000(); libp2p_transcoderDatInit000(); bearssl_declsDatInit000(); libp2p_minasn1DatInit000(); libp2p_rsaDatInit000(); libp2p_ed25519DatInit000(); secp256k1_secp256k1_abiDatInit000(); secp256k1_secp256k1DatInit000(); libp2p_secpDatInit000(); libp2p_ecnistDatInit000(); libp2p_cryptoDatInit000(); libp2p_peeridDatInit000(); libp2p_multiaddressDatInit000(); libp2p_peerinfoDatInit000(); start_network2DatInit000(); (*inner)(); } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { void (*volatile inner)(void); PreMain(); inner = NimMainInner; initStackBottomWith((void *)&inner); (*inner)(); } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { #line 999999 "generated_not_to_break_here" { NimStringDesc* T8_; NimStringDesc* T31_; NimStringDesc* T32_; NI T33_; NimStringDesc* T34_; NimStringDesc* T35_; nimRegisterGlobalMarker(TM__TupAcFEveY6hZClx0rer9aA_3); nimRegisterGlobalMarker(TM__TupAcFEveY6hZClx0rer9aA_42); nimRegisterGlobalMarker(TM__TupAcFEveY6hZClx0rer9aA_44); nimRegisterGlobalMarker(TM__TupAcFEveY6hZClx0rer9aA_46); nimRegisterGlobalMarker(TM__TupAcFEveY6hZClx0rer9aA_47); nimRegisterGlobalMarker(TM__TupAcFEveY6hZClx0rer9aA_103); #line 144 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" switch (topology__EGd6ivgZ1dh2tUEYFVAA9aw) { case ((tyEnum_Topology__AC71o3YQFs1NhSS80x7zGw) 0): { #line 146 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 146 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" asgnRef((void**) (&nodes__2dLmZ0SCc1pYoRfKX229crQ), starNetwork__xUA0eWvuytd3wPoM4Kx3yQ(amount__nWxEprlm9bLIh9aNSN5qReqA)); } break; case ((tyEnum_Topology__AC71o3YQFs1NhSS80x7zGw) 1): { #line 148 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 148 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" asgnRef((void**) (&nodes__2dLmZ0SCc1pYoRfKX229crQ), fullMeshNetwork__xUA0eWvuytd3wPoM4Kx3yQ_2(amount__nWxEprlm9bLIh9aNSN5qReqA)); } break; } { NI i; #line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" i = ((NI) 0); { #line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" while (1) { NI T6_; NimStringDesc* T7_; NI TM__TupAcFEveY6hZClx0rer9aA_43; #line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" if (!(i < amount__nWxEprlm9bLIh9aNSN5qReqA)) goto LA5; #line 151 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" i__oFkhANIq7utEfr39bVbMAxQ = i; #line 153 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" if ((NU)(i__oFkhANIq7utEfr39bVbMAxQ) >= (NU)(nodes__2dLmZ0SCc1pYoRfKX229crQ ? nodes__2dLmZ0SCc1pYoRfKX229crQ->Sup.len : 0)){ raiseIndexError2(i__oFkhANIq7utEfr39bVbMAxQ,(nodes__2dLmZ0SCc1pYoRfKX229crQ ? nodes__2dLmZ0SCc1pYoRfKX229crQ->Sup.len : 0)-1); } asgnRef((void**) (&staticnodes__PUXP2vGNqJjFF2aNpaF5RA), (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*) incrSeqV3((TGenericSeq*)(staticnodes__PUXP2vGNqJjFF2aNpaF5RA), (&NTI__sM4lkSb7zS6F7OVMvW9cffQ_))); T6_ = staticnodes__PUXP2vGNqJjFF2aNpaF5RA->Sup.len++; T7_ = (NimStringDesc*)0; T7_ = staticnodes__PUXP2vGNqJjFF2aNpaF5RA->data[T6_]; staticnodes__PUXP2vGNqJjFF2aNpaF5RA->data[T6_] = copyStringRC1(nodes__2dLmZ0SCc1pYoRfKX229crQ->data[i__oFkhANIq7utEfr39bVbMAxQ].address); if (T7_) nimGCunrefNoCycle(T7_); #line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" if (nimAddInt(i, ((NI) 1), &TM__TupAcFEveY6hZClx0rer9aA_43)) { raiseOverflow(); }; i = (NI)(TM__TupAcFEveY6hZClx0rer9aA_43); } LA5: ; } } #line 167 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T8_ = (NimStringDesc*)0; T8_ = commandStr__8XPuX3zRyiEWo87qWvkkUg; commandStr__8XPuX3zRyiEWo87qWvkkUg = copyStringRC1(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_45)); if (T8_) nimGCunrefNoCycle(T8_); { NI i_2; NI L; NI T10_; #line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" i_2 = ((NI) 0); #line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" T10_ = (nodes__2dLmZ0SCc1pYoRfKX229crQ ? nodes__2dLmZ0SCc1pYoRfKX229crQ->Sup.len : 0); L = T10_; { #line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" while (1) { NI TM__TupAcFEveY6hZClx0rer9aA_54; #line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" if (!(i_2 < L)) goto LA12; #line 170 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" if ((NU)(i_2) >= (NU)(nodes__2dLmZ0SCc1pYoRfKX229crQ ? nodes__2dLmZ0SCc1pYoRfKX229crQ->Sup.len : 0)){ raiseIndexError2(i_2,(nodes__2dLmZ0SCc1pYoRfKX229crQ ? nodes__2dLmZ0SCc1pYoRfKX229crQ->Sup.len : 0)-1); } genericAssign((void*)(&node__Yz9a1pBnkp3kPJE8gTEcWXg), (void*)(&nodes__2dLmZ0SCc1pYoRfKX229crQ->data[i_2]), (&NTI__j8PgLOzOuxtxDlSRqWQ5Ew_)); #line 171 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" { #line 171 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" if (!((1 &(1U<<((NU)(topology__EGd6ivgZ1dh2tUEYFVAA9aw)&7U)))!=0)) goto LA15_; #line 172 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 172 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" { if (!node__Yz9a1pBnkp3kPJE8gTEcWXg.master) goto LA19_; sleepDuration__57jh9aDppjt5K4T8kvBcQxQ = ((NI) 0); } goto LA17_; LA19_: ; { sleepDuration__57jh9aDppjt5K4T8kvBcQxQ = ((NI) 1); } LA17_: ; } LA15_: ; #line 174 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" asgnRef((void**) (&fmtRes__zZy1VPykQ9cU1VH4kd9becSA), NIM_NIL); #line 533 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 174 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 174 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" asgnRef((void**) (&fmtRes__zZy1VPykQ9cU1VH4kd9becSA), rawNewString(((NI) 185))); #line 174 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" asgnRef((void**) (&fmtRes__zZy1VPykQ9cU1VH4kd9becSA), resizeString(fmtRes__zZy1VPykQ9cU1VH4kd9becSA, 20));appendString(fmtRes__zZy1VPykQ9cU1VH4kd9becSA, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_48)); #line 174 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 174 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" formatValue__ACNJL1q6Oxfvi53i9bkeK6Q((&fmtRes__zZy1VPykQ9cU1VH4kd9becSA), count__uRjlA55FnxaaHLzNW2m7aw, ((NimStringDesc*) NIM_NIL)); #line 174 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" asgnRef((void**) (&fmtRes__zZy1VPykQ9cU1VH4kd9becSA), resizeString(fmtRes__zZy1VPykQ9cU1VH4kd9becSA, 1));appendString(fmtRes__zZy1VPykQ9cU1VH4kd9becSA, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_23)); #line 174 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 174 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" formatValue__3zjq9csYPBcIN7AqvyU5ZLA((&fmtRes__zZy1VPykQ9cU1VH4kd9becSA), node__Yz9a1pBnkp3kPJE8gTEcWXg.label, ((NimStringDesc*) NIM_NIL)); #line 174 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" asgnRef((void**) (&fmtRes__zZy1VPykQ9cU1VH4kd9becSA), resizeString(fmtRes__zZy1VPykQ9cU1VH4kd9becSA, 12));appendString(fmtRes__zZy1VPykQ9cU1VH4kd9becSA, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_49)); #line 174 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 174 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" formatValue__ACNJL1q6Oxfvi53i9bkeK6Q((&fmtRes__zZy1VPykQ9cU1VH4kd9becSA), sleepDuration__57jh9aDppjt5K4T8kvBcQxQ, ((NimStringDesc*) NIM_NIL)); #line 174 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" asgnRef((void**) (&fmtRes__zZy1VPykQ9cU1VH4kd9becSA), resizeString(fmtRes__zZy1VPykQ9cU1VH4kd9becSA, 2));appendString(fmtRes__zZy1VPykQ9cU1VH4kd9becSA, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_50)); #line 174 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 174 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" formatValue__3zjq9csYPBcIN7AqvyU5ZLA((&fmtRes__zZy1VPykQ9cU1VH4kd9becSA), node__Yz9a1pBnkp3kPJE8gTEcWXg.cmd, ((NimStringDesc*) NIM_NIL)); #line 174 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" asgnRef((void**) (&fmtRes__zZy1VPykQ9cU1VH4kd9becSA), resizeString(fmtRes__zZy1VPykQ9cU1VH4kd9becSA, 66));appendString(fmtRes__zZy1VPykQ9cU1VH4kd9becSA, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_51)); asgnRef((void**) (&commandStr__8XPuX3zRyiEWo87qWvkkUg), resizeString(commandStr__8XPuX3zRyiEWo87qWvkkUg, (fmtRes__zZy1VPykQ9cU1VH4kd9becSA ? fmtRes__zZy1VPykQ9cU1VH4kd9becSA->Sup.len : 0) + 0));appendString(commandStr__8XPuX3zRyiEWo87qWvkkUg, fmtRes__zZy1VPykQ9cU1VH4kd9becSA); #line 175 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" { NI TM__TupAcFEveY6hZClx0rer9aA_52; NI TM__TupAcFEveY6hZClx0rer9aA_53; #line 175 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" if (!(topology__EGd6ivgZ1dh2tUEYFVAA9aw == ((tyEnum_Topology__AC71o3YQFs1NhSS80x7zGw) 1))) goto LA24_; #line 176 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" if (nimAddInt(sleepDuration__57jh9aDppjt5K4T8kvBcQxQ, ((NI) 1), &TM__TupAcFEveY6hZClx0rer9aA_52)) { raiseOverflow(); }; sleepDuration__57jh9aDppjt5K4T8kvBcQxQ = (NI)(TM__TupAcFEveY6hZClx0rer9aA_52); #line 177 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" if (nimAddInt(count__uRjlA55FnxaaHLzNW2m7aw, ((NI) 1), &TM__TupAcFEveY6hZClx0rer9aA_53)) { raiseOverflow(); }; count__uRjlA55FnxaaHLzNW2m7aw = (NI)(TM__TupAcFEveY6hZClx0rer9aA_53); } LA24_: ; #line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" if (nimAddInt(i_2, ((NI) 1), &TM__TupAcFEveY6hZClx0rer9aA_54)) { raiseOverflow(); }; i_2 = (NI)(TM__TupAcFEveY6hZClx0rer9aA_54); #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" { NI T28_; #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" T28_ = (nodes__2dLmZ0SCc1pYoRfKX229crQ ? nodes__2dLmZ0SCc1pYoRfKX229crQ->Sup.len : 0); if (!!((T28_ == L))) goto LA29_; #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_27)); } LA29_: ; } LA12: ; } } #line 179 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 179 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 179 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 179 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T31_ = (NimStringDesc*)0; T31_ = slash___gEyhbzZ1UcxyenWRLJRXNQ(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_62), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_63)); #line 179 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T32_ = (NimStringDesc*)0; T32_ = slash___gEyhbzZ1UcxyenWRLJRXNQ(T31_, ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_64)); #line 179 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" generatePrometheusConfig__CykvuULGtm3ZXDUkBkz5wA(nodes__2dLmZ0SCc1pYoRfKX229crQ, T32_); #line 180 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 180 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T33_ = (nodes__2dLmZ0SCc1pYoRfKX229crQ ? nodes__2dLmZ0SCc1pYoRfKX229crQ->Sup.len : 0); #line 181 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 181 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T34_ = (NimStringDesc*)0; T34_ = slash___gEyhbzZ1UcxyenWRLJRXNQ(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_62), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_100)); #line 182 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 182 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" T35_ = (NimStringDesc*)0; T35_ = slash___gEyhbzZ1UcxyenWRLJRXNQ(((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_62), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_101)); #line 180 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" proccessGrafanaDashboard__75I6DWsJYBQL1kCkbAQFew(T33_, T34_, T35_); #line 185 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 185 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" errorCode__O85TaIGLdy2Q9b3spzmeSdQ = nospexecCmd(commandStr__8XPuX3zRyiEWo87qWvkkUg); #line 186 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" { TSafePoint TM__TupAcFEveY6hZClx0rer9aA_102; #line 186 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" #line 186 "/home/runner/work/nim-waku/nim-waku/waku/v2/node/start_network2.nim" if (!!((errorCode__O85TaIGLdy2Q9b3spzmeSdQ == ((NI) 0)))) goto LA38_; #line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" pushSafePoint(&TM__TupAcFEveY6hZClx0rer9aA_102); TM__TupAcFEveY6hZClx0rer9aA_102.status = setjmp(TM__TupAcFEveY6hZClx0rer9aA_102.context); if (TM__TupAcFEveY6hZClx0rer9aA_102.status == 0) { { NI T48_; #line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" { tyArray__ZagBlFMl7KoYROF13oI1xA T44_; NIM_BOOL T45_; #line 131 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 131 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 131 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" T45_ = (NIM_BOOL)0; T45_ = topicsMatch__KytrWChpQmaEFB83SSLTgg(((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 6), T44_, 0); if (!!(T45_)) goto LA46_; #line 132 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" goto LA41; } LA46_: ; #line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" #line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" chckNil((void*)(&record__au5LYAiz6Wqnkw8ODCIZIg)); unsureAsgnRef((void**)&record__au5LYAiz6Wqnkw8ODCIZIg.output.buffer, NIM_NIL); record__au5LYAiz6Wqnkw8ODCIZIg.level = 0; #line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&record__au5LYAiz6Wqnkw8ODCIZIg), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 6), ((NimStringDesc*) NIM_NIL), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_104)); #line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" T48_ = (NI)0; T48_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw(); #line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&record__au5LYAiz6Wqnkw8ODCIZIg), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_11), T48_); #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&record__au5LYAiz6Wqnkw8ODCIZIg), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_12), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_105)); #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&record__au5LYAiz6Wqnkw8ODCIZIg), ((NimStringDesc*) &TM__TupAcFEveY6hZClx0rer9aA_106), commandStr__8XPuX3zRyiEWo87qWvkkUg); #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" logAllDynamicProperties__2fo45m4EsDq89bdWxK19aOpQ((&record__au5LYAiz6Wqnkw8ODCIZIg)); #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim" flushRecord__2TFyTWhDxeU5kGr2yqnA6w((&record__au5LYAiz6Wqnkw8ODCIZIg)); } LA41: ; popSafePoint(); } else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym68965019_; Exception* T51_; Exception* T52_; TM__TupAcFEveY6hZClx0rer9aA_102.status = 0; #line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" #line 0 "\?\?\?" #line 0 "\?\?\?" T51_ = (Exception*)0; T51_ = getCurrentException(); errX60gensym68965019_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T51_)); #line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" T52_ = (Exception*)0; T52_ = &errX60gensym68965019_->Sup; #line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim" logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("launch command failed", T52_); popCurrentException(); } } if (TM__TupAcFEveY6hZClx0rer9aA_102.status != 0) reraiseException(); } LA38_: ; } } N_LIB_PRIVATE N_NIMCALL(void, start_network2DatInit000)(void) { #line 999999 "generated_not_to_break_here" static TNimNode* TM__TupAcFEveY6hZClx0rer9aA_2_5[5]; static TNimNode TM__TupAcFEveY6hZClx0rer9aA_0[6];NTI__j8PgLOzOuxtxDlSRqWQ5Ew_.size = sizeof(tyObject_NodeInfo__j8PgLOzOuxtxDlSRqWQ5Ew); NTI__j8PgLOzOuxtxDlSRqWQ5Ew_.kind = 18; NTI__j8PgLOzOuxtxDlSRqWQ5Ew_.base = 0; NTI__j8PgLOzOuxtxDlSRqWQ5Ew_.flags = 2; NTI__j8PgLOzOuxtxDlSRqWQ5Ew_.name = "NodeInfo"; NTI__j8PgLOzOuxtxDlSRqWQ5Ew_.nextType = nimTypeRoot; nimTypeRoot=&NTI__j8PgLOzOuxtxDlSRqWQ5Ew_; TM__TupAcFEveY6hZClx0rer9aA_2_5[0] = &TM__TupAcFEveY6hZClx0rer9aA_0[1]; TM__TupAcFEveY6hZClx0rer9aA_0[1].kind = 1; TM__TupAcFEveY6hZClx0rer9aA_0[1].offset = offsetof(tyObject_NodeInfo__j8PgLOzOuxtxDlSRqWQ5Ew, cmd); TM__TupAcFEveY6hZClx0rer9aA_0[1].typ = (&NTI__77mFvmsOLKik79ci2hXkHEg_); TM__TupAcFEveY6hZClx0rer9aA_0[1].name = "cmd"; TM__TupAcFEveY6hZClx0rer9aA_2_5[1] = &TM__TupAcFEveY6hZClx0rer9aA_0[2]; TM__TupAcFEveY6hZClx0rer9aA_0[2].kind = 1; TM__TupAcFEveY6hZClx0rer9aA_0[2].offset = offsetof(tyObject_NodeInfo__j8PgLOzOuxtxDlSRqWQ5Ew, master); TM__TupAcFEveY6hZClx0rer9aA_0[2].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_); TM__TupAcFEveY6hZClx0rer9aA_0[2].name = "master"; TM__TupAcFEveY6hZClx0rer9aA_2_5[2] = &TM__TupAcFEveY6hZClx0rer9aA_0[3]; TM__TupAcFEveY6hZClx0rer9aA_0[3].kind = 1; TM__TupAcFEveY6hZClx0rer9aA_0[3].offset = offsetof(tyObject_NodeInfo__j8PgLOzOuxtxDlSRqWQ5Ew, address); TM__TupAcFEveY6hZClx0rer9aA_0[3].typ = (&NTI__77mFvmsOLKik79ci2hXkHEg_); TM__TupAcFEveY6hZClx0rer9aA_0[3].name = "address"; TM__TupAcFEveY6hZClx0rer9aA_2_5[3] = &TM__TupAcFEveY6hZClx0rer9aA_0[4]; TM__TupAcFEveY6hZClx0rer9aA_0[4].kind = 1; TM__TupAcFEveY6hZClx0rer9aA_0[4].offset = offsetof(tyObject_NodeInfo__j8PgLOzOuxtxDlSRqWQ5Ew, shift); TM__TupAcFEveY6hZClx0rer9aA_0[4].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_); TM__TupAcFEveY6hZClx0rer9aA_0[4].name = "shift"; TM__TupAcFEveY6hZClx0rer9aA_2_5[4] = &TM__TupAcFEveY6hZClx0rer9aA_0[5]; TM__TupAcFEveY6hZClx0rer9aA_0[5].kind = 1; TM__TupAcFEveY6hZClx0rer9aA_0[5].offset = offsetof(tyObject_NodeInfo__j8PgLOzOuxtxDlSRqWQ5Ew, label); TM__TupAcFEveY6hZClx0rer9aA_0[5].typ = (&NTI__77mFvmsOLKik79ci2hXkHEg_); TM__TupAcFEveY6hZClx0rer9aA_0[5].name = "label"; TM__TupAcFEveY6hZClx0rer9aA_0[0].len = 5; TM__TupAcFEveY6hZClx0rer9aA_0[0].kind = 2; TM__TupAcFEveY6hZClx0rer9aA_0[0].sons = &TM__TupAcFEveY6hZClx0rer9aA_2_5[0]; NTI__j8PgLOzOuxtxDlSRqWQ5Ew_.node = &TM__TupAcFEveY6hZClx0rer9aA_0[0]; NTI__VdfvuNMTHG7pz0wENyTbaQ_.size = sizeof(tySequence__VdfvuNMTHG7pz0wENyTbaQ*); NTI__VdfvuNMTHG7pz0wENyTbaQ_.kind = 24; NTI__VdfvuNMTHG7pz0wENyTbaQ_.base = (&NTI__j8PgLOzOuxtxDlSRqWQ5Ew_); NTI__VdfvuNMTHG7pz0wENyTbaQ_.flags = 2; NTI__VdfvuNMTHG7pz0wENyTbaQ_.name = "seq[NodeInfo]"; NTI__VdfvuNMTHG7pz0wENyTbaQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__VdfvuNMTHG7pz0wENyTbaQ_; NTI__VdfvuNMTHG7pz0wENyTbaQ_.marker = Marker_tySequence__VdfvuNMTHG7pz0wENyTbaQ; }