Skip to content
#

Blockchain

blockchain logo

A blockchain is a digitized, decentralized ledger of transactions. Blockchains record a continuously growing list of records, called blocks, which are linked and secured using cryptography.

Here are 16,121 public repositories matching this topic...

sblackshear
sblackshear commented Nov 22, 2021

Consider the following error message reported by the Move compiler.

use MyPackage::MyCoin::{Self, MyCoin};
   │           ^^^^^^Unused 'use' of alias 'MyCoin'. Consider removing it

You get this message when the module has no calls to functions in MyCoin. The correct fix is removing the Self from the use declaration. But:

  • the error message mentions MyCoin, which might mak
benediamond
benediamond commented Nov 21, 2021

Original title: "unusual behavior with mapping within struct within library".

Description

When a library contains a struct type whose only member is a mapping, and a contract contains a public member of that struct type, then compilation fails with error Internal or recursive type is not allowed for public state variables.. But if you add a further field in the struct (of type `

fabric
haltman-at
haltman-at commented Nov 8, 2021

Issue

Vyper handles unmapped instructions differently from Solidity. In Solidity, unmapped instructions are given a file index of -1. When attempting to show the source for such an instruction, we instead just show 1: // No source code found..

However, in Vyper, such instructions are not given a file index of -1, but are given a start and length of 0. So when we show the source for t

lbry-sdk
C-Otto
C-Otto commented Nov 13, 2021

Background

If my node is asked to forward N sats to peer X via channel C, lnd is free to pick any other channel it might have to peer X. As far as I understand the code (switch.go:handlePacketForward), all channels to X (not just C) are checked for eligability, and a random eligable channel is then used for the actual forward.

As part of this eligability check (implemented in link.go:Che

rippled
ximinez
ximinez commented Jul 6, 2021

Issue Description

Per https://blog.ripplex.io/sunsetting-ripplex-io/, the ripplex.io site is being sunset. There are several references to it (and its predecessor xpring.io) in the rippled documentation that need to be updated.

As of 1.8.0-b3:

$ grep -ri -e xpring.io -e ripplex.io
RELEASENOTES.md:This release [significantly improves memory usage](https://blog.ripplex.io/how-ripples