diff --git a/explorer/404.html b/explorer/404.html index cc942403ebc..9d0b36f7127 100644 --- a/explorer/404.html +++ b/explorer/404.html @@ -1 +1 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/explorer/_next/static/chunks/app/layout-b2f3f32c1ee20ffe.js b/explorer/_next/static/chunks/app/layout-ae3847b9a9727968.js similarity index 92% rename from explorer/_next/static/chunks/app/layout-b2f3f32c1ee20ffe.js rename to explorer/_next/static/chunks/app/layout-ae3847b9a9727968.js index c01d1f909df..c1199f051f2 100644 --- a/explorer/_next/static/chunks/app/layout-b2f3f32c1ee20ffe.js +++ b/explorer/_next/static/chunks/app/layout-ae3847b9a9727968.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{6308:function(e,t,r){Promise.resolve().then(r.bind(r,9978)),Promise.resolve().then(r.t.bind(r,3222,23)),Promise.resolve().then(r.t.bind(r,6685,23)),Promise.resolve().then(r.t.bind(r,3453,23)),Promise.resolve().then(r.t.bind(r,1649,23)),Promise.resolve().then(r.t.bind(r,2112,23)),Promise.resolve().then(r.t.bind(r,810,23))},4402:function(e,t,r){"use strict";t.Z=["https://aggregator.release-mainnet.api.mithril.network/aggregator","https://aggregator.release-preprod.api.mithril.network/aggregator","https://aggregator.pre-release-preview.api.mithril.network/aggregator","https://aggregator.testing-preview.api.mithril.network/aggregator","http://localhost:8080/aggregator"]},7153:function(e,t,r){"use strict";r.d(t,{W:function(){return a}});let a="aggregator"},9978:function(e,t,r){"use strict";r.r(t),r.d(t,{Providers:function(){return b}});var a=r(7437),o=r(7153),n=r(64),l=r(6641),g=r(4402),i=r(3956);let s="Explorer_State",u=e=>{var t;return(0,n.xC)({reducer:{settings:l.xj.reducer},preloadedState:{...t=function(){if(localStorage){let e=localStorage.getItem(s);return e?JSON.parse(e):void 0}}(),settings:function(e,t){var r,a;let o,n=null!=e?e:l.E3,s=(r=n.availableAggregators,a=g.Z,o=r.filter(e=>!a.includes(e)),[...a,...o]);return t&&(0,i.checkUrl)(t)?(s.includes(t)||s.push(t),n={...n,selectedAggregator:t,availableAggregators:s,canRemoveSelected:!g.Z.includes(t)}):n={...n,availableAggregators:s},n}(null==t?void 0:t.settings,e)}})};var c=r(3198),d=r(4033),f=r(2265);function b(e){let{children:t}=e,r=(0,d.useSearchParams)(),n=r.get(o.W),[l,g]=(0,f.useState)(u(n));return l.subscribe(()=>{var e;return e=l.getState(),void(localStorage&&localStorage.setItem(s,JSON.stringify(e)))}),(0,a.jsx)(c.zt,{store:l,children:t})}},6641:function(e,t,r){"use strict";r.d(t,{E3:function(){return l},JV:function(){return i},OR:function(){return c},VT:function(){return u},k6:function(){return d},uI:function(){return s},xj:function(){return g}});var a=r(64),o=r(4402),n=r(3956);let l={autoUpdate:!0,updateInterval:1e4,selectedAggregator:o.Z[0],availableAggregators:o.Z,canRemoveSelected:!1},g=(0,a.oM)({name:"settings",initialState:l,reducers:{setUpdateInterval:(e,t)=>{e.updateInterval=t.payload},toggleAutoUpdate:e=>{e.autoUpdate=!e.autoUpdate},selectAggregator:(e,t)=>{if(!(0,n.checkUrl)(t.payload))return e;let r=e.availableAggregators.includes(t.payload)?e.availableAggregators:[...e.availableAggregators,t.payload];return{...e,selectedAggregator:t.payload,availableAggregators:r,canRemoveSelected:!o.Z.includes(t.payload)}},removeSelectedAggregator:e=>o.Z.includes(e.selectedAggregator)?e:{...e,selectedAggregator:e.availableAggregators.at(0),availableAggregators:e.availableAggregators.filter(t=>t!==e.selectedAggregator),canRemoveSelected:!o.Z.includes(e.availableAggregators.at(0))}}}),{setUpdateInterval:i,toggleAutoUpdate:s,selectAggregator:u,removeSelectedAggregator:c}=g.actions,d=e=>e.settings.selectedAggregator;g.reducer},3956:function(e){"use strict";let t=e=>e/1e6,r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return e.toLocaleString(void 0,{maximumFractionDigits:t})};e.exports={checkUrl:function(e){try{return new URL(e),!0}catch(e){return!1}},formatStake:function(e){let a=t(e),o=[{suffix:"B",value:1e9},{suffix:"M",value:1e6},{suffix:"K",value:1e3},{suffix:"",value:1}].find(e=>Math.abs(a)>=e.value-.001);return o?"".concat(r(a/o.value)).concat(o.suffix,"₳"):"".concat(r(a),"₳")},setChartJsDefaults:function(e){let t=["rgba(255, 99, 132, 0.2)","rgba(255, 159, 64, 0.2)","rgba(255, 205, 86, 0.2)","rgba(75, 192, 192, 0.2)","rgba(54, 162, 235, 0.2)","rgba(153, 102, 255, 0.2)","rgba(201, 203, 207, 0.2)"],r=["rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(54, 162, 235)","rgb(153, 102, 255)","rgb(201, 203, 207)"];e.defaults.plugins.legend.display=!1,e.defaults.elements.arc.backgroundColor=t,e.defaults.elements.arc.borderColor=r,e.defaults.elements.arc.borderWidth=1,e.defaults.elements.bar.backgroundColor=t,e.defaults.elements.bar.borderColor=r,e.defaults.elements.bar.borderWidth=1},toAda:t,formatCurrency:r}},1649:function(){},3453:function(e){e.exports={container:"explorer_container__e4y3J",main:"explorer_main__72BOO",footer:"explorer_footer__NDYaK",title:"explorer_title__4AQZM",code:"explorer_code__d9zj2",logo:"explorer_logo__qsx9l"}}},function(e){e.O(0,[129,807,141,282,971,596,744],function(){return e(e.s=6308)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{4042:function(e,t,r){Promise.resolve().then(r.t.bind(r,3222,23)),Promise.resolve().then(r.t.bind(r,6685,23)),Promise.resolve().then(r.bind(r,9978)),Promise.resolve().then(r.t.bind(r,3453,23)),Promise.resolve().then(r.t.bind(r,1649,23)),Promise.resolve().then(r.t.bind(r,2112,23)),Promise.resolve().then(r.t.bind(r,810,23))},4402:function(e,t,r){"use strict";t.Z=["https://aggregator.release-mainnet.api.mithril.network/aggregator","https://aggregator.release-preprod.api.mithril.network/aggregator","https://aggregator.pre-release-preview.api.mithril.network/aggregator","https://aggregator.testing-preview.api.mithril.network/aggregator","http://localhost:8080/aggregator"]},7153:function(e,t,r){"use strict";r.d(t,{W:function(){return a}});let a="aggregator"},9978:function(e,t,r){"use strict";r.r(t),r.d(t,{Providers:function(){return b}});var a=r(7437),o=r(7153),n=r(64),l=r(6641),g=r(4402),i=r(3956);let s="Explorer_State",u=e=>{var t;return(0,n.xC)({reducer:{settings:l.xj.reducer},preloadedState:{...t=function(){if(localStorage){let e=localStorage.getItem(s);return e?JSON.parse(e):void 0}}(),settings:function(e,t){var r,a;let o,n=null!=e?e:l.E3,s=(r=n.availableAggregators,a=g.Z,o=r.filter(e=>!a.includes(e)),[...a,...o]);return t&&(0,i.checkUrl)(t)?(s.includes(t)||s.push(t),n={...n,selectedAggregator:t,availableAggregators:s,canRemoveSelected:!g.Z.includes(t)}):n={...n,availableAggregators:s},n}(null==t?void 0:t.settings,e)}})};var c=r(3198),d=r(4033),f=r(2265);function b(e){let{children:t}=e,r=(0,d.useSearchParams)(),n=r.get(o.W),[l,g]=(0,f.useState)(u(n));return l.subscribe(()=>{var e;return e=l.getState(),void(localStorage&&localStorage.setItem(s,JSON.stringify(e)))}),(0,a.jsx)(c.zt,{store:l,children:t})}},6641:function(e,t,r){"use strict";r.d(t,{E3:function(){return l},JV:function(){return i},OR:function(){return c},VT:function(){return u},k6:function(){return d},uI:function(){return s},xj:function(){return g}});var a=r(64),o=r(4402),n=r(3956);let l={autoUpdate:!0,updateInterval:1e4,selectedAggregator:o.Z[0],availableAggregators:o.Z,canRemoveSelected:!1},g=(0,a.oM)({name:"settings",initialState:l,reducers:{setUpdateInterval:(e,t)=>{e.updateInterval=t.payload},toggleAutoUpdate:e=>{e.autoUpdate=!e.autoUpdate},selectAggregator:(e,t)=>{if(!(0,n.checkUrl)(t.payload))return e;let r=e.availableAggregators.includes(t.payload)?e.availableAggregators:[...e.availableAggregators,t.payload];return{...e,selectedAggregator:t.payload,availableAggregators:r,canRemoveSelected:!o.Z.includes(t.payload)}},removeSelectedAggregator:e=>o.Z.includes(e.selectedAggregator)?e:{...e,selectedAggregator:e.availableAggregators.at(0),availableAggregators:e.availableAggregators.filter(t=>t!==e.selectedAggregator),canRemoveSelected:!o.Z.includes(e.availableAggregators.at(0))}}}),{setUpdateInterval:i,toggleAutoUpdate:s,selectAggregator:u,removeSelectedAggregator:c}=g.actions,d=e=>e.settings.selectedAggregator;g.reducer},3956:function(e){"use strict";let t=e=>e/1e6,r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return e.toLocaleString(void 0,{maximumFractionDigits:t})};e.exports={checkUrl:function(e){try{return new URL(e),!0}catch(e){return!1}},formatStake:function(e){let a=t(e),o=[{suffix:"B",value:1e9},{suffix:"M",value:1e6},{suffix:"K",value:1e3},{suffix:"",value:1}].find(e=>Math.abs(a)>=e.value-.001);return o?"".concat(r(a/o.value)).concat(o.suffix,"₳"):"".concat(r(a),"₳")},setChartJsDefaults:function(e){let t=["rgba(255, 99, 132, 0.2)","rgba(255, 159, 64, 0.2)","rgba(255, 205, 86, 0.2)","rgba(75, 192, 192, 0.2)","rgba(54, 162, 235, 0.2)","rgba(153, 102, 255, 0.2)","rgba(201, 203, 207, 0.2)"],r=["rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(54, 162, 235)","rgb(153, 102, 255)","rgb(201, 203, 207)"];e.defaults.plugins.legend.display=!1,e.defaults.elements.arc.backgroundColor=t,e.defaults.elements.arc.borderColor=r,e.defaults.elements.arc.borderWidth=1,e.defaults.elements.bar.backgroundColor=t,e.defaults.elements.bar.borderColor=r,e.defaults.elements.bar.borderWidth=1},toAda:t,formatCurrency:r}},1649:function(){},3453:function(e){e.exports={container:"explorer_container__e4y3J",main:"explorer_main__72BOO",footer:"explorer_footer__NDYaK",title:"explorer_title__4AQZM",code:"explorer_code__d9zj2",logo:"explorer_logo__qsx9l"}}},function(e){e.O(0,[129,807,141,282,971,596,744],function(){return e(e.s=4042)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/explorer/_next/static/EyUFJdTd5orUjPd82tDKW/_buildManifest.js b/explorer/_next/static/zQTcRuqaGQB3OGlrhVuSA/_buildManifest.js similarity index 100% rename from explorer/_next/static/EyUFJdTd5orUjPd82tDKW/_buildManifest.js rename to explorer/_next/static/zQTcRuqaGQB3OGlrhVuSA/_buildManifest.js diff --git a/explorer/_next/static/EyUFJdTd5orUjPd82tDKW/_ssgManifest.js b/explorer/_next/static/zQTcRuqaGQB3OGlrhVuSA/_ssgManifest.js similarity index 100% rename from explorer/_next/static/EyUFJdTd5orUjPd82tDKW/_ssgManifest.js rename to explorer/_next/static/zQTcRuqaGQB3OGlrhVuSA/_ssgManifest.js diff --git a/explorer/index.html b/explorer/index.html index 181d399bf3b..5e2a7c214d9 100644 --- a/explorer/index.html +++ b/explorer/index.html @@ -1 +1 @@ -Mithril Explorer \ No newline at end of file +Mithril Explorer \ No newline at end of file diff --git a/explorer/index.txt b/explorer/index.txt index f40c440b38a..0462bd6d7ea 100644 --- a/explorer/index.txt +++ b/explorer/index.txt @@ -1,10 +1,10 @@ 1:HL["/explorer/_next/static/css/2c1d032feccaff2e.css",{"as":"style"}] 2:HL["/explorer/_next/static/css/2621580816613dee.css",{"as":"style"}] 3:HL["/explorer/_next/static/css/287faeebe12881eb.css",{"as":"style"}] -0:["EyUFJdTd5orUjPd82tDKW",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/explorer/_next/static/css/2c1d032feccaff2e.css","precedence":"next"}],["$","link","1",{"rel":"stylesheet","href":"/explorer/_next/static/css/2621580816613dee.css","precedence":"next"}],["$","link","2",{"rel":"stylesheet","href":"/explorer/_next/static/css/287faeebe12881eb.css","precedence":"next"}]],"$L5"]]]] -6:I{"id":9978,"chunks":["807:static/chunks/807-e1413b697fac8928.js","141:static/chunks/141-f3567c4bd2d015ed.js","282:static/chunks/282-cca11ed2e1bf2527.js","185:static/chunks/app/layout-b2f3f32c1ee20ffe.js"],"name":"Providers","async":false} -7:I{"id":6685,"chunks":["807:static/chunks/807-e1413b697fac8928.js","141:static/chunks/141-f3567c4bd2d015ed.js","282:static/chunks/282-cca11ed2e1bf2527.js","185:static/chunks/app/layout-b2f3f32c1ee20ffe.js"],"name":"","async":false} -8:I{"id":3222,"chunks":["807:static/chunks/807-e1413b697fac8928.js","141:static/chunks/141-f3567c4bd2d015ed.js","282:static/chunks/282-cca11ed2e1bf2527.js","185:static/chunks/app/layout-b2f3f32c1ee20ffe.js"],"name":"Image","async":false} +0:["zQTcRuqaGQB3OGlrhVuSA",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/explorer/_next/static/css/2c1d032feccaff2e.css","precedence":"next"}],["$","link","1",{"rel":"stylesheet","href":"/explorer/_next/static/css/2621580816613dee.css","precedence":"next"}],["$","link","2",{"rel":"stylesheet","href":"/explorer/_next/static/css/287faeebe12881eb.css","precedence":"next"}]],"$L5"]]]] +6:I{"id":9978,"chunks":["807:static/chunks/807-e1413b697fac8928.js","141:static/chunks/141-f3567c4bd2d015ed.js","282:static/chunks/282-cca11ed2e1bf2527.js","185:static/chunks/app/layout-ae3847b9a9727968.js"],"name":"Providers","async":false} +7:I{"id":6685,"chunks":["807:static/chunks/807-e1413b697fac8928.js","141:static/chunks/141-f3567c4bd2d015ed.js","282:static/chunks/282-cca11ed2e1bf2527.js","185:static/chunks/app/layout-ae3847b9a9727968.js"],"name":"","async":false} +8:I{"id":3222,"chunks":["807:static/chunks/807-e1413b697fac8928.js","141:static/chunks/141-f3567c4bd2d015ed.js","282:static/chunks/282-cca11ed2e1bf2527.js","185:static/chunks/app/layout-ae3847b9a9727968.js"],"name":"Image","async":false} 9:I{"id":7767,"chunks":["272:static/chunks/webpack-eb05f9d5b1eb83df.js","971:static/chunks/fd9d1056-fd92732202b0c3ce.js","596:static/chunks/596-5c0060715e2d00ac.js"],"name":"default","async":false} a:I{"id":7920,"chunks":["272:static/chunks/webpack-eb05f9d5b1eb83df.js","971:static/chunks/fd9d1056-fd92732202b0c3ce.js","596:static/chunks/596-5c0060715e2d00ac.js"],"name":"default","async":false} c:I{"id":4839,"chunks":["272:static/chunks/webpack-eb05f9d5b1eb83df.js","971:static/chunks/fd9d1056-fd92732202b0c3ce.js","596:static/chunks/596-5c0060715e2d00ac.js"],"name":"default","async":false} diff --git a/explorer/registrations.html b/explorer/registrations.html index d6080377d2b..e66a73122c9 100644 --- a/explorer/registrations.html +++ b/explorer/registrations.html @@ -1 +1 @@ -Mithril Explorer \ No newline at end of file +Mithril Explorer \ No newline at end of file diff --git a/explorer/registrations.txt b/explorer/registrations.txt index ee051740724..bbe3291b9da 100644 --- a/explorer/registrations.txt +++ b/explorer/registrations.txt @@ -1,10 +1,10 @@ 1:HL["/explorer/_next/static/css/2c1d032feccaff2e.css",{"as":"style"}] 2:HL["/explorer/_next/static/css/2621580816613dee.css",{"as":"style"}] 3:HL["/explorer/_next/static/css/287faeebe12881eb.css",{"as":"style"}] -0:["EyUFJdTd5orUjPd82tDKW",[[["",{"children":["registrations",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/explorer/_next/static/css/2c1d032feccaff2e.css","precedence":"next"}],["$","link","1",{"rel":"stylesheet","href":"/explorer/_next/static/css/2621580816613dee.css","precedence":"next"}],["$","link","2",{"rel":"stylesheet","href":"/explorer/_next/static/css/287faeebe12881eb.css","precedence":"next"}]],"$L5"]]]] -6:I{"id":9978,"chunks":["807:static/chunks/807-e1413b697fac8928.js","141:static/chunks/141-f3567c4bd2d015ed.js","282:static/chunks/282-cca11ed2e1bf2527.js","185:static/chunks/app/layout-b2f3f32c1ee20ffe.js"],"name":"Providers","async":false} -7:I{"id":6685,"chunks":["807:static/chunks/807-e1413b697fac8928.js","141:static/chunks/141-f3567c4bd2d015ed.js","282:static/chunks/282-cca11ed2e1bf2527.js","185:static/chunks/app/layout-b2f3f32c1ee20ffe.js"],"name":"","async":false} -8:I{"id":3222,"chunks":["807:static/chunks/807-e1413b697fac8928.js","141:static/chunks/141-f3567c4bd2d015ed.js","282:static/chunks/282-cca11ed2e1bf2527.js","185:static/chunks/app/layout-b2f3f32c1ee20ffe.js"],"name":"Image","async":false} +0:["zQTcRuqaGQB3OGlrhVuSA",[[["",{"children":["registrations",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/explorer/_next/static/css/2c1d032feccaff2e.css","precedence":"next"}],["$","link","1",{"rel":"stylesheet","href":"/explorer/_next/static/css/2621580816613dee.css","precedence":"next"}],["$","link","2",{"rel":"stylesheet","href":"/explorer/_next/static/css/287faeebe12881eb.css","precedence":"next"}]],"$L5"]]]] +6:I{"id":9978,"chunks":["807:static/chunks/807-e1413b697fac8928.js","141:static/chunks/141-f3567c4bd2d015ed.js","282:static/chunks/282-cca11ed2e1bf2527.js","185:static/chunks/app/layout-ae3847b9a9727968.js"],"name":"Providers","async":false} +7:I{"id":6685,"chunks":["807:static/chunks/807-e1413b697fac8928.js","141:static/chunks/141-f3567c4bd2d015ed.js","282:static/chunks/282-cca11ed2e1bf2527.js","185:static/chunks/app/layout-ae3847b9a9727968.js"],"name":"","async":false} +8:I{"id":3222,"chunks":["807:static/chunks/807-e1413b697fac8928.js","141:static/chunks/141-f3567c4bd2d015ed.js","282:static/chunks/282-cca11ed2e1bf2527.js","185:static/chunks/app/layout-ae3847b9a9727968.js"],"name":"Image","async":false} 9:I{"id":7767,"chunks":["272:static/chunks/webpack-eb05f9d5b1eb83df.js","971:static/chunks/fd9d1056-fd92732202b0c3ce.js","596:static/chunks/596-5c0060715e2d00ac.js"],"name":"default","async":false} a:I{"id":7920,"chunks":["272:static/chunks/webpack-eb05f9d5b1eb83df.js","971:static/chunks/fd9d1056-fd92732202b0c3ce.js","596:static/chunks/596-5c0060715e2d00ac.js"],"name":"default","async":false} c:I{"id":4839,"chunks":["272:static/chunks/webpack-eb05f9d5b1eb83df.js","971:static/chunks/fd9d1056-fd92732202b0c3ce.js","596:static/chunks/596-5c0060715e2d00ac.js"],"name":"default","async":false} diff --git a/explorer/registrations/index.html b/explorer/registrations/index.html index d6080377d2b..e66a73122c9 100644 --- a/explorer/registrations/index.html +++ b/explorer/registrations/index.html @@ -1 +1 @@ -Mithril Explorer \ No newline at end of file +Mithril Explorer \ No newline at end of file diff --git a/explorer/registrations/index.txt b/explorer/registrations/index.txt index ee051740724..bbe3291b9da 100644 --- a/explorer/registrations/index.txt +++ b/explorer/registrations/index.txt @@ -1,10 +1,10 @@ 1:HL["/explorer/_next/static/css/2c1d032feccaff2e.css",{"as":"style"}] 2:HL["/explorer/_next/static/css/2621580816613dee.css",{"as":"style"}] 3:HL["/explorer/_next/static/css/287faeebe12881eb.css",{"as":"style"}] -0:["EyUFJdTd5orUjPd82tDKW",[[["",{"children":["registrations",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/explorer/_next/static/css/2c1d032feccaff2e.css","precedence":"next"}],["$","link","1",{"rel":"stylesheet","href":"/explorer/_next/static/css/2621580816613dee.css","precedence":"next"}],["$","link","2",{"rel":"stylesheet","href":"/explorer/_next/static/css/287faeebe12881eb.css","precedence":"next"}]],"$L5"]]]] -6:I{"id":9978,"chunks":["807:static/chunks/807-e1413b697fac8928.js","141:static/chunks/141-f3567c4bd2d015ed.js","282:static/chunks/282-cca11ed2e1bf2527.js","185:static/chunks/app/layout-b2f3f32c1ee20ffe.js"],"name":"Providers","async":false} -7:I{"id":6685,"chunks":["807:static/chunks/807-e1413b697fac8928.js","141:static/chunks/141-f3567c4bd2d015ed.js","282:static/chunks/282-cca11ed2e1bf2527.js","185:static/chunks/app/layout-b2f3f32c1ee20ffe.js"],"name":"","async":false} -8:I{"id":3222,"chunks":["807:static/chunks/807-e1413b697fac8928.js","141:static/chunks/141-f3567c4bd2d015ed.js","282:static/chunks/282-cca11ed2e1bf2527.js","185:static/chunks/app/layout-b2f3f32c1ee20ffe.js"],"name":"Image","async":false} +0:["zQTcRuqaGQB3OGlrhVuSA",[[["",{"children":["registrations",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/explorer/_next/static/css/2c1d032feccaff2e.css","precedence":"next"}],["$","link","1",{"rel":"stylesheet","href":"/explorer/_next/static/css/2621580816613dee.css","precedence":"next"}],["$","link","2",{"rel":"stylesheet","href":"/explorer/_next/static/css/287faeebe12881eb.css","precedence":"next"}]],"$L5"]]]] +6:I{"id":9978,"chunks":["807:static/chunks/807-e1413b697fac8928.js","141:static/chunks/141-f3567c4bd2d015ed.js","282:static/chunks/282-cca11ed2e1bf2527.js","185:static/chunks/app/layout-ae3847b9a9727968.js"],"name":"Providers","async":false} +7:I{"id":6685,"chunks":["807:static/chunks/807-e1413b697fac8928.js","141:static/chunks/141-f3567c4bd2d015ed.js","282:static/chunks/282-cca11ed2e1bf2527.js","185:static/chunks/app/layout-ae3847b9a9727968.js"],"name":"","async":false} +8:I{"id":3222,"chunks":["807:static/chunks/807-e1413b697fac8928.js","141:static/chunks/141-f3567c4bd2d015ed.js","282:static/chunks/282-cca11ed2e1bf2527.js","185:static/chunks/app/layout-ae3847b9a9727968.js"],"name":"Image","async":false} 9:I{"id":7767,"chunks":["272:static/chunks/webpack-eb05f9d5b1eb83df.js","971:static/chunks/fd9d1056-fd92732202b0c3ce.js","596:static/chunks/596-5c0060715e2d00ac.js"],"name":"default","async":false} a:I{"id":7920,"chunks":["272:static/chunks/webpack-eb05f9d5b1eb83df.js","971:static/chunks/fd9d1056-fd92732202b0c3ce.js","596:static/chunks/596-5c0060715e2d00ac.js"],"name":"default","async":false} c:I{"id":4839,"chunks":["272:static/chunks/webpack-eb05f9d5b1eb83df.js","971:static/chunks/fd9d1056-fd92732202b0c3ce.js","596:static/chunks/596-5c0060715e2d00ac.js"],"name":"default","async":false} diff --git a/rust-doc/implementors/core/convert/trait.From.js b/rust-doc/implementors/core/convert/trait.From.js index 8426ee8e4fd..58daadc435c 100644 --- a/rust-doc/implementors/core/convert/trait.From.js +++ b/rust-doc/implementors/core/convert/trait.From.js @@ -2,6 +2,6 @@ "mithril_aggregator":[["impl From<Certificate> for CertificateRecord"],["impl From<CertificateRecord> for Certificate"],["impl From<ConfigError> for DependenciesBuilderError"],["impl From<ExecutionEnvironment> for ValueKind"],["impl From<OpenMessageWithSingleSignaturesRecord> for OpenMessage"],["impl From<SignedEntityRecord> for Snapshot"],["impl From<ZstandardCompressionParameters> for SnapshotterCompressionAlgorithm"],["impl From<StoreError> for ProtocolError"],["impl From<ProtocolRegistrationErrorWrapper> for SignerRegistrationError"],["impl From<Error> for SnapshotError"],["impl From<ProtocolRegistrationErrorWrapper> for ProtocolError"],["impl From<OpenMessageRecord> for OpenMessage"],["impl From<StoreError> for SignerRegistrationError"],["impl From<SignerRegistrationRecord> for Signer"],["impl From<SignerRegistrationRecord> for SignerWithStake"],["impl From<OpenMessageWithSingleSignaturesRecord> for OpenMessageRecord"],["impl From<Error> for DependenciesBuilderError"],["impl From<EpochError> for ProtocolError"],["impl From<Error> for RuntimeError"]], "mithril_client":[["impl From<ProgressOutputType> for ProgressDrawTarget"],["impl From<MithrilStakeDistributionListItemMessage> for MithrilStakeDistributionListItem"],["impl From<SnapshotListItemMessage> for SnapshotListItem"]], "mithril_common":[["impl From<Signature> for ProtocolKey<Signature>"],["impl From<ProtocolKey<StmAggrVerificationKey<CoreWrapper<CtVariableCoreWrapper<Blake2bVarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, NoOid>>>>> for StmAggrVerificationKey<Blake2b<U32>>"],["impl From<Error> for ImmutableDigesterCacheGetError"],["impl From<Error> for ImmutableFileListingError"],["impl From<Error> for ImmutableDigesterCacheStoreError"],["impl From<StmParameters> for ProtocolParameters"],["impl From<ImmutableFileCreationError> for ImmutableFileListingError"],["impl From<ParseIntError> for ImmutableFileCreationError"],["impl From<SignerWithStake> for Signer"],["impl From<TxDatumFieldValue> for TxDatumFieldTypeName"],["impl From<ImmutableDigesterCacheGetError> for ImmutableDigesterCacheProviderError"],["impl From<Sum6KesSig> for ProtocolKey<Sum6KesSig>"],["impl From<OpCert> for ProtocolKey<OpCert>"],["impl From<Error> for ImmutableDigesterCacheStoreError"],["impl From<AdapterError> for StoreError"],["impl From<Error> for ProtocolGenesisError"],["impl From<ImmutableFileListingError> for ImmutableDigesterError"],["impl From<StmAggrVerificationKey<CoreWrapper<CtVariableCoreWrapper<Blake2bVarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, NoOid>>>> for ProtocolKey<StmAggrVerificationKey<Blake2b<U32>>>"],["impl From<StmSig> for ProtocolKey<StmSig>"],["impl From<ProtocolKey<Sum6KesSig>> for Sum6KesSig"],["impl From<MithrilFixture> for Vec<Signer>"],["impl From<ProtocolKey<Signature>> for Signature"],["impl From<VerifyingKey> for ProtocolKey<VerifyingKey>"],["impl From<ProtocolKey<VerifyingKey>> for VerifyingKey"],["impl From<Error> for ImmutableDigesterCacheGetError"],["impl From<SigningKey> for ProtocolKey<SigningKey>"],["impl From<ProtocolParameters> for ProtocolParameters"],["impl From<SignerWithStake> for SignerWithStakeMessagePart"],["impl From<MithrilFixture> for Vec<SignerWithStake>"],["impl<'_enum> From<&'_enum SignedEntityType> for SignedEntityTypeDiscriminants"],["impl From<ProtocolGenesisError> for CertificateVerifierError"],["impl From<Error> for ImmutableDigesterError"],["impl From<ProtocolKey<OpCert>> for OpCert"],["impl From<Error> for EraMarkersVerifierError"],["impl From<RegisterError> for ProtocolRegistrationErrorWrapper"],["impl<'_enum> From<&'_enum TxDatumFieldValue> for TxDatumFieldTypeName"],["impl From<MithrilFixture> for Vec<SignerFixture>"],["impl From<&SignerWithStake> for (ProtocolPartyId, ProtocolStake)"],["impl From<ProtocolKey<SigningKey>> for SigningKey"],["impl From<&SignerFixture> for SignerWithStake"],["impl From<ImmutableDigesterCacheStoreError> for ImmutableDigesterCacheProviderError"],["impl From<SignedEntityType> for SignedEntityTypeDiscriminants"],["impl From<ProtocolKey<StmSig>> for StmSig"],["impl From<SignerFixture> for SignerWithStake"],["impl From<VerificationKeyPoP> for ProtocolKey<StmVerificationKeyPoP>"],["impl From<ProtocolKey<StmAggrSig<CoreWrapper<CtVariableCoreWrapper<Blake2bVarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, NoOid>>>>> for StmAggrSig<Blake2b<U32>>"],["impl From<ImmutableFileListingError> for ImmutableFileObserverError"],["impl From<StmAggrSig<CoreWrapper<CtVariableCoreWrapper<Blake2bVarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, NoOid>>>> for ProtocolKey<StmAggrSig<Blake2b<U32>>>"],["impl From<ProtocolKey<VerificationKeyPoP>> for StmVerificationKeyPoP"]], -"mithril_signer":[["impl From<Error> for AggregatorClientError"],["impl From<EpochError> for RuntimeError"],["impl From<RunnerError> for RuntimeError"]], +"mithril_signer":[["impl From<Error> for AggregatorClientError"],["impl From<EpochError> for RuntimeError"],["impl From<RunnerError> for RuntimeError"]], "mithril_stm":[["impl From<AggregationError> for CoreVerifierError"],["impl<D: Clone + Digest + FixedOutput> From<&ClosedKeyReg<D>> for StmAggrVerificationKey<D>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/rust-doc/implementors/mithril_common/messages/interface/trait.FromMessageAdapter.js b/rust-doc/implementors/mithril_common/messages/interface/trait.FromMessageAdapter.js index 0c826cff86b..20741659273 100644 --- a/rust-doc/implementors/mithril_common/messages/interface/trait.FromMessageAdapter.js +++ b/rust-doc/implementors/mithril_common/messages/interface/trait.FromMessageAdapter.js @@ -1,4 +1,4 @@ (function() {var implementors = { "mithril_client":[["impl FromMessageAdapter<SnapshotMessage, SignedEntity<Snapshot>> for FromSnapshotMessageAdapter"]], -"mithril_signer":[["impl FromMessageAdapter<EpochSettingsMessage, EpochSettings> for FromEpochSettingsAdapter"]] +"mithril_signer":[["impl FromMessageAdapter<EpochSettingsMessage, EpochSettings> for FromEpochSettingsAdapter"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/rust-doc/implementors/mithril_common/messages/interface/trait.ToMessageAdapter.js b/rust-doc/implementors/mithril_common/messages/interface/trait.ToMessageAdapter.js index 71f7510ea6c..883df625b26 100644 --- a/rust-doc/implementors/mithril_common/messages/interface/trait.ToMessageAdapter.js +++ b/rust-doc/implementors/mithril_common/messages/interface/trait.ToMessageAdapter.js @@ -1,4 +1,4 @@ (function() {var implementors = { "mithril_aggregator":[["impl ToMessageAdapter<CertificatePending, CertificatePendingMessage> for ToCertificatePendingMessageAdapter"],["impl ToMessageAdapter<EpochSettings, EpochSettingsMessage> for ToEpochSettingsMessageAdapter"]], -"mithril_signer":[["impl ToMessageAdapter<(Epoch, Signer), RegisterSignerMessage> for ToRegisterSignerMessageAdapter"]] +"mithril_signer":[["impl ToMessageAdapter<(Epoch, Signer), RegisterSignerMessage> for ToRegisterSignerMessageAdapter"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/rust-doc/implementors/mithril_common/messages/interface/trait.TryFromMessageAdapter.js b/rust-doc/implementors/mithril_common/messages/interface/trait.TryFromMessageAdapter.js index 91e4f3b4667..12f09a99d4c 100644 --- a/rust-doc/implementors/mithril_common/messages/interface/trait.TryFromMessageAdapter.js +++ b/rust-doc/implementors/mithril_common/messages/interface/trait.TryFromMessageAdapter.js @@ -1,5 +1,5 @@ (function() {var implementors = { "mithril_aggregator":[["impl TryFromMessageAdapter<RegisterSignerMessage, Signer> for FromRegisterSignerAdapter"]], "mithril_client":[["impl TryFromMessageAdapter<CertificateMessage, Certificate> for FromCertificateMessageAdapter"]], -"mithril_signer":[["impl TryFromMessageAdapter<CertificatePendingMessage, CertificatePending> for FromPendingCertificateMessageAdapter"]] +"mithril_signer":[["impl TryFromMessageAdapter<CertificatePendingMessage, CertificatePending> for FromPendingCertificateMessageAdapter"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/rust-doc/implementors/mithril_common/store/store_pruner/trait.StorePruner.js b/rust-doc/implementors/mithril_common/store/store_pruner/trait.StorePruner.js index f4234b014d2..be81fb28f07 100644 --- a/rust-doc/implementors/mithril_common/store/store_pruner/trait.StorePruner.js +++ b/rust-doc/implementors/mithril_common/store/store_pruner/trait.StorePruner.js @@ -1,5 +1,5 @@ (function() {var implementors = { "mithril_aggregator":[["impl StorePruner for ProtocolParametersStore"]], "mithril_common":[], -"mithril_signer":[["impl StorePruner for ProtocolInitializerStore"]] +"mithril_signer":[["impl StorePruner for ProtocolInitializerStore"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/rust-doc/mithril_signer/database/migration/fn.get_migrations.html b/rust-doc/mithril_signer/database/migration/fn.get_migrations.html index 92ada7ab673..65ca886c2f8 100644 --- a/rust-doc/mithril_signer/database/migration/fn.get_migrations.html +++ b/rust-doc/mithril_signer/database/migration/fn.get_migrations.html @@ -1,4 +1,4 @@ -get_migrations in mithril_signer::database::migration - Rust
pub fn get_migrations() -> Vec<SqlMigration>
Expand description

Get all the migrations required by this version of the software. +get_migrations in mithril_signer::database::migration - Rust

pub fn get_migrations() -> Vec<SqlMigration>
Expand description

Get all the migrations required by this version of the software. There shall be one migration per database version. There could be several statements per migration.

\ No newline at end of file diff --git a/rust-doc/mithril_signer/enum.RunnerError.html b/rust-doc/mithril_signer/enum.RunnerError.html index 61b1291b865..d109d0d3693 100644 --- a/rust-doc/mithril_signer/enum.RunnerError.html +++ b/rust-doc/mithril_signer/enum.RunnerError.html @@ -1,12 +1,12 @@ RunnerError in mithril_signer - Rust
pub enum RunnerError {
     NoValueError(String),
     NoStakeForSelf(),
-    NoStakeForSigner(PartyId),
+    NoStakeForSigner(PartyId),
     FileParse(String),
 }
Expand description

This type represents the errors thrown from the Runner.

Variants§

§

NoValueError(String)

Value was expected from a subsystem but None was returned.

§

NoStakeForSelf()

Could not associate my node with a stake.

-
§

NoStakeForSigner(PartyId)

Could not find the stake for one of the signers.

+
§

NoStakeForSigner(PartyId)

Could not find the stake for one of the signers.

§

FileParse(String)

Parse file error

Trait Implementations§

source§

impl Clone for RunnerError

source§

fn clone(&self) -> RunnerError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RunnerError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for RunnerError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for RunnerError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<RunnerError> for RuntimeError

source§

fn from(value: RunnerError) -> Self

Converts to this type from the input type.
source§

impl PartialEq<RunnerError> for RunnerError

source§

fn eq(&self, other: &RunnerError) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always diff --git a/rust-doc/mithril_signer/enum.RuntimeError.html b/rust-doc/mithril_signer/enum.RuntimeError.html index d7ee5daf8a0..aac72380a14 100644 --- a/rust-doc/mithril_signer/enum.RuntimeError.html +++ b/rust-doc/mithril_signer/enum.RuntimeError.html @@ -1,24 +1,24 @@ RuntimeError in mithril_signer - Rust
pub enum RuntimeError {
     KeepState {
         message: String,
-        nested_error: Option<StdError>,
+        nested_error: Option<StdError>,
     },
     Critical {
         message: String,
-        nested_error: Option<StdError>,
+        nested_error: Option<StdError>,
     },
 }
Expand description

RuntimeError Error kinds tied to their faith in the state machine.

Variants§

§

KeepState

Fields

§message: String

Context error message

-
§nested_error: Option<StdError>

Eventual previous error message

+
§nested_error: Option<StdError>

Eventual previous error message

KeepState error means the runtime will keep its state and try to cycle again.

§

Critical

Fields

§message: String

Context error message

-
§nested_error: Option<StdError>

Eventual previous error message

+
§nested_error: Option<StdError>

Eventual previous error message

Critical error means the runtime will exit and the software will return an error code.

Implementations§

source§

impl RuntimeError

source

pub fn is_critical(&self) -> bool

Easy matching Critical errors.

-

Trait Implementations§

source§

impl Debug for RuntimeError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for RuntimeError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for RuntimeError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<EpochError> for RuntimeError

source§

fn from(value: EpochError) -> Self

Converts to this type from the input type.
source§

impl From<RunnerError> for RuntimeError

source§

fn from(value: RunnerError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Debug for RuntimeError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for RuntimeError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for RuntimeError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<EpochError> for RuntimeError

source§

fn from(value: EpochError) -> Self

Converts to this type from the input type.
source§

impl From<RunnerError> for RuntimeError

source§

fn from(value: RunnerError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Any for Twhere T: Any,

§

fn into_any(self: Box<T, Global>) -> Box<dyn Any, Global>

§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

§

fn type_name(&self) -> &'static str

§

impl<T> AnySync for Twhere T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

source§

impl<T> Az for T

source§

fn az<Dst>(self) -> Dstwhere diff --git a/rust-doc/mithril_signer/enum.SignerState.html b/rust-doc/mithril_signer/enum.SignerState.html index 62280f704b5..cf016230a59 100644 --- a/rust-doc/mithril_signer/enum.SignerState.html +++ b/rust-doc/mithril_signer/enum.SignerState.html @@ -1,25 +1,25 @@ SignerState in mithril_signer - Rust
pub enum SignerState {
     Init,
     Unregistered {
-        epoch: Epoch,
+        epoch: Epoch,
     },
     Registered {
-        epoch: Epoch,
+        epoch: Epoch,
     },
     Signed {
-        epoch: Epoch,
-        signed_entity_type: SignedEntityType,
+        epoch: Epoch,
+        signed_entity_type: SignedEntityType,
     },
 }
Expand description

Different possible states of the state machine.

Variants§

§

Init

Starting state

-
§

Unregistered

Fields

§epoch: Epoch

Current Epoch

+
§

Unregistered

Fields

§epoch: Epoch

Current Epoch

Hold the latest known epoch in order to help synchronisation with the aggregator

-
§

Registered

Fields

§epoch: Epoch

Epoch when Signer may sign.

+
§

Registered

Fields

§epoch: Epoch

Epoch when Signer may sign.

Registered state. The Signer has successfuly registered against the Aggregator for this Epoch, it is now able to sign.

-
§

Signed

Fields

§epoch: Epoch

Epoch when Signer signed.

-
§signed_entity_type: SignedEntityType

Entity type that is signed

+
§

Signed

Fields

§epoch: Epoch

Epoch when Signer signed.

+
§signed_entity_type: SignedEntityType

Entity type that is signed

Signed state. The Signer has signed the message for the current pending certificate.

Implementations§

source§

impl SignerState

source

pub fn is_init(&self) -> bool

Returns true if the state in Init

diff --git a/rust-doc/mithril_signer/enum.SingleSignerError.html b/rust-doc/mithril_signer/enum.SingleSignerError.html index 6ad21f0617a..7b7f5ae20b6 100644 --- a/rust-doc/mithril_signer/enum.SingleSignerError.html +++ b/rust-doc/mithril_signer/enum.SingleSignerError.html @@ -1,11 +1,11 @@ SingleSignerError in mithril_signer - Rust
pub enum SingleSignerError {
     ProtocolSignerCreationFailure(String),
-    SignatureFailed(StdError),
-    AggregateVerificationKeyComputationFailed(StdError),
+    SignatureFailed(StdError),
+    AggregateVerificationKeyComputationFailed(StdError),
 }
Expand description

SingleSigner error structure.

Variants§

§

ProtocolSignerCreationFailure(String)

Cryptographic Signer creation error.

-
§

SignatureFailed(StdError)

Signature Error

-
§

AggregateVerificationKeyComputationFailed(StdError)

Avk computation Error

+
§

SignatureFailed(StdError)

Signature Error

+
§

AggregateVerificationKeyComputationFailed(StdError)

Avk computation Error

Trait Implementations§

source§

impl Debug for SingleSignerError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for SingleSignerError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for SingleSignerError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Any for Twhere T: Any,

§

fn into_any(self: Box<T, Global>) -> Box<dyn Any, Global>

§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

§

fn type_name(&self) -> &'static str

§

impl<T> AnySync for Twhere diff --git a/rust-doc/mithril_signer/index.html b/rust-doc/mithril_signer/index.html index 093770cc23b..df38175a5b2 100644 --- a/rust-doc/mithril_signer/index.html +++ b/rust-doc/mithril_signer/index.html @@ -5,7 +5,7 @@ for more information on how it works.

Modules

  • database module. This module contains the entities definition tied with database -representation with their associated providers.

Structs

Enums

Structs

Enums

Traits

  • Trait for mocking and testing a AggregatorClient
  • Store the ProtocolInitializer used for each Epoch. This is useful because protocol parameters and stake distribution change over time.
  • This trait is mainly intended for mocking.
  • The ServiceBuilder is intended to manage Services instance creation. The goal of this is to put all this code out of the way of business code.
  • The SingleSigner is the structure responsible of issuing SingleSignatures.
\ No newline at end of file diff --git a/rust-doc/mithril_signer/struct.AggregatorHTTPClient.html b/rust-doc/mithril_signer/struct.AggregatorHTTPClient.html index 2330fd49f2f..b44b72633b5 100644 --- a/rust-doc/mithril_signer/struct.AggregatorHTTPClient.html +++ b/rust-doc/mithril_signer/struct.AggregatorHTTPClient.html @@ -2,7 +2,7 @@

Implementations§

source§

impl AggregatorHTTPClient

source

pub fn new( aggregator_endpoint: String, relay_endpoint: Option<String>, - api_version_provider: Arc<APIVersionProvider> + api_version_provider: Arc<APIVersionProvider> ) -> Self

AggregatorHTTPClient factory

source

pub fn prepare_request_builder( &self, @@ -10,23 +10,23 @@ ) -> RequestBuilder

Forge a client request adding protocol version in the headers.

Trait Implementations§

source§

impl AggregatorClient for AggregatorHTTPClient

source§

fn retrieve_epoch_settings<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<Option<EpochSettings>, AggregatorClientError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Option<EpochSettings>, AggregatorClientError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Retrieves epoch settings from the aggregator
source§

fn retrieve_pending_certificate<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<Option<CertificatePending>, AggregatorClientError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Option<CertificatePending>, AggregatorClientError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Retrieves a pending certificate from the aggregator
source§

fn register_signer<'life0, 'life1, 'async_trait>( &'life0 self, - epoch: Epoch, - signer: &'life1 Signer + epoch: Epoch, + signer: &'life1 Signer ) -> Pin<Box<dyn Future<Output = Result<(), AggregatorClientError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Registers signer with the aggregator.
source§

fn register_signatures<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - signed_entity_type: &'life1 SignedEntityType, - signatures: &'life2 SingleSignatures + signed_entity_type: &'life1 SignedEntityType, + signatures: &'life2 SingleSignatures ) -> Pin<Box<dyn Future<Output = Result<(), AggregatorClientError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, diff --git a/rust-doc/mithril_signer/struct.Configuration.html b/rust-doc/mithril_signer/struct.Configuration.html index b54a760e59b..3ea6a6fb31a 100644 --- a/rust-doc/mithril_signer/struct.Configuration.html +++ b/rust-doc/mithril_signer/struct.Configuration.html @@ -5,7 +5,7 @@ pub network: String, pub aggregator_endpoint: String, pub relay_endpoint: Option<String>, - pub party_id: Option<PartyId>, + pub party_id: Option<PartyId>, pub run_interval: u64, pub db_directory: PathBuf, pub data_stores_directory: PathBuf, @@ -14,7 +14,7 @@ pub operational_certificate_path: Option<PathBuf>, pub disable_digests_cache: bool, pub reset_digests_cache: bool, - pub era_reader_adapter_type: EraReaderAdapterType, + pub era_reader_adapter_type: EraReaderAdapterType, pub era_reader_adapter_params: Option<String>,

}
Expand description

Client configuration

Fields§

§cardano_cli_path: PathBuf

Cardano CLI tool path

@@ -25,7 +25,7 @@
§network: String

Cardano network

§aggregator_endpoint: String

Aggregator endpoint

§relay_endpoint: Option<String>

Relay endpoint

-
§party_id: Option<PartyId>

Party Id

+
§party_id: Option<PartyId>

Party Id

§run_interval: u64

Run Interval

§db_directory: PathBuf

Directory to snapshot

§data_stores_directory: PathBuf

Directory to store signer data (Stakes, Protocol initializers, …)

@@ -35,15 +35,15 @@
§disable_digests_cache: bool

Disable immutables digests cache.

§reset_digests_cache: bool

If set the existing immutables digests cache will be reset.

Will be ignored if set in conjunction with disable_digests_cache.

-
§era_reader_adapter_type: EraReaderAdapterType

Era reader adapter type

+
§era_reader_adapter_type: EraReaderAdapterType

Era reader adapter type

§era_reader_adapter_params: Option<String>

Era reader adapter parameters

-

Implementations§

source§

impl Configuration

source

pub fn get_network(&self) -> Result<CardanoNetwork, ConfigError>

Return the CardanoNetwork value from the configuration.

+

Implementations§

source§

impl Configuration

source

pub fn get_network(&self) -> Result<CardanoNetwork, ConfigError>

Return the CardanoNetwork value from the configuration.

source

pub fn get_sqlite_file(&self) -> PathBuf

Create the SQL store directory if not exist and return the path of the SQLite3 file.

source

pub fn build_era_reader_adapter( &self, - chain_observer: Arc<dyn ChainObserver> -) -> StdResult<Arc<dyn EraReaderAdapter>>

Create era reader adapter from configuration settings.

+ chain_observer: Arc<dyn ChainObserver> +) -> StdResult<Arc<dyn EraReaderAdapter>>

