]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/node.go
exec notification, freq.maxsize, paxed directories
[nncp.git] / src / node.go
index dd2442b06d52516627d325056b01747ede14de41..65f5e9cde30cc7e8c4931f9c54384c89b9c8e9b2 100644 (file)
@@ -45,6 +45,7 @@ type Node struct {
        FreqPath       *string
        FreqChunked    int64
        FreqMinSize    int64
+       FreqMaxSize    int64
        Via            []*NodeId
        Addrs          map[string]string
        RxRate         int
@@ -105,6 +106,7 @@ func (nodeOur *NodeOur) Their() *Node {
                ExchPub:     nodeOur.ExchPub,
                SignPub:     nodeOur.SignPub,
                FreqChunked: MaxFileSize,
+               FreqMaxSize: MaxFileSize,
        }
 }