View NoMevProxy.sol
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
// SPDX-License-Identifier: UNLICENSED | |
pragma solidity ^0.8.1; | |
/** | |
* @title NoMevProxy | |
* @dev Invokes a staticcall to an address from OFAC list to block MEV | |
*/ | |
contract NoMevProxy { | |
address immutable implementation; |
View bitcoin-cli-wrapper.sh
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
# bitcoin-cli wrapper for running c-lightning with a pruned Bitcoin node | |
# (EXPERIMENTAL). It forwards all requests to bitcoind. If a getblock request fails, | |
# blockstream.info is queried instead. If your prune setting is high enough (2 weeks | |
# = 2016?) using this wrapper SHOULDN'T have security implications because the | |
# important blocks are still queried through your own bitcoind. | |
# Tested with c-lightning 0.6.2. Set the --bitcoin-cli=PATH option in c-lightning to | |
# the path of this file to use it. | |
BCLI=bitcoin-cli | |
getblock() { |
View LICENSE.txt
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
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 Jed Schmidt <http://jed.is> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |