From e73d9cb61b6b887db16e50b3113b2a5d272f4c0b Mon Sep 17 00:00:00 2001 From: Nia Weiss Date: Wed, 10 Mar 2021 14:25:38 -0500 Subject: [PATCH] fix a typo in the RBF spec --- rbf/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rbf/README.md b/rbf/README.md index 27af2f00c..4f6efa072 100644 --- a/rbf/README.md +++ b/rbf/README.md @@ -8,7 +8,7 @@ leafs of a b-tree. This allows the bitmap to be efficiently queried & updated. ## File Format The RBF file is divided into equal 8KB pages. Each page after the meta page -is numbered incrementally from 1 to 1^31. +is numbered incrementally from 1 to 2^31. Pages can be one of the following types: @@ -24,6 +24,8 @@ All integer values are little endian encoded. Every page type except the bitmap page contains the following header: + [4] page number + [4] flags (indicates the type of the page) ### Meta page