Create era reader adapter from configuration settings.

Trait Implementations§

source§

impl Clone for Configuration

source§

fn clone(&self) -> Configuration

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Configuration

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Configuration

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for Configuration

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl RefUnwindSafe for Configuration

§

impl Send for Configuration

§

impl Sync for Configuration

§

impl Unpin for Configuration

§

impl UnwindSafe for Configuration

Blanket Implementations§

source§

impl<T> Any for Twhere diff --git a/rust-doc/mithril_signer/struct.FromEpochSettingsAdapter.html b/rust-doc/mithril_signer/struct.FromEpochSettingsAdapter.html index cc353edc20f..4f7e90cf792 100644 --- a/rust-doc/mithril_signer/struct.FromEpochSettingsAdapter.html +++ b/rust-doc/mithril_signer/struct.FromEpochSettingsAdapter.html @@ -1,5 +1,5 @@ -FromEpochSettingsAdapter in mithril_signer - Rust
pub struct FromEpochSettingsAdapter;
Expand description

Adapter to convert EpochSettingsMessage to EpochSettings.

-

Trait Implementations§

source§

impl FromMessageAdapter<EpochSettingsMessage, EpochSettings> for FromEpochSettingsAdapter

source§

fn adapt(message: EpochSettingsMessage) -> EpochSettings

