-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from ensdomains/enhancement/dnssec-interface
enhancement/dnssec-interface
- Loading branch information
Showing
2 changed files
with
17 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
pragma solidity ^0.4.23; | ||
|
||
interface DNSSECInterface { | ||
|
||
event AlgorithmUpdated(uint8 id, address addr); | ||
event DigestUpdated(uint8 id, address addr); | ||
event NSEC3DigestUpdated(uint8 id, address addr); | ||
event RRSetUpdated(bytes name, bytes rrset); | ||
|
||
function submitRRSets(bytes memory data, bytes memory proof) public returns (bytes); | ||
function submitRRSet(bytes memory input, bytes memory sig, bytes memory proof) public returns(bytes memory rrs); | ||
function deleteRRSet(uint16 deleteType, bytes deleteName, bytes memory nsec, bytes memory sig, bytes memory proof) public; | ||
function rrdata(uint16 dnstype, bytes memory name) public view returns (uint32, uint64, bytes20); | ||
|
||
} |