메소드 |
설명 |
|
getChannelURLs ( boolean $doNotShuffle = false ) : array |
Get all URLs |
|
getChannelUpdates ( string $root ) : array |
Send the HTTP request, return the |
|
getKeyUpdates ( MerkleTree $tree ) : array |
Get key updates from the channel |
|
getMerkleTree ( ) : MerkleTree |
Get the current Merkle tree for our active channel. |
|
getUpdatedMerkleTree ( ) : MerkleTree |
Get the Merkle tree with key updates factored in. |
|
insertKey ( array $keyData, array $nodeData ) : boolean |
We are creating a new key |
|
notifyPeersOfNewUpdate ( ) |
This propagates the new update through the network. |
|
parseChannelUpdateResponse ( array $data, DateTime $originated ) : array |
Parse the HTTP response and get the useful information out of it. |
|
revokeKey ( array $keyData, array $nodeData ) : boolean |
We are removing a key from our trust store. |
|
storeUpdate ( array $nodeData ) : boolean |
Store the new update in the database. |
|
updatePackageQueue ( array $pkgData, integer $treeUpdateID ) : boolean |
We're storing metadata about a package in the database. |
|
verifyMasterSignature ( array $supplierData, array $keyData, array $nodeData ) : boolean |
Verify that this key update was signed by the master key for this supplier. |
|