Method to convert.

+FromEpochSettingsAdapter in mithril_signer - Rust
pub struct FromEpochSettingsAdapter;
Expand description

Adapter to convert [EpochSettingsMessage] to [EpochSettings].

+

Trait Implementations§

source§

impl FromMessageAdapter<EpochSettingsMessage, EpochSettings> for FromEpochSettingsAdapter

source§

fn adapt(message: EpochSettingsMessage) -> EpochSettings

Method to convert.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Any for Twhere T: Any,

§

fn into_any(self: Box<T, Global>) -> Box<dyn Any, Global>

§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

§

fn type_name(&self) -> &'static str

§

impl<T> AnySync for Twhere diff --git a/rust-doc/mithril_signer/struct.FromPendingCertificateMessageAdapter.html b/rust-doc/mithril_signer/struct.FromPendingCertificateMessageAdapter.html index 805858f66c4..d3029d26fb4 100644 --- a/rust-doc/mithril_signer/struct.FromPendingCertificateMessageAdapter.html +++ b/rust-doc/mithril_signer/struct.FromPendingCertificateMessageAdapter.html @@ -1,7 +1,7 @@ -FromPendingCertificateMessageAdapter in mithril_signer - Rust
pub struct FromPendingCertificateMessageAdapter;
Expand description

