* @todo add some more special bootstrap things for this boot node
*/
public function doBootstrapping () {
- // Output message
- $this->getDebugInstance()->output('BOOTSTRAP: Beginning with bootstrap...');
-
// Call generic (parent) bootstrapping method first
parent::doGenericBootstrapping();
// Now check if the IP address matches one of the bootstrap nodes
if ($this->ifAddressMatchesBootstrappingNodes($_SERVER['SERVER_ADDR'])) {
// Get our port from configuration
- $ourPort = $this->getConfigInstance()->readConfig('node_listen_port');
+ $ourPort = $this->getConfigInstance()->readConfig('node_tcp_listen_port');
// Is the port the same?
if (substr($this->bootIpPort, -strlen($ourPort), strlen($ourPort)) == $ourPort) {
// This might not be all...
$this->partialStub('Please implement more bootsrapping steps.');
-
- // Output message
- $this->getDebugInstance()->output('BOOTSTRAP: Bootstrap finished.');
}
/**