$bid = 'myblock';
$block = \Drupal\block_content\Entity\BlockContent::load($bid);
$render = \Drupal::entityTypeManager()->getViewBuilder('block_content')->view($block);
$block_manager = \Drupal::service('plugin.manager.block');
25/5/2020
Imagine a future where a user Alice has bitcoins and wants to send them with maximal privacy, so she creates a special kind of transaction. For anyone looking at the blockchain her transaction appears completely normal with her coins seemingly going from address A to address B. But in reality her coins end up in address Z which is entirely unconnected to either A or B.
Now imagine another user, Carol, who isn't too bothered by privacy and sends her bitcoin using a regular wallet which exists today. But because Carol's transaction looks exactly the same as Alice's, anybody analyzing the blockchain must now deal with the possibility that Carol's transaction actually sent her coins to a totally unconnected address. So Carol's privacy is improved even though she didn't change her behaviour, and perhaps had never even heard of this software.
v3.0.0 | v3.1.0 | v3.1.1 | master | |
---|---|---|---|---|
v3.0.0 | Y | |||
v3.1.0 | X | |||
v3.1.1 | X | |||
master | X | X | X | X |
$imageStyle = \Drupal::entityTypeManager()->getStorage('image_style'); | |
$styles = $imageStyle->loadMultiple(); | |
foreach ($styles as $style) { | |
$imageStyle->load($style->get('name'))->flush(); | |
} |
import React from 'react'; | |
const MIN_SCALE = 1; | |
const MAX_SCALE = 4; | |
const SETTLE_RANGE = 0.001; | |
const ADDITIONAL_LIMIT = 0.2; | |
const DOUBLE_TAP_THRESHOLD = 300; | |
const ANIMATION_SPEED = 0.04; | |
const RESET_ANIMATION_SPEED = 0.08; | |
const INITIAL_X = 0; |
import jenkins.* | |
import jenkins.model.* | |
import hudson.* | |
import hudson.model.* | |
nodes = Jenkins.getInstance().getGlobalNodeProperties() |
package main | |
import ( | |
"encoding/hex" | |
"fmt" | |
"github.com/btcsuite/btcd/btcec" | |
"github.com/btcsuite/btcd/chaincfg" | |
"github.com/btcsuite/btcd/txscript" | |
"github.com/btcsuite/btcd/wire" |
var http = require('http'); | |
function checkTxPresent(txId, txIndex, cb) { | |
var keytx = 'to' + txId + '_' + txIndex; | |
var str = ''; | |
var fileurl = "http://peercoinfindstakedata.divshot.io/json/" + keytx + '.json'; | |
var handleRes = function (res) { | |
var isOK = (res.statusCode == 200); | |
res.on('data', function (chunk) { |
package main | |
import ( | |
"crypto/ecdsa" | |
"crypto/elliptic" | |
"crypto/sha256" | |
"fmt" | |
"math/big" | |
) |