- Asynchronous Byzantine agreement protocols (https://core.ac.uk/download/pdf/82523202.pdf)
- All You Need is DAG (https://arxiv.org/pdf/2102.08325.pdf)
- Narwhal and Tusk: A DAG-based Mempool and Efficient BFT Consensus (https://arxiv.org/pdf/2105.11827.pdf)
- Bullshark: DAG BFT Protocols Made Practical (https://arxiv.org/pdf/2201.05677.pdf)
- Bullshark: The Partially Synchronous Version (https://arxiv.org/pdf/2209.05633.pdf)
- Shoal: Improving DAG-BFT Latency And Robustness (https://arxiv.org/pdf/2306.03058.pdf)
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
import axios from "axios"; | |
import { cleanEnv, num, str } from "envalid"; | |
import { mnemonicToAccount } from 'viem/accounts'; | |
const env = cleanEnv(process.env, { | |
FID: num(), | |
MNEMONIC: str(), | |
NEYNAR_API_KEY: str(), | |
}); |
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
bash-3.2$ cat logs/client-0-0.log | |
2023-06-18T11:20:44.800795Z INFO narwhal_benchmark_client: Node address: http://127.0.0.1:3009/ | |
2023-06-18T11:20:44.800884Z INFO narwhal_benchmark_client: Transactions size: 512 B | |
2023-06-18T11:20:44.800898Z INFO narwhal_benchmark_client: Transactions rate: 12500 tx/s | |
2023-06-18T11:20:44.80091Z INFO narwhal_benchmark_client: Waiting for all nodes to be online... | |
2023-06-18T11:20:44.802183Z INFO narwhal_benchmark_client: Start sending transactions | |
2023-06-18T11:20:44.803702Z INFO narwhal_benchmark_client: Sending sample transaction 0 |
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
pragma ton-solidity ^0.57.1; | |
pragma AbiHeader expire; | |
pragma AbiHeader pubkey; | |
interface ISample { | |
function ping(address recipient) external; | |
function pong() external; | |
event Ping(address recipient); |
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
pragma ton-solidity >= 0.39.0; | |
pragma AbiHeader expire; | |
interface TIP3 { | |
function acceptBurn(uint128 _value) external; | |
function acceptTransfer(uint128 _value) external; | |
function acceptMint(uint128 _value) external; | |
} | |
interface TIP3TokenRoot { |
I hereby claim:
- I am pavlovdog on github.
- I am pavlovdog (https://keybase.io/pavlovdog) on keybase.
- I have a public key whose fingerprint is DD15 10FD 8FE5 5A65 B3FF 053D CA20 62A5 A9F0 D8CB
To claim this, I am signing this object:
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
from collections import defaultdict | |
number_nodes, number_edges = map(int, input().split()) | |
# Store input data | |
graph = {} | |
for i in range(number_edges): | |
edge_from, edge_to = map(int, input().split()) | |
graph[edge_from] = graph.get(edge_from, []) | |
graph[edge_from].append(edge_to) |
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
<span>{{ _('Stats') }}</span> | |
<span>$ _('Contact') $</span> |
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
class CustomFlask(Flask): | |
jinja_options = Flask.jinja_options.copy() | |
jinja_options.update(dict( | |
block_start_string='$$', | |
block_end_string='$$', | |
variable_start_string='$', | |
variable_end_string='$', | |
comment_start_string='$#', | |
comment_end_string='#$', | |
)) |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Vue</title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Raleway:400,300,600"> | |
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" /> | |
<link rel="stylesheet" type="text/css" href="http://getskeleton.com/dist/css/normalize.css"> | |
<link rel="stylesheet" type="text/css" href="http://getskeleton.com/dist/css/skeleton.css"> |
NewerOlder