@@ -95,19 +95,19 @@ pub struct JoinstrInner<'a> {
9595
9696#[ derive( Debug , Clone , Serialize , Deserialize ) ]
9797pub struct State {
98- role : Role ,
99- pool_secret_key : String , /* nostr::Keys*/
100- relay : String ,
101- electrum : Option < ( String , u16 ) > ,
102- pool : Pool ,
103- input : Option < Coin > ,
104- output : Option < Address < NetworkUnchecked > > ,
105- network : bitcoin:: Network ,
106- final_tx : Option < bitcoin:: Transaction > ,
98+ pub role : Role ,
99+ pub pool_secret_key : String , /* nostr::Keys*/
100+ pub relay : String ,
101+ pub electrum : Option < ( String , u16 ) > ,
102+ pub pool : Pool ,
103+ pub input : Option < Coin > ,
104+ pub output : Option < Address < NetworkUnchecked > > ,
105+ pub network : bitcoin:: Network ,
106+ pub final_tx : Option < bitcoin:: Transaction > ,
107107 // requests history
108- peers : Vec < nostr:: PublicKey > ,
109- outputs : Vec < bitcoin:: Address < NetworkUnchecked > > ,
110- inputs : Vec < serde_json:: Value /* InputDataSigned*/ > ,
108+ pub peers : Vec < nostr:: PublicKey > ,
109+ pub outputs : Vec < bitcoin:: Address < NetworkUnchecked > > ,
110+ pub inputs : Vec < serde_json:: Value /* InputDataSigned*/ > ,
111111}
112112
113113impl Default for JoinstrInner < ' _ > {
0 commit comments