Adapter to turn CertificatePendingMessage instances into CertificatePending.

-

Trait Implementations§

source§

impl TryFromMessageAdapter<CertificatePendingMessage, CertificatePending> for FromPendingCertificateMessageAdapter

source§

fn try_adapt( - message: CertificatePendingMessage -) -> StdResult<CertificatePending>

Adapter method

+FromPendingCertificateMessageAdapter in mithril_signer - Rust
pub struct FromPendingCertificateMessageAdapter;
Expand description

Adapter to turn [CertificatePendingMessage] instances into [CertificatePending].

+

Trait Implementations§

source§

impl TryFromMessageAdapter<CertificatePendingMessage, CertificatePending> for FromPendingCertificateMessageAdapter

source§

fn try_adapt( + message: CertificatePendingMessage +) -> StdResult<CertificatePending>

Adapter method

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Any for Twhere T: Any,

§

fn into_any(self: Box<T, Global>) -> Box<dyn Any, Global>

§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

§

fn type_name(&self) -> &'static str

§

impl<T> AnySync for Twhere diff --git a/rust-doc/mithril_signer/struct.MithrilProtocolInitializerBuilder.html b/rust-doc/mithril_signer/struct.MithrilProtocolInitializerBuilder.html index f0eb2407aa0..853b2b1d1ce 100644 --- a/rust-doc/mithril_signer/struct.MithrilProtocolInitializerBuilder.html +++ b/rust-doc/mithril_signer/struct.MithrilProtocolInitializerBuilder.html @@ -1,10 +1,10 @@ MithrilProtocolInitializerBuilder in mithril_signer - Rust
pub struct MithrilProtocolInitializerBuilder {}
Expand description

