Skip to content

Commit

Permalink
Remove HCS
Browse files Browse the repository at this point in the history
  • Loading branch information
mehcode committed Jan 3, 2020
1 parent cfddff3 commit 4dd5391
Show file tree
Hide file tree
Showing 39 changed files with 369 additions and 2,820 deletions.
45 changes: 0 additions & 45 deletions consensus_topic_id.go

This file was deleted.

281 changes: 102 additions & 179 deletions proto/BasicTypes.pb.go

Large diffs are not rendered by default.

15 changes: 0 additions & 15 deletions proto/BasicTypes.proto
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,6 @@ message TransactionID {
AccountID accountID = 2; //The Account ID that paid for this transaction
}

/* Unique identifier for a topic (used by the consensus service) */
message TopicID {
int64 shardNum = 1; // The shard number (nonnegative)
int64 realmNum = 2; // The realm number (nonnegative)
int64 topicNum = 3; // Unique topic identifier within a realm (nonnegative).
}

/* A Key can be a public key from one of the three supported systems (ed25519, RSA-3072, ECDSA with p384). Or, it can be the ID of a smart contract instance, which is authorized to act as if it had a key. If an account has an ed25519 key associated with it, then the corresponding private key must sign any transaction to transfer cryptocurrency out of it. And similarly for RSA and ECDSA.
*
* A Key can be a smart contract ID, which means that smart contract is to authorize operations as if it had signed with a key that it owned. The smart contract doesn't actually have a key, and doesn't actually sign a transaction. But it's as if a virtual transaction were created, and the smart contract signed it with a private key.
Expand Down Expand Up @@ -179,14 +172,6 @@ enum HederaFunctionality {
ContractAutoRenew = 34; // Contract Auto Renew
getVersion = 35; //Get Version
TransactionGetReceipt = 36; // Transaction Get Receipt

// New functionality in the HCS release below here

ConsensusCreateTopic = 50;
ConsensusUpdateTopic = 51;
ConsensusDeleteTopic = 52;
ConsensusGetTopicInfo = 53;
ConsensusSubmitMessage = 54;
}

/* The different components used for fee calculation */
Expand Down
151 changes: 0 additions & 151 deletions proto/ConsensusCreateTopic.pb.go

This file was deleted.

37 changes: 0 additions & 37 deletions proto/ConsensusCreateTopic.proto

This file was deleted.

81 changes: 0 additions & 81 deletions proto/ConsensusDeleteTopic.pb.go

This file was deleted.

13 changes: 0 additions & 13 deletions proto/ConsensusDeleteTopic.proto

This file was deleted.

Loading

0 comments on commit 4dd5391

Please sign in to comment.