Giter VIP home page Giter VIP logo

db3's People

Contributors

db3fans avatar dependabot[bot] avatar imbjdd avatar imotai avatar jingchen2222 avatar muraneth avatar omahs avatar pgrimaud avatar rock-lee-520 avatar widat avatar xiyangjun avatar xuman2019 avatar

Watchers

 avatar

db3's Issues

添加一个grpc接口支持查询文档的拥有者的地址

接口名称

grpc 接口名称GetDocOwnerAddress

接口的输入参数

文档id

返回参数

地址

处理逻辑

需要在存储节点上面查询出文档的拥有者地址信息,再通过grpc返回

实现代码上准守以下规则

  1. 接口需要放到db3_storage.proto里面,接口实现在storage_node_light_impl.rs中实现
  2. 你必需从db_store_v2.rs中的create_doc_ownership方法中理解文档与owner地址的对应关系,然后实现你需要的方法

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.