File: Common/BootstrapOracle.ned
C++ definition: click here
Global module that supports bootstrap process and key distribution
The following diagram shows usage relationships between modules, networks and channels. Unresolved module (and channel) types are missing from the diagram. Click here to see the full picture.
If a module type shows up more than once, that means it has been defined in more than one NED file.
GlobalObserver | global module that contains the bootstrapOracle and the globalStatistics module |
Name | Type | Description |
---|---|---|
maliciousNodeProbability | numeric | probability for a node to be malicious on creation |
maliciousNodeChange | bool | dynamically change number of malicious nodes |
maliciousNodeChangeStartTime | numeric | simTime at which nodes begin to become malicious |
maliciousNodeChangeRate | numeric | number of nodes to change to malicious compared to all nodes |
maliciousNodeChangeInterval | numeric | time between two node changes to malicious |
maliciousNodeChangeStartValue | numeric | minimum amount of malicious nodes in the peerSet |
maliciousNodeChangeStopValue | numeric | maximum amount of malicious nodes in the peerSet |
maxNumberOfKeys | numeric | maximum number of overlay keys the bootstrap oracle handles |
keyProbability | numeric | probability of keys to be owned by nodes |
simple BootstrapOracle parameters: maliciousNodeProbability : numeric, // probability for a node to be malicious on creation maliciousNodeChange: bool, // dynamically change number of malicious nodes maliciousNodeChangeStartTime: numeric, // simTime at which nodes begin to become malicious maliciousNodeChangeRate: numeric, // number of nodes to change to malicious compared to all nodes maliciousNodeChangeInterval: numeric, // time between two node changes to malicious maliciousNodeChangeStartValue: numeric, // minimum amount of malicious nodes in the peerSet maliciousNodeChangeStopValue: numeric, // maximum amount of malicious nodes in the peerSet maxNumberOfKeys : numeric, // maximum number of overlay keys the bootstrap oracle handles keyProbability : numeric; // probability of keys to be owned by nodes endsimple