This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
+the Free Software Foundation, version 3 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
- Name string
- Id *NodeId
- ExchPub *[32]byte
- SignPub ed25519.PublicKey
- NoisePub *[32]byte
- Sendmail []string
- Incoming *string
- Freq *string
- Via []*NodeId
- Addrs map[string]string
+ Name string
+ Id *NodeId
+ ExchPub *[32]byte
+ SignPub ed25519.PublicKey
+ NoisePub *[32]byte
+ Exec map[string][]string
+ Incoming *string
+ Freq *string
+ FreqChunked int64
+ FreqMinSize int64
+ Via []*NodeId
+ Addrs map[string]string
+ RxRate int
+ TxRate int
+ OnlineDeadline uint
+ MaxOnlineTime uint
+ Calls []*Call
+
+ Busy bool
+ sync.Mutex
noisePub := new([32]byte)
noisePrv := new([32]byte)
copy(noisePrv[:], noiseKey.Private)
noisePub := new([32]byte)
noisePrv := new([32]byte)
copy(noisePrv[:], noiseKey.Private)