Commit fe9754f 1 parent d61cb0b commit fe9754f Copy full SHA for fe9754f
File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1996,6 +1996,8 @@ impl Handler<GetMempool> for ChainManager {
1996
1996
let res = GetMempoolResult {
1997
1997
value_transfer : self . transactions_pool . vt_iter ( ) . map ( |t| t. hash ( ) ) . collect ( ) ,
1998
1998
data_request : self . transactions_pool . dr_iter ( ) . map ( |t| t. hash ( ) ) . collect ( ) ,
1999
+ stake : self . transactions_pool . st_iter ( ) . map ( |t| t. hash ( ) ) . collect ( ) ,
2000
+ unstake : self . transactions_pool . ut_iter ( ) . map ( |t| t. hash ( ) ) . collect ( ) ,
1999
2001
} ;
2000
2002
2001
2003
Ok ( res)
Original file line number Diff line number Diff line change @@ -625,6 +625,10 @@ pub struct GetMempoolResult {
625
625
pub value_transfer : Vec < Hash > ,
626
626
/// Pending data request transactions
627
627
pub data_request : Vec < Hash > ,
628
+ /// Pending stake transactions
629
+ pub stake : Vec < Hash > ,
630
+ /// Pending unstake transactions
631
+ pub unstake : Vec < Hash > ,
628
632
}
629
633
630
634
/// Try to mine a block: signal the ChainManager to check if it can produce a new block
You can’t perform that action at this time.
0 commit comments