package pause var Magic = []byte{'p', 'a', 'u', 1} // // type Container struct { // simplebuffer.Container // } // // func GetPauseContainer(uuid uint64, cfg *pod.Config, node *chainrpc.Node) []byte { // return p2padvt.Get(uuid, cfg) // // mB := p2padvt.Get(cx).CreateContainer(Magic) // // return &Container{*mB} // } // func LoadPauseContainer(b []byte) (out *Container) { // out = &Container{} // out.Data = b // return // } // // func (j *Container) GetIPs() []*net.IP { // return IPs.New().DecodeOne(j.Get(0)).Get() // } // // func (j *Container) GetP2PListenersPort() uint16 { // return Uint16.New().DecodeOne(j.Get(1)).Get() // } // // func (j *Container) GetRPCListenersPort() uint16 { // return Uint16.New().DecodeOne(j.Get(2)).Get() // } // // func (j *Container) GetControllerListenerPort() uint16 { // return Uint16.New().DecodeOne(j.Get(3)).Get() // }