コード例 #1
0
        public string ToFullLine()
        {
            var builder = new StringBuilder();

            builder.Append(BlockHeight.ToString());
            builder.Append(":");
            builder.Append(BlockHash);
            if (Filter != null)             // bech found here
            {
                builder.Append(":");
                builder.Append(Filter);
            }

            return(builder.ToString());
        }
コード例 #2
0
 public override string ToString()
 => $"{BlockHeight.ToString(CultureInfo.InvariantCulture)}:{BlockIndex.ToString(CultureInfo.InvariantCulture)}:{TxOutIndex.ToString(CultureInfo.InvariantCulture)}";