Skip to content

impr: Remove max for tip nodes - #1014

Open
speeddragon wants to merge 1 commit into
edgefrom
impr/route_max
Open

impr: Remove max for tip nodes#1014
speeddragon wants to merge 1 commit into
edgefrom
impr/route_max

Conversation

@speeddragon

Copy link
Copy Markdown
Collaborator

Arweave tip nodes should always contain tip information. The max should be removed to be unbounded.

Comment on lines +1597 to +1615
TipNodes =
[
#{
<<"id">> => <<"bounded">>,
<<"min">> => 172_800_000_000_000,
<<"max">> => 388_800_000_000_000
},
#{ <<"id">> => <<"tip">>, <<"min">> => 172_800_000_000_000 }
],
?assertMatch(
[#{ <<"id">> := <<"tip">> }],
choose(
2,
<<"Range">>,
#{ <<"route-by">> => 388_800_618_995_959 },
TipNodes,
Opts
)
),

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not relevant, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants