Repository navigation
0.20.0
Synced to flipcash2-protobuf-api@733ea7f9,
picking up #147,
#148 and
#149 (docs only). community.v1
is new. activity.v1, chat.v1, intent.v1 and messaging.v1 moved.
This release adds the Community service, paid reaction boosts and a holdings summary on gated group
chats. Everything is additive. Two enums gained a case, appended at the end, so no existing value
moved. An exhaustive switch or when over either enum needs the new case before it compiles.
Added
community.v1.Community, a new service with one RPC,GetCommunity. It looks a community up by
mintand returnsCommunityMetadata(mint,name,leader, and up to 25
top_holder_chats), orNOT_FOUND.- Reaction boosts. A payer puts money behind a reaction they already hold on a group message:
intent.v1.ChatMetadata.reaction_boost(oneof field 5), aReactionBoostnaming the
message_idandemoji.- A boost that pays two people, the sender and the group's creator split 80/20, is an ocp
SendPublicMultiPayment, so it needsocp-client-protocol0.8.0 or later. A boost that pays
one person is aSendPublicPayment. messaging.v1.Reactor.boost_usd(field 4),EmojiReaction.boost_usd(field 6),
ReactionUpdate.boost_usd(field 8) andReactionUpdate.actor_boost_usd(field 9).ReactionUpdate.Action.BOOSTED = 3.RemoveReactionResponse.Result.CANNOT_REMOVE_BOOSTED = 3. A boosted reaction is permanent.activity.v1.BoostedReaction, set asboosted_reaction(field 3) on both
DirectlySentCryptoNotificationMetadataandReceivedCryptoNotificationMetadatawhen the
payment was a boost.
chat.v1.Metadata.holdings_summary(field 18), aHoldingsSummaryof the group members' holdings
of the currency the group is gated on (mint,quarks,holder_count,as_of). It is set only
for public groups gated on a single Flipcash-launched currency with enough holders. It is a
periodic snapshot, and no event announces a change.
Changed
- Reactor lists,
sample_reactorsandReactionSummary.reactionsnow sort boosted entries first,
byboost_usddescending, then fall back to the previous order. Nothing changed on the wire, but
a client that re-sorts byversionalone will disagree with the server. GetReactorsnow documents that a paging token the server no longer recognises, such as one
issued under the old order, is answered with the first page rather than an error. Don't keep
tokens across sessions.
Unchanged
Nothing was renumbered. No service, RPC, message, field or enum case was removed or changed type.