@@ -911,23 +911,38 @@ mod tests {
911911 ext_from_hex ( "0022 ff4f00f805273c1b203bb5ebf8436bfde57b3be8c2f5e95d9491dbb181909679 3d00000000000000000000000000000000000000000000000000000000000000 0000 00000000000000000000000000000000000000000000000000000000000000210100000000000000000000000000000000000000000000000000000000000000 03000000000000000000000000000000" , & mut test) ;
912912 // client should now respond with funding_signed (CHECK 2: type 35 to peer 03000000)
913913
914+
915+
914916 // connect a block with one transaction of len 94
915917 ext_from_hex ( "0c005e" , & mut test) ;
916918 // the funding transaction
917919 ext_from_hex ( "020000000100000000000000000000000000000000000000000000000000000000000000000000000000ffffffff0150c3000000000000220020ae0000000000000000000000000000000000000000000000000000000000000000000000" , & mut test) ;
920+ ext_from_hex ( "00fd00fd" , & mut test) ; // Two feerate requests during block connection
918921 // connect a block with no transactions, one per line
919922 ext_from_hex ( "0c0000" , & mut test) ;
923+ ext_from_hex ( "00fd00fd" , & mut test) ; // Two feerate requests during block connection
920924 ext_from_hex ( "0c0000" , & mut test) ;
925+ ext_from_hex ( "00fd00fd" , & mut test) ; // Two feerate requests during block connection
921926 ext_from_hex ( "0c0000" , & mut test) ;
927+ ext_from_hex ( "00fd00fd" , & mut test) ; // Two feerate requests during block connection
922928 ext_from_hex ( "0c0000" , & mut test) ;
929+ ext_from_hex ( "00fd00fd" , & mut test) ; // Two feerate requests during block connection
923930 ext_from_hex ( "0c0000" , & mut test) ;
931+ ext_from_hex ( "00fd00fd" , & mut test) ; // Two feerate requests during block connection
924932 ext_from_hex ( "0c0000" , & mut test) ;
933+ ext_from_hex ( "00fd00fd" , & mut test) ; // Two feerate requests during block connection
925934 ext_from_hex ( "0c0000" , & mut test) ;
935+ ext_from_hex ( "00fd00fd" , & mut test) ; // Two feerate requests during block connection
926936 ext_from_hex ( "0c0000" , & mut test) ;
937+ ext_from_hex ( "00fd00fd" , & mut test) ; // Two feerate requests during block connection
927938 ext_from_hex ( "0c0000" , & mut test) ;
939+ ext_from_hex ( "00fd00fd" , & mut test) ; // Two feerate requests during block connection
928940 ext_from_hex ( "0c0000" , & mut test) ;
941+ ext_from_hex ( "00fd00fd" , & mut test) ; // Two feerate requests during block connection
929942 ext_from_hex ( "0c0000" , & mut test) ;
943+ ext_from_hex ( "00fd00fd" , & mut test) ; // Two feerate requests during block connection
930944 ext_from_hex ( "0c0000" , & mut test) ;
945+ ext_from_hex ( "00fd00fd" , & mut test) ; // Two feerate requests during block connection
931946 // by now client should have sent a channel_ready (CHECK 3: SendChannelReady to 03000000 for chan 3d000000)
932947
933948 // inbound read from peer id 0 of len 18
@@ -1297,21 +1312,28 @@ mod tests {
12971312 ext_from_hex ( "0c007d" , & mut test) ;
12981313 // the commitment transaction for channel 3f00000000000000000000000000000000000000000000000000000000000000
12991314 ext_from_hex ( "02000000013a000000000000000000000000000000000000000000000000000000000000000000000000000000800258020000000000002200204b0000000000000000000000000000000000000000000000000000000000000014c0000000000000160014280000000000000000000000000000000000000005000020" , & mut test) ;
1315+ ext_from_hex ( "00fd00fd" , & mut test) ; // Two feerate requests during block connection
13001316 //
13011317 // connect a block with one transaction of len 94
13021318 ext_from_hex ( "0c005e" , & mut test) ;
13031319 // the HTLC timeout transaction
13041320 ext_from_hex ( "0200000001730000000000000000000000000000000000000000000000000000000000000000000000000000000001a701000000000000220020b20000000000000000000000000000000000000000000000000000000000000000000000" , & mut test) ;
1321+ ext_from_hex ( "00fd00fd" , & mut test) ; // Two feerate requests during block connection
13051322 // connect a block with no transactions
13061323 ext_from_hex ( "0c0000" , & mut test) ;
1324+ ext_from_hex ( "00fd00fd" , & mut test) ; // Two feerate requests during block connection
13071325 // connect a block with no transactions
13081326 ext_from_hex ( "0c0000" , & mut test) ;
1327+ ext_from_hex ( "00fd00fd" , & mut test) ; // Two feerate requests during block connection
13091328 // connect a block with no transactions
13101329 ext_from_hex ( "0c0000" , & mut test) ;
1330+ ext_from_hex ( "00fd00fd" , & mut test) ; // Two feerate requests during block connection
13111331 // connect a block with no transactions
13121332 ext_from_hex ( "0c0000" , & mut test) ;
1333+ ext_from_hex ( "00fd00fd" , & mut test) ; // Two feerate requests during block connection
13131334 // connect a block with no transactions
13141335 ext_from_hex ( "0c0000" , & mut test) ;
1336+ ext_from_hex ( "00fd00fd" , & mut test) ; // Two feerate requests during block connection
13151337
13161338 // process the now-pending HTLC forward
13171339 ext_from_hex ( "07" , & mut test) ;
0 commit comments