Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

[PAN-2343] smart contract permission controller #1083

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[PAN-2343] docs
  • Loading branch information
Errorific committed Mar 11, 2019
commit a0c92ed3c3659ddc0b05d373967bd5c292e7ce28
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
import java.net.InetAddress;
import java.util.Optional;

/**
* Controller that can read from a smart contract that exposes the permissioning calls
* connectionAllowedIpv4(bytes32,bytes32,bytes4,uint16,bytes32,bytes32,bytes4,uint16)
* connectionAllowedIpv6(bytes32,bytes32,bytes16,uint16,bytes32,bytes32,bytes16,uint16)
*/
public class SmartContractPermissioningController implements NodePermissioningProvider {
private final Address contractAddress;
private final TransactionSimulator transactionSimulator;
Expand Down