Page MenuHomePhabricator

[alias-server] Get block height in handleBlockConnected
ClosedPublic

Authored by bytesofman on Apr 8 2023, 13:38.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC7322e1aa55af: [alias-server] Get block height in handleBlockConnected
Summary

T3060

Depends on D13630

Get tipHeight in handleBlockConnected function for later use in processing valid aliases

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien requested changes to this revision.Apr 9 2023, 08:49
Fabien added a subscriber: Fabien.
Fabien added inline comments.
apps/alias-server/test/websocketTests.js
80 ↗(On Diff #39429)

WTF ???

85 ↗(On Diff #39429)

Why do you declare a 550 lines mocked block when all you need is this ?

This revision now requires changes to proceed.Apr 9 2023, 08:49

Removing unused giant block mock

This revision is now accepted and ready to land.Apr 10 2023, 19:03