- exchange priority policies in peer introductions
- assign unique sequential IDs in the order the transactions were inved (per peer) receiving a getdata for a tx updates last-known-peer-received inv to all invs up to the one referenced
- include ID-last-received, last-known-peer-received in sparse block
- reference txes in sparse block by index in receiver's prioritiziation with peer's sent invs up to ID-last-received and sender's prior invs up to last-known-peer-received
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
[package] | |
name = "rust-async-qotd" | |
version = "0.1.0" | |
authors = ["Gökberk Yaltıraklı <[email protected]>"] | |
[dependencies] | |
tokio = { git = "https://github.com/tokio-rs/tokio" } | |
rand = "0.3" |
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
{ pkgs ? import <nixpkgs> {} }: | |
(pkgs.buildFHSUserEnv { | |
name = "esy-env"; | |
targetPkgs = pkgs: (with pkgs; | |
[ | |
# this set suffices to build esy 0.3.4 with esy 0.2.11 | |
# and also to build the hello-ocaml demo with esy 0.3.4 | |
nodejs-10_x | |
stdenv.cc |
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
stdenv.mkDerivation { | |
name = "rustc-local"; | |
buildInputs = [ | |
gcc gnumake python2 cmake curl git | |
# if enabled in config.toml | |
ninja | |
]; | |
} |
Classification of undefined behavior that is not demonstrably unreachable in production:
Classes of "technically undefined" behavior that a lot of software depends on, so the supported toolchain/platform combinations wouldn't be able to get away with breaking it.
Examples: Out-of-bounds pointer created, but not dereferenced
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
#!/bin/sh | |
# Distinguishes B0 from C0. Likely won't distinguish C0 from whatever comes next. | |
SD=$(od -An -tx1 -w24 /proc/device-tree/emmc2bus/dma-ranges | tr -d ' ') | |
if [ $SD = 00000000c0000000000000000000000040000000 ]; then echo B0; exit; fi | |
if [ $SD = 00000000000000000000000000000000fc000000 ]; then echo C0; exit; fi | |
echo '??' |