This is responsible of creating new instances of ProtocolInitializer.

Implementations§

source§

impl MithrilProtocolInitializerBuilder

source

pub fn build( - stake: &Stake, - protocol_parameters: &ProtocolParameters, + stake: &Stake, + protocol_parameters: &ProtocolParameters, kes_secret_key_path: Option<PathBuf>, - kes_period: Option<KESPeriod> -) -> Result<ProtocolInitializer, ProtocolInitializerError>

Create a ProtocolInitializer instance.

+ kes_period: Option<KESPeriod> +) -> Result<ProtocolInitializer, ProtocolInitializerError>

Create a ProtocolInitializer instance.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Any for Twhere T: Any,

§

fn into_any(self: Box<T, Global>) -> Box<dyn Any, Global>

§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

§

fn type_name(&self) -> &'static str

§

impl<T> AnySync for Twhere diff --git a/rust-doc/mithril_signer/struct.MithrilSingleSigner.html b/rust-doc/mithril_signer/struct.MithrilSingleSigner.html index cc752f27d73..4284f5d0bf3 100644 --- a/rust-doc/mithril_signer/struct.MithrilSingleSigner.html +++ b/rust-doc/mithril_signer/struct.MithrilSingleSigner.html @@ -1,17 +1,17 @@ MithrilSingleSigner in mithril_signer - Rust
pub struct MithrilSingleSigner { /* private fields */ }
Expand description

