Skip to content
Frederic Jacobs edited this page Aug 19, 2016 · 1 revision

JavaScript Share Verification API

JavaScript API for SecretShare

{
    // 0 when there is no majority
    threshold: int,
    
    // Returned when signatures can be verified
    shares: {
        <key_num>: [shares...],
        ...
    }
    
    // If invalid signature for a share.
    // Error formatting
     invalidShares: [ shares ] 
}
Clone this wiki locally