C# 클래스 BitSharper.Discovery.SeedPeers

SeedPeers stores a pre-determined list of Bitcoin node addresses. These nodes are selected based on being active on the network for a long period of time. The intention is to be a last resort way of finding a connection to the network, in case IRC and DNS fail. The list comes from the Bitcoin C++ source code.
상속: IPeerDiscovery
파일 보기 프로젝트 열기: TangibleCryptography/BitSharper 1 사용 예제들

공개 메소드들

메소드 설명
GetPeer ( ) : EndPoint

Acts as an iterator, returning the address of each node in the list sequentially. Once all the list has been iterated, null will be returned for each subsequent query.

GetPeers ( ) : IEnumerable

Returns an array containing all the Bitcoin nodes within the list.

SeedPeers ( NetworkParameters @params ) : System.Collections.Generic

비공개 메소드들

메소드 설명
AllPeers ( ) : IEnumerable
ConvertAddress ( uint seed ) : IPAddress
NextPeer ( ) : EndPoint

메소드 상세

GetPeer() 공개 메소드

Acts as an iterator, returning the address of each node in the list sequentially. Once all the list has been iterated, null will be returned for each subsequent query.
public GetPeer ( ) : EndPoint
리턴 System.Net.EndPoint

GetPeers() 공개 메소드

Returns an array containing all the Bitcoin nodes within the list.
public GetPeers ( ) : IEnumerable
리턴 IEnumerable

SeedPeers() 공개 메소드

public SeedPeers ( NetworkParameters @params ) : System.Collections.Generic
@params NetworkParameters
리턴 System.Collections.Generic