DHPC
  • 👋Welcome to DHPC
  • 🎆DHPC Network
  • Product Guides
    • ⭕How to run a node
    • ⛏️How to run miners
  • Fundamentals
    • 🪄Providing data
    • 🏛️Reputation and Score
  • Specs
    • 🧍Users
    • 💿Data
    • ❓Requests
  • Integration
    • EVM
      • Dapp Integration
  • API
    • 📗DHPC API Guide
    • 📑API Reference
    • Build Node from source code
    • Build Miner from source code
Powered by GitBook
On this page
  1. Specs

Data

This model represents a record in the database containing information such as:

  • date added

  • date modified

  • network

  • address

  • event

  • score

  • owner

  • hit count

syntax = "proto3";
package dhpc.data;

option go_package = "github.com/DhpcChain/Dhpc/x/data/types";

message Data {
  string address = 1; 
  string owner = 2; 
  string network = 3; 
  uint64 dateAdded = 4; 
  uint64 dateUpdated = 5; 
  uint64 blockValidity = 6;
  string event = 7; 
  int32 score = 8; 
  uint64 hit = 9; 
  string hash = 10;

}
PreviousUsersNextRequests

Last updated 1 year ago

💿