Proto commits in farcaster-project/farcaster-node

These 43 commits are when the Protocol Buffers files have changed:

Commit:7ecce1b
Author:Robert Hambrock
Committer:GitHub

Grpcd: Add GetBalance endpoint <p dir="auto">This should work the same as the get-balance cli call.</p>

The documentation is generated from this commit.

Commit:c0d7a5b
Author:TheCharlatan
Committer:TheCharlatan

Grpcd: Add GetBalance endpoint This should work the same as the get-balance cli call

Commit:2c168f5
Author:TheCharlatan

Grpcd: Include stats in node info response

Commit:9116501
Author:h4sh3d

Merge remote-tracking branch 'upstream/main' into dealInfoRefactor

Commit:5cbd5b2
Author:TheCharlatan
Committer:TheCharlatan

Deals: Add Revoked DealStatus upon revocation success Also expose it in the grpc daemon

Commit:7d8bb74
Author:TheCharlatan
Committer:TheCharlatan

Feature: Add and consume trade role and status in deal history When listing deals the deal status and trade role are now always shown. This data is also available through the grpc server.

Commit:115fc45
Author:TheCharlatan
Committer:TheCharlatan

Grpc: Add deal suffix to selector We need to keep the enum variant names distinct due to namespacing limitation. See this stackoverflow post as an explanation. https://stackoverflow.com/questions/68134072/different-enums-same-value-in-protobuf

Commit:6eb4370
Author:TheCharlatan
Committer:TheCharlatan

Deps: Update core to v0.6 This includes a massive rename of `Offer` into `Deal`. s/PublicOffer/Deal/ s/PublicOffer.Offer/Deal.Parameters/ Also, the swap id and the deal id now have the same underlying type, allowing us to track the entire lifetime of a swap from a made deal to a swap outcome.

Commit:3a65438
Author:h4sh3d
Committer:h4sh3d

Merge remote-tracking branch 'upstream/main' into grpcNetworkSelector

Commit:a56666b
Author:h4sh3d
Committer:GitHub

Merge pull request #817 from TheCharlatan/grpcOfferInfo Grpc: Added decoded OfferInfo field to returned offers

Commit:856d257
Author:TheCharlatan
Committer:TheCharlatan

Grpc: Add network selectors to data queries This allows the grpc server to filter the response contents by certain networks. When calling ListOffers, Checkpoints, FundingAddresses, and NeedsFunding the response is now filtered by the network.

Commit:0ce55d8
Author:TheCharlatan
Committer:TheCharlatan

Grpc: Added decoded OfferInfo field to returned offers This adds richer information to returned offers, allowing the user of the API to use offers directly without going through the OfferInfo endpoint.

Commit:78bc310
Author:TheCharlatan
Committer:TheCharlatan

Swapd: Implement state machine

Commit:b4a8188
Author:h4sh3d
Committer:GitHub

Merge pull request #803 from TheCharlatan/healthCheckArgs Grpc/Server: Add network args to health check

Commit:652e0f3
Author:TheCharlatan
Committer:TheCharlatan

Grpc/Server: Add network args to health check

Commit:29fa38a
Author:h4sh3d

Merge remote-tracking branch 'upstream/main' into staticBind

Commit:91e6222
Author:h4sh3d
Committer:GitHub

Merge pull request #764 from TheCharlatan/listFundingAddresses Cli: Implement endpoint for listing funding addresses

Commit:0497288
Author:TheCharlatan
Committer:h4sh3d

Cli: Add selector for checkpoint list Either prints all, or those checkpoints that are available for restore

Commit:56e3c61
Author:TheCharlatan
Committer:TheCharlatan

Grpc: Add list funding addresses

Commit:6dfa155
Author:TheCharlatan
Committer:TheCharlatan

Grpcd: Add health check

Commit:32eeb09
Author:TheCharlatan

Grpc: Support full progress fields

Commit:a93a295
Author:TheCharlatan

Merge remote-tracking branch 'upstream/main' into peerdConnectTreatmentRebase

Commit:d89862e
Author:h4sh3d

refactor: change default port to 7067 (FC), fix #189

Commit:39e2463
Author:TheCharlatan
Committer:TheCharlatan

Grpcd: Add support for richer SwapInfo

Commit:61f9f56
Author:h4sh3d
Committer:h4sh3d

Merge remote-tracking branch 'upstream/main' into staticBind

Commit:2f83e4c
Author:TheCharlatan

Merge remote-tracking branch 'upstream/main' into peerdConnectTreatmentRebase

Commit:7383f5d
Author:h4sh3d
Committer:GitHub

Merge pull request #778 from TheCharlatan/grpcListOffers Grpc: Support list offers endpoint

Commit:a154632
Author:TheCharlatan
Committer:TheCharlatan

Cli: send encoded funding info

Commit:2896409
Author:TheCharlatan
Committer:TheCharlatan

Grpc: Support list offers endpoint This allows the grpc endpoint to make use of the list offers and their status selector.

Commit:3152119
Author:TheCharlatan
Committer:TheCharlatan

Grpc: Add connect_swap endpoint

Commit:de7980a
Author:TheCharlatan
Committer:TheCharlatan

Trade State Machine: Log listen failed on make offer

Commit:265d03a
Author:TheCharlatan

Grpc: Add peer address and node id to offer info response

Commit:3cd0243
Author:TheCharlatan

Grpc: Add swap info and offer info endpoints

Commit:3137986
Author:TheCharlatan
Committer:TheCharlatan

Grpc: Add endpoint for taking an offer

Commit:a1b3494
Author:TheCharlatan
Committer:TheCharlatan

Grpc: Add endpoint for making an offer

Commit:dbeb9a1
Author:TheCharlatan
Committer:TheCharlatan

Grpc: Add endpoint for restoring a checkpoint

Commit:1efaab8
Author:TheCharlatan
Committer:TheCharlatan

Grpc: Add endpoints for read progress and for sweeping

Commit:175706f
Author:TheCharlatan
Committer:TheCharlatan

Grpc: Add endpoints for read progress and funding info

Commit:e55b073
Author:TheCharlatan
Committer:TheCharlatan

Grpc: Add endpoints for revoke offer and abort swap

Commit:e9fc373
Author:TheCharlatan
Committer:TheCharlatan

Grpc: Add peers and checkpoint entry endpoints to grpc

Commit:1a49fd8
Author:Sebastian Kung
Committer:TheCharlatan

Farcaster: Implement much of farcasterd's logic as state machines This commit re-writes the runtime of the farcaster daemon as a collection of deterministic finite automata. It defines traits and types for a state machine that consumes events and manipulates a runtime. The actual automata are documented and described in their respective implementations. Requests pertaining to offers and swaps are processed in the TradeStateMachine. It tracks the lifetime of a single offer and swap starting at either a make offer, take offer or a swap restore. All running trade state machines are held in a collection in the runtime. Similarly, syncer related requests are processed by the SyncerStateMachine and held in a separate collection in the runtime. A function pre-processes the requests by selecting the correct state machine and creating an event to process the request. A number of bugs were discovered and fixed in the process of this re-write. The syncer launching and tracking was still not properly done for swap restore and sweep requests. Some changes in the state were not executed in the right order or after the right request. This led to incorrect reporting of open offers, available services, running swaps, and incorrect handling of existing connections.

Commit:a37d37f
Author:TheCharlatan
Committer:TheCharlatan

GRPCD: A service daemon for a farcaster grpc api This completes the rough skeleton of a farcaster grpc service.

Commit:b52f933
Author:TheCharlatan
Committer:TheCharlatan

GRPCD: Implement NodeInfo request and response