Ejemplo n.º 1
0
        public bool IsAddressOfParentChain(Address address)
        {
            if (this.IsRootChain())
            {
                return(false);
            }

            var parentName = Nexus.GetParentChainByName(Chain.Name);
            var target     = Nexus.GetChainByAddress(address);

            return(target.Name == parentName);
        }
Ejemplo n.º 2
0
 public IChain GetChainByAddress(Address address)
 {
     return(Nexus.GetChainByAddress(address));
 }