DSNeighbours

constructor(me: Address)

Constructor that initializes all neighbours to the same address.

Parameters

me

The address to set all neighbours to.


constructor(right: Address, nNext: Address, left: Address, leader: Address)

Constructor that initializes all neighbours to different addresses.

Parameters

right

The address of the right neighbour.

nNext

The address of the next-next neighbour.

left

The address of the left neighbour.

leader

The address of the leader.