Implementation of the SingleSigner.

-

Implementations§

source§

impl MithrilSingleSigner

source

pub fn new(party_id: PartyId) -> Self

Create a new instance of the MithrilSingleSigner.

+

Implementations§

source§

impl MithrilSingleSigner

source

pub fn new(party_id: PartyId) -> Self

Create a new instance of the MithrilSingleSigner.

Trait Implementations§

source§

impl SingleSigner for MithrilSingleSigner

source§

fn compute_aggregate_verification_key( &self, - signers_with_stake: &[SignerWithStake], - protocol_initializer: &ProtocolInitializer -) -> StdResult<Option<String>>

Compute aggregate verification key from stake distribution

-
source§

fn get_party_id(&self) -> PartyId

Get party id

+ signers_with_stake: &[SignerWithStake], + protocol_initializer: &ProtocolInitializer +) -> StdResult<Option<String>>

Compute aggregate verification key from stake distribution

+
source§

fn get_party_id(&self) -> PartyId

Get party id

source§

fn compute_single_signatures( &self, - protocol_message: &ProtocolMessage, - signers_with_stake: &[SignerWithStake], - protocol_initializer: &ProtocolInitializer -) -> StdResult<Option<SingleSignatures>>

Computes single signatures

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + protocol_message: &ProtocolMessage, + signers_with_stake: &[SignerWithStake], + protocol_initializer: &ProtocolInitializer +) -> StdResult<Option<SingleSignatures>>

Computes single signatures

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Any for Twhere T: Any,

§

fn into_any(self: Box<T, Global>) -> Box<dyn Any, Global>

§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

§

fn type_name(&self) -> &'static str

§

impl<T> AnySync for Twhere T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

source§

impl<T> Az for T

source§

fn az<Dst>(self) -> Dstwhere diff --git a/rust-doc/mithril_signer/struct.ProductionServiceBuilder.html b/rust-doc/mithril_signer/struct.ProductionServiceBuilder.html index bf0a2ba04f4..b2665fc24df 100644 --- a/rust-doc/mithril_signer/struct.ProductionServiceBuilder.html +++ b/rust-doc/mithril_signer/struct.ProductionServiceBuilder.html @@ -2,15 +2,15 @@

Implementations§

source§

impl<'a> ProductionServiceBuilder<'a>

source

pub fn new(config: &'a Configuration) -> Self

Create a new production service builder.

source

pub fn override_immutable_file_observer_builder( &mut self, - builder: fn(_: &Configuration) -> StdResult<Arc<dyn ImmutableFileObserver>> + builder: fn(_: &Configuration) -> StdResult<Arc<dyn ImmutableFileObserver>> ) -> &mut Self

Override immutable file observer builder.

source

pub fn override_chain_observer_builder( &mut self, - builder: fn(_: &Configuration) -> StdResult<Arc<dyn ChainObserver>> + builder: fn(_: &Configuration) -> StdResult<Arc<dyn ChainObserver>> ) -> &mut Self

Override default chain observer builder.

Trait Implementations§

source§

impl<'a> ServiceBuilder for ProductionServiceBuilder<'a>

source§

fn build<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = StdResult<SignerServices>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = StdResult<SignerServices>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Build a Services for the Production environment.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere diff --git a/rust-doc/mithril_signer/struct.ProtocolInitializerStore.html b/rust-doc/mithril_signer/struct.ProtocolInitializerStore.html index 438baaa1bb8..260cb6c1a30 100644 --- a/rust-doc/mithril_signer/struct.ProtocolInitializerStore.html +++ b/rust-doc/mithril_signer/struct.ProtocolInitializerStore.html @@ -1,29 +1,29 @@ ProtocolInitializerStore in mithril_signer - Rust
pub struct ProtocolInitializerStore { /* private fields */ }
Expand description

Implementation of the ProtocolInitializerStorer

Implementations§

source§

impl ProtocolInitializerStore

source

pub fn new( - adapter: Box<dyn StoreAdapter<Key = Epoch, Record = ProtocolInitializer>>, + adapter: Box<dyn StoreAdapter<Key = Epoch, Record = ProtocolInitializer>>, retention_limit: Option<usize> ) -> Self

Create a new ProtocolInitializerStore.

Trait Implementations§

source§

impl ProtocolInitializerStorer for ProtocolInitializerStore

source§

fn save_protocol_initializer<'life0, 'async_trait>( &'life0 self, - epoch: Epoch, - protocol_initializer: ProtocolInitializer -) -> Pin<Box<dyn Future<Output = Result<Option<ProtocolInitializer>, StoreError>> + Send + 'async_trait>>where + epoch: Epoch, + protocol_initializer: ProtocolInitializer +) -> Pin<Box<dyn Future<Output = Result<Option<ProtocolInitializer>, StoreError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Save a protocol initializer for the given Epoch.
source§

fn get_protocol_initializer<'life0, 'async_trait>( &'life0 self, - epoch: Epoch -) -> Pin<Box<dyn Future<Output = Result<Option<ProtocolInitializer>, StoreError>> + Send + 'async_trait>>where + epoch: Epoch +) -> Pin<Box<dyn Future<Output = Result<Option<ProtocolInitializer>, StoreError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Fetch a protocol initializer if any saved for the given Epoch.
source§

fn get_last_protocol_initializer<'life0, 'async_trait>( &'life0 self, last: usize -) -> Pin<Box<dyn Future<Output = Result<Vec<(Epoch, ProtocolInitializer)>, StoreError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Vec<(Epoch, ProtocolInitializer)>, StoreError>> + Send + 'async_trait>>where Self: 'async_trait, - 'life0: 'async_trait,

Return the list of the N last saved protocol initializers if any.
source§

impl StorePruner for ProtocolInitializerStore

§

type Key = Epoch

The key type
§

type Record = StmInitializerWrapper

The record type
source§

fn get_adapter( + 'life0: 'async_trait,

Return the list of the N last saved protocol initializers if any.
source§

impl StorePruner for ProtocolInitializerStore

§

type Key = Epoch

The key type
§

type Record = StmInitializerWrapper

The record type
source§

fn get_adapter( &self -) -> &RwLock<Box<dyn StoreAdapter<Key = Self::Key, Record = Self::Record>>>

This trait requires a way to get the internal adapter.
source§

fn get_max_records(&self) -> Option<usize>

Return the maximum number of elements that can exist in this store. If None, there is no limit.
source§

fn prune<'life0, 'async_trait>( +) -> &RwLock<Box<dyn StoreAdapter<Key = Self::Key, Record = Self::Record>>>

This trait requires a way to get the internal adapter.
source§

fn get_max_records(&self) -> Option<usize>

Return the maximum number of elements that can exist in this store. If None, there is no limit.
§

fn prune<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<(), StoreError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), StoreError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: Sync + 'async_trait,

Prune elements exceeding the specified limit.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Any for Twhere diff --git a/rust-doc/mithril_signer/struct.SignerRunner.html b/rust-doc/mithril_signer/struct.SignerRunner.html index d38b6434c09..9da79aa153f 100644 --- a/rust-doc/mithril_signer/struct.SignerRunner.html +++ b/rust-doc/mithril_signer/struct.SignerRunner.html @@ -2,70 +2,70 @@

Implementations§

source§

impl SignerRunner

source

pub fn new(config: Configuration, services: SignerServices) -> Self

Create a new Runner instance.

Trait Implementations§

source§

impl Runner for SignerRunner

source§

fn get_epoch_settings<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = StdResult<Option<EpochSettings>>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = StdResult<Option<EpochSettings>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Fetch the current epoch settings if any.
source§

fn get_pending_certificate<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = StdResult<Option<CertificatePending>>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = StdResult<Option<CertificatePending>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Fetch the current pending certificate if any.
source§

fn get_current_beacon<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = StdResult<Beacon>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = StdResult<Beacon>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Fetch the current beacon from the Cardano node.
source§

fn register_signer_to_aggregator<'life0, 'life1, 'async_trait>( &'life0 self, - epoch: Epoch, - protocol_parameters: &'life1 ProtocolParameters -) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>where + epoch: Epoch, + protocol_parameters: &'life1 ProtocolParameters +) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Register the signer verification key to the aggregator.
source§

fn update_stake_distribution<'life0, 'async_trait>( &'life0 self, - epoch: Epoch -) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>where + epoch: Epoch +) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Read the stake distribution and store it.
source§

fn can_i_sign<'life0, 'life1, 'async_trait>( &'life0 self, - pending_certificate: &'life1 CertificatePending -) -> Pin<Box<dyn Future<Output = StdResult<bool>> + Send + 'async_trait>>where + pending_certificate: &'life1 CertificatePending +) -> Pin<Box<dyn Future<Output = StdResult<bool>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Check if all prerequisites for signing are met.
source§

fn associate_signers_with_stake<'life0, 'life1, 'async_trait>( &'life0 self, - epoch: Epoch, - signers: &'life1 [Signer] -) -> Pin<Box<dyn Future<Output = StdResult<Vec<SignerWithStake>>> + Send + 'async_trait>>where + epoch: Epoch, + signers: &'life1 [Signer] +) -> Pin<Box<dyn Future<Output = StdResult<Vec<SignerWithStake>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

From a list of signers, associate them with the stake read on the Cardano node.
source§

fn compute_message<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - signed_entity_type: &'life1 SignedEntityType, - next_signers: &'life2 [SignerWithStake] -) -> Pin<Box<dyn Future<Output = StdResult<ProtocolMessage>> + Send + 'async_trait>>where + signed_entity_type: &'life1 SignedEntityType, + next_signers: &'life2 [SignerWithStake] +) -> Pin<Box<dyn Future<Output = StdResult<ProtocolMessage>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Create the message to be signed with the single signature.
source§

fn compute_single_signature<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - epoch: Epoch, - message: &'life1 ProtocolMessage, - signers: &'life2 [SignerWithStake] -) -> Pin<Box<dyn Future<Output = StdResult<Option<SingleSignatures>>> + Send + 'async_trait>>where + epoch: Epoch, + message: &'life1 ProtocolMessage, + signers: &'life2 [SignerWithStake] +) -> Pin<Box<dyn Future<Output = StdResult<Option<SingleSignatures>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Create the single signature.
source§

