Orfeas Stefanos Thyfronitis Litos (U of Edinburgh)
Christos Porios (Imperial College London)
Dionysis Zindros (U of Athens)
OB1
// finding trust (allowed spending)
TIR = new TrustIsRisk.FullNode(...);
valueInSatoshis = TIR.trust.getTrust(
myAddr, vendorAddr
);
// increasing trust
tx = TIR.trust.createTrustIncreasingMTX(
privKey, pubKey, txToSpend, amountInSatoshis
);
broadcast(tx);
// decreasing trust
tx = TIR.trust.createTrustDecreasingMTXs(
privKey, pubKey, amountInSatoshis
);
broadcast(tx);