ZeroNet Zite class
Constructor - new json.ContentJSON(zite, inner_path, data, rules)
Zite content.json
zite: Must be a Zite
inner_path: Path of the content.json
data: JSON parsed data of the content.json
rules: RuleBook containing the rules for the zite
ContentJSON.verifySelf( /* seems like that's not documented yet */ )
ContentJSON.verifyFile( /* seems like that's not documented yet */ )
ContentJSON.createRuleBook( /* seems like that's not documented yet */ )
Constructor - new zite.Zite(config, zeronet)
ZeroNet Zite
config: configuration of the Zite
zeronet: ZeroNet Node
Zite.handleGet( /* seems like that's not documented yet */ )
Zite.start( /* seems like that's not documented yet */ )
Zite.stop( /* seems like that's not documented yet */ )
Converts the site to json
Constructor - new pool.ZitePeerPool(zite, zeronet)
ZeroNet Zite peer pool
zite: The zite
zeronet: Global zeronet object
ZitePeerPool.getAll( /* seems like that's not documented yet */ )
ZitePeerPool.getConnected( /* seems like that's not documented yet */ )
ZitePeerPool.getUnconnected( /* seems like that's not documented yet */ )
ZitePeerPool.dialMany( /* seems like that's not documented yet */ )
ZitePeerPool.getMany( /* seems like that's not documented yet */ )
ZitePeerPool.getUntil( /* seems like that's not documented yet */ )
ZitePeerPool.next( /* seems like that's not documented yet */ )
Constructor - new rulebook.RuleBook()
A rule book defines which and how many keys can/have to sign
RuleBook.isKeyAllowed( /* seems like that's not documented yet */ )
RuleBook.getSignersRequired( /* seems like that's not documented yet */ )
RuleBook.getValidKeys( /* seems like that's not documented yet */ )
RuleBook.verifySignature( /* seems like that's not documented yet */ )
RuleBook.createSubBook( /* seems like that's not documented yet */ )
FileTreeObject.consturctor( /* seems like that's not documented yet */ )
FileTreeObject.exists( /* seems like that's not documented yet */ )
FileTreeObject.get( /* seems like that's not documented yet */ )
FileTreeObject.updateTree( /* seems like that's not documented yet */ )
FileTreeLeafObject.exists( /* seems like that's not documented yet */ )
FileTreeLeafObject.get( /* seems like that's not documented yet */ )
FileTreeRoot.setMainBranch( /* seems like that's not documented yet */ )
FileTreeRoot.getRuleBook( /* seems like that's not documented yet */ )
ContentJSONBranch.verify( /* seems like that's not documented yet */ )
ZeroNetJS is developed independently from ZeroNet
Docs are autogenerated by a script