fn send_single_signature<'life0, 'life1, 'async_trait>( &'life0 self, - signed_entity_type: &'life1 SignedEntityType, - maybe_signature: Option<SingleSignatures> -) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>where + signed_entity_type: &'life1 SignedEntityType, + maybe_signature: Option<SingleSignatures> +) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Send the single signature to the aggregator in order to be aggregated.
source§

fn update_era_checker<'life0, 'async_trait>( &'life0 self, - epoch: Epoch -) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>where + epoch: Epoch +) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Read the current era and update the EraChecker.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Any for Twhere diff --git a/rust-doc/mithril_signer/struct.SignerServices.html b/rust-doc/mithril_signer/struct.SignerServices.html index a91dc381dd4..0e110404ec3 100644 --- a/rust-doc/mithril_signer/struct.SignerServices.html +++ b/rust-doc/mithril_signer/struct.SignerServices.html @@ -1,27 +1,27 @@ SignerServices in mithril_signer - Rust
pub struct SignerServices {
-    pub beacon_provider: Arc<dyn BeaconProvider>,
-    pub stake_store: Arc<StakeStore>,
+    pub beacon_provider: Arc<dyn BeaconProvider>,
+    pub stake_store: Arc<StakeStore>,
     pub certificate_handler: Arc<dyn AggregatorClient>,
-    pub chain_observer: Arc<dyn ChainObserver>,
-    pub digester: Arc<dyn ImmutableDigester>,
+    pub chain_observer: Arc<dyn ChainObserver>,
+    pub digester: Arc<dyn ImmutableDigester>,
     pub single_signer: Arc<dyn SingleSigner>,
     pub protocol_initializer_store: Arc<dyn ProtocolInitializerStorer>,
-    pub era_checker: Arc<EraChecker>,
-    pub era_reader: Arc<EraReader>,
-    pub api_version_provider: Arc<APIVersionProvider>,
-    pub signable_builder_service: Arc<dyn SignableBuilderService>,
+    pub era_checker: Arc<EraChecker>,
+    pub era_reader: Arc<EraReader>,
+    pub api_version_provider: Arc<APIVersionProvider>,
+    pub signable_builder_service: Arc<dyn SignableBuilderService>,
 }
Expand description

This structure groups all the services required by the state machine.

-

Fields§

§beacon_provider: Arc<dyn BeaconProvider>

Beacon provider service

-
§stake_store: Arc<StakeStore>

Stake store service

+

Fields§

§beacon_provider: Arc<dyn BeaconProvider>

Beacon provider service

+
§stake_store: Arc<StakeStore>

Stake store service

§certificate_handler: Arc<dyn AggregatorClient>

Certificate handler service

-
§chain_observer: Arc<dyn ChainObserver>

Chain Observer service

-
§digester: Arc<dyn ImmutableDigester>

Digester service

+
§chain_observer: Arc<dyn ChainObserver>

Chain Observer service

+
§digester: Arc<dyn ImmutableDigester>

Digester service

§single_signer: Arc<dyn SingleSigner>

SingleSigner service

§protocol_initializer_store: Arc<dyn ProtocolInitializerStorer>

ProtocolInitializer store

-
§era_checker: Arc<EraChecker>

Era checker service

-
§era_reader: Arc<EraReader>

Era reader service

-
§api_version_provider: Arc<APIVersionProvider>

API version provider

-
§signable_builder_service: Arc<dyn SignableBuilderService>

Signable Builder Service

+
§era_checker: Arc<EraChecker>

Era checker service

+
§era_reader: Arc<EraReader>

Era reader service

+
§api_version_provider: Arc<APIVersionProvider>

API version provider

+
§signable_builder_service: Arc<dyn SignableBuilderService>

Signable Builder Service

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Any for Twhere T: Any,

§

fn into_any(self: Box<T, Global>) -> Box<dyn Any, Global>

§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

§

fn type_name(&self) -> &'static str

§

impl<T> AnySync for Twhere diff --git a/rust-doc/mithril_signer/struct.ToRegisterSignerMessageAdapter.html b/rust-doc/mithril_signer/struct.ToRegisterSignerMessageAdapter.html index 3549975c4ac..609bda9019d 100644 --- a/rust-doc/mithril_signer/struct.ToRegisterSignerMessageAdapter.html +++ b/rust-doc/mithril_signer/struct.ToRegisterSignerMessageAdapter.html @@ -1,5 +1,5 @@ -ToRegisterSignerMessageAdapter in mithril_signer - Rust
pub struct ToRegisterSignerMessageAdapter;
Expand description

Adapter to create RegisterSignerMessage from Signer instance.

-

Trait Implementations§

source§

impl ToMessageAdapter<(Epoch, Signer), RegisterSignerMessage> for ToRegisterSignerMessageAdapter

source§

fn adapt((epoch, signer): (Epoch, Signer)) -> RegisterSignerMessage

Method to trigger the conversion.

+ToRegisterSignerMessageAdapter in mithril_signer - Rust
pub struct ToRegisterSignerMessageAdapter;
Expand description

Adapter to create [RegisterSignerMessage] from [Signer] instance.

+

Trait Implementations§

source§

impl ToMessageAdapter<(Epoch, Signer), RegisterSignerMessage> for ToRegisterSignerMessageAdapter

source§

fn adapt((epoch, signer): (Epoch, Signer)) -> RegisterSignerMessage

Method to trigger the conversion.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Any for Twhere T: Any,

§

fn into_any(self: Box<T, Global>) -> Box<dyn Any, Global>

§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

§

fn type_name(&self) -> &'static str

§

impl<T> AnySync for Twhere diff --git a/rust-doc/mithril_signer/trait.AggregatorClient.html b/rust-doc/mithril_signer/trait.AggregatorClient.html index 275c916d9ba..ece88af2d08 100644 --- a/rust-doc/mithril_signer/trait.AggregatorClient.html +++ b/rust-doc/mithril_signer/trait.AggregatorClient.html @@ -2,26 +2,26 @@ // Required methods fn retrieve_epoch_settings<'life0, 'async_trait>( &'life0 self - ) -> Pin<Box<dyn Future<Output = Result<Option<EpochSettings>, AggregatorClientError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<Option<EpochSettings>, AggregatorClientError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn retrieve_pending_certificate<'life0, 'async_trait>( &'life0 self - ) -> Pin<Box<dyn Future<Output = Result<Option<CertificatePending>, AggregatorClientError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<Option<CertificatePending>, AggregatorClientError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn register_signer<'life0, 'life1, 'async_trait>( &'life0 self, - epoch: Epoch, - signer: &'life1 Signer + epoch: Epoch, + signer: &'life1 Signer ) -> Pin<Box<dyn Future<Output = Result<(), AggregatorClientError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn register_signatures<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - signed_entity_type: &'life1 SignedEntityType, - signatures: &'life2 SingleSignatures + signed_entity_type: &'life1 SignedEntityType, + signatures: &'life2 SingleSignatures ) -> Pin<Box<dyn Future<Output = Result<(), AggregatorClientError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, @@ -30,26 +30,26 @@ }
Expand description

Trait for mocking and testing a AggregatorClient

Required Methods§

source

fn retrieve_epoch_settings<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<Option<EpochSettings>, AggregatorClientError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Option<EpochSettings>, AggregatorClientError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Retrieves epoch settings from the aggregator

source

fn retrieve_pending_certificate<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<Option<CertificatePending>, AggregatorClientError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Option<CertificatePending>, AggregatorClientError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Retrieves a pending certificate from the aggregator

source

fn register_signer<'life0, 'life1, 'async_trait>( &'life0 self, - epoch: Epoch, - signer: &'life1 Signer + epoch: Epoch, + signer: &'life1 Signer ) -> Pin<Box<dyn Future<Output = Result<(), AggregatorClientError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Registers signer with the aggregator.

source

fn register_signatures<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - signed_entity_type: &'life1 SignedEntityType, - signatures: &'life2 SingleSignatures + signed_entity_type: &'life1 SignedEntityType, + signatures: &'life2 SingleSignatures ) -> Pin<Box<dyn Future<Output = Result<(), AggregatorClientError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, diff --git a/rust-doc/mithril_signer/trait.ProtocolInitializerStorer.html b/rust-doc/mithril_signer/trait.ProtocolInitializerStorer.html index 283ff8e0223..fdf268e43e6 100644 --- a/rust-doc/mithril_signer/trait.ProtocolInitializerStorer.html +++ b/rust-doc/mithril_signer/trait.ProtocolInitializerStorer.html @@ -2,42 +2,42 @@ // Required methods fn save_protocol_initializer<'life0, 'async_trait>( &'life0 self, - epoch: Epoch, - protocol_initializer: ProtocolInitializer - ) -> Pin<Box<dyn Future<Output = Result<Option<ProtocolInitializer>, StoreError>> + Send + 'async_trait>> + epoch: Epoch, + protocol_initializer: ProtocolInitializer + ) -> Pin<Box<dyn Future<Output = Result<Option<ProtocolInitializer>, StoreError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_protocol_initializer<'life0, 'async_trait>( &'life0 self, - epoch: Epoch - ) -> Pin<Box<dyn Future<Output = Result<Option<ProtocolInitializer>, StoreError>> + Send + 'async_trait>> + epoch: Epoch + ) -> Pin<Box<dyn Future<Output = Result<Option<ProtocolInitializer>, StoreError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_last_protocol_initializer<'life0, 'async_trait>( &'life0 self, last: usize - ) -> Pin<Box<dyn Future<Output = Result<Vec<(Epoch, ProtocolInitializer)>, StoreError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<Vec<(Epoch, ProtocolInitializer)>, StoreError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; }
Expand description

Store the ProtocolInitializer used for each Epoch. This is useful because protocol parameters and stake distribution change over time.

Required Methods§

source

fn save_protocol_initializer<'life0, 'async_trait>( &'life0 self, - epoch: Epoch, - protocol_initializer: ProtocolInitializer -) -> Pin<Box<dyn Future<Output = Result<Option<ProtocolInitializer>, StoreError>> + Send + 'async_trait>>where + epoch: Epoch, + protocol_initializer: ProtocolInitializer +) -> Pin<Box<dyn Future<Output = Result<Option<ProtocolInitializer>, StoreError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Save a protocol initializer for the given Epoch.

source

