node: User smaller type to represent wire sizes
modified node/src/protocol/filter.rs
@@ -70,11 +70,10 @@ impl wire::Encode for Filter {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
|
|
|
|
|
modified node/src/protocol/wire.rs
@@ -13,6 +13,11 @@ use crate::hash::Digest;
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -147,7 +152,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -324,8 +329,8 @@ where
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|