fn get_protocol_initializer<'life0, 'async_trait>( &'life0 self, - epoch: Epoch -) -> Pin<Box<dyn Future<Output = Result<Option<ProtocolInitializer>, StoreError>> + Send + 'async_trait>>where + epoch: Epoch +) -> Pin<Box<dyn Future<Output = Result<Option<ProtocolInitializer>, StoreError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Fetch a protocol initializer if any saved for the given Epoch.

source

fn get_last_protocol_initializer<'life0, 'async_trait>( &'life0 self, last: usize -) -> Pin<Box<dyn Future<Output = Result<Vec<(Epoch, ProtocolInitializer)>, StoreError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Vec<(Epoch, ProtocolInitializer)>, StoreError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Return the list of the N last saved protocol initializers if any.

Implementors§

\ No newline at end of file diff --git a/rust-doc/mithril_signer/trait.Runner.html b/rust-doc/mithril_signer/trait.Runner.html index da9afa211a8..6bdb8649c91 100644 --- a/rust-doc/mithril_signer/trait.Runner.html +++ b/rust-doc/mithril_signer/trait.Runner.html @@ -2,158 +2,158 @@ // Required methods fn get_epoch_settings<'life0, 'async_trait>( &'life0 self - ) -> Pin<Box<dyn Future<Output = StdResult<Option<EpochSettings>>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = StdResult<Option<EpochSettings>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_pending_certificate<'life0, 'async_trait>( &'life0 self - ) -> Pin<Box<dyn Future<Output = StdResult<Option<CertificatePending>>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = StdResult<Option<CertificatePending>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_current_beacon<'life0, 'async_trait>( &'life0 self - ) -> Pin<Box<dyn Future<Output = StdResult<Beacon>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = StdResult<Beacon>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn register_signer_to_aggregator<'life0, 'life1, 'async_trait>( &'life0 self, - epoch: Epoch, - protocol_parameters: &'life1 ProtocolParameters - ) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>> + epoch: Epoch, + protocol_parameters: &'life1 ProtocolParameters + ) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn update_stake_distribution<'life0, 'async_trait>( &'life0 self, - epoch: Epoch - ) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>> + epoch: Epoch + ) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn can_i_sign<'life0, 'life1, 'async_trait>( &'life0 self, - pending_certificate: &'life1 CertificatePending - ) -> Pin<Box<dyn Future<Output = StdResult<bool>> + Send + 'async_trait>> + pending_certificate: &'life1 CertificatePending + ) -> Pin<Box<dyn Future<Output = StdResult<bool>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn associate_signers_with_stake<'life0, 'life1, 'async_trait>( &'life0 self, - epoch: Epoch, - signers: &'life1 [Signer] - ) -> Pin<Box<dyn Future<Output = StdResult<Vec<SignerWithStake>>> + Send + 'async_trait>> + epoch: Epoch, + signers: &'life1 [Signer] + ) -> Pin<Box<dyn Future<Output = StdResult<Vec<SignerWithStake>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn compute_message<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - signed_entity_type: &'life1 SignedEntityType, - next_signers: &'life2 [SignerWithStake] - ) -> Pin<Box<dyn Future<Output = StdResult<ProtocolMessage>> + Send + 'async_trait>> + signed_entity_type: &'life1 SignedEntityType, + next_signers: &'life2 [SignerWithStake] + ) -> Pin<Box<dyn Future<Output = StdResult<ProtocolMessage>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait; fn compute_single_signature<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - epoch: Epoch, - message: &'life1 ProtocolMessage, - signers: &'life2 [SignerWithStake] - ) -> Pin<Box<dyn Future<Output = StdResult<Option<SingleSignatures>>> + Send + 'async_trait>> + epoch: Epoch, + message: &'life1 ProtocolMessage, + signers: &'life2 [SignerWithStake] + ) -> Pin<Box<dyn Future<Output = StdResult<Option<SingleSignatures>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait; fn send_single_signature<'life0, 'life1, 'async_trait>( &'life0 self, - signed_entity_type: &'life1 SignedEntityType, - maybe_signature: Option<SingleSignatures> - ) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>> + signed_entity_type: &'life1 SignedEntityType, + maybe_signature: Option<SingleSignatures> + ) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn update_era_checker<'life0, 'async_trait>( &'life0 self, - epoch: Epoch - ) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>> + epoch: Epoch + ) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; }
Expand description

This trait is mainly intended for mocking.

Required Methods§

source

fn get_epoch_settings<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = StdResult<Option<EpochSettings>>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = StdResult<Option<EpochSettings>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Fetch the current epoch settings if any.

source

fn get_pending_certificate<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = StdResult<Option<CertificatePending>>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = StdResult<Option<CertificatePending>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Fetch the current pending certificate if any.

source

fn get_current_beacon<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = StdResult<Beacon>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = StdResult<Beacon>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Fetch the current beacon from the Cardano node.

source

fn register_signer_to_aggregator<'life0, 'life1, 'async_trait>( &'life0 self, - epoch: Epoch, - protocol_parameters: &'life1 ProtocolParameters -) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>where + epoch: Epoch, + protocol_parameters: &'life1 ProtocolParameters +) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Register the signer verification key to the aggregator.

source

fn update_stake_distribution<'life0, 'async_trait>( &'life0 self, - epoch: Epoch -) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>where + epoch: Epoch +) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Read the stake distribution and store it.

source

fn can_i_sign<'life0, 'life1, 'async_trait>( &'life0 self, - pending_certificate: &'life1 CertificatePending -) -> Pin<Box<dyn Future<Output = StdResult<bool>> + Send + 'async_trait>>where + pending_certificate: &'life1 CertificatePending +) -> Pin<Box<dyn Future<Output = StdResult<bool>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Check if all prerequisites for signing are met.

source

fn associate_signers_with_stake<'life0, 'life1, 'async_trait>( &'life0 self, - epoch: Epoch, - signers: &'life1 [Signer] -) -> Pin<Box<dyn Future<Output = StdResult<Vec<SignerWithStake>>> + Send + 'async_trait>>where + epoch: Epoch, + signers: &'life1 [Signer] +) -> Pin<Box<dyn Future<Output = StdResult<Vec<SignerWithStake>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

From a list of signers, associate them with the stake read on the Cardano node.

source

fn compute_message<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - signed_entity_type: &'life1 SignedEntityType, - next_signers: &'life2 [SignerWithStake] -) -> Pin<Box<dyn Future<Output = StdResult<ProtocolMessage>> + Send + 'async_trait>>where + signed_entity_type: &'life1 SignedEntityType, + next_signers: &'life2 [SignerWithStake] +) -> Pin<Box<dyn Future<Output = StdResult<ProtocolMessage>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Create the message to be signed with the single signature.

source

fn compute_single_signature<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - epoch: Epoch, - message: &'life1 ProtocolMessage, - signers: &'life2 [SignerWithStake] -) -> Pin<Box<dyn Future<Output = StdResult<Option<SingleSignatures>>> + Send + 'async_trait>>where + epoch: Epoch, + message: &'life1 ProtocolMessage, + signers: &'life2 [SignerWithStake] +) -> Pin<Box<dyn Future<Output = StdResult<Option<SingleSignatures>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Create the single signature.

source

fn send_single_signature<'life0, 'life1, 'async_trait>( &'life0 self, - signed_entity_type: &'life1 SignedEntityType, - maybe_signature: Option<SingleSignatures> -) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>where + signed_entity_type: &'life1 SignedEntityType, + maybe_signature: Option<SingleSignatures> +) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Send the single signature to the aggregator in order to be aggregated.

source

fn update_era_checker<'life0, 'async_trait>( &'life0 self, - epoch: Epoch -) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>where + epoch: Epoch +) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Read the current era and update the EraChecker.

Implementors§

\ No newline at end of file diff --git a/rust-doc/mithril_signer/trait.ServiceBuilder.html b/rust-doc/mithril_signer/trait.ServiceBuilder.html index 8092e237641..bd7419ec1c5 100644 --- a/rust-doc/mithril_signer/trait.ServiceBuilder.html +++ b/rust-doc/mithril_signer/trait.ServiceBuilder.html @@ -2,14 +2,14 @@ // Required method fn build<'life0, 'async_trait>( &'life0 self - ) -> Pin<Box<dyn Future<Output = StdResult<SignerServices>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = StdResult<SignerServices>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; }
Expand description

The ServiceBuilder is intended to manage Services instance creation. The goal of this is to put all this code out of the way of business code.

Required Methods§

source

fn build<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = StdResult<SignerServices>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = StdResult<SignerServices>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Create a SignerService instance.

Implementors§

\ No newline at end of file diff --git a/rust-doc/mithril_signer/trait.SingleSigner.html b/rust-doc/mithril_signer/trait.SingleSigner.html index ca04bed44e1..a3874614ab5 100644 --- a/rust-doc/mithril_signer/trait.SingleSigner.html +++ b/rust-doc/mithril_signer/trait.SingleSigner.html @@ -2,27 +2,27 @@ // Required methods fn compute_single_signatures( &self, - protocol_message: &ProtocolMessage, - signers_with_stake: &[SignerWithStake], - protocol_initializer: &ProtocolInitializer - ) -> StdResult<Option<SingleSignatures>>; + protocol_message: &ProtocolMessage, + signers_with_stake: &[SignerWithStake], + protocol_initializer: &ProtocolInitializer + ) -> StdResult<Option<SingleSignatures>>; fn compute_aggregate_verification_key( &self, - signers_with_stake: &[SignerWithStake], - protocol_initializer: &ProtocolInitializer - ) -> StdResult<Option<String>>; - fn get_party_id(&self) -> PartyId; + signers_with_stake: &[SignerWithStake], + protocol_initializer: &ProtocolInitializer + ) -> StdResult<Option<String>>; + fn get_party_id(&self) -> PartyId; }
Expand description

The SingleSigner is the structure responsible of issuing SingleSignatures.

Required Methods§

source

fn compute_single_signatures( &self, - protocol_message: &ProtocolMessage, - signers_with_stake: &[SignerWithStake], - protocol_initializer: &ProtocolInitializer -) -> StdResult<Option<SingleSignatures>>

Computes single signatures

+ protocol_message: &ProtocolMessage, + signers_with_stake: &[SignerWithStake], + protocol_initializer: &ProtocolInitializer +) -> StdResult<Option<SingleSignatures>>

Computes single signatures

source

fn compute_aggregate_verification_key( &self, - signers_with_stake: &[SignerWithStake], - protocol_initializer: &ProtocolInitializer -) -> StdResult<Option<String>>

Compute aggregate verification key from stake distribution

-
source

fn get_party_id(&self) -> PartyId

Get party id

+ signers_with_stake: &[SignerWithStake], + protocol_initializer: &ProtocolInitializer +) -> StdResult<Option<String>>

Compute aggregate verification key from stake distribution

+
source

fn get_party_id(&self) -> PartyId

Get party id

Implementors§

source§

impl SingleSigner for MithrilSingleSigner

\ No newline at end of file