The Wayback Machine - https://web.archive.org/web/20220704005653/https://github.com/topics/blockchain
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 20,231 public repositories matching this topic...

barwod
barwod commented Dec 22, 2021

System information

Geth
Version: 1.10.13-stable
Git Commit: 7a0c19f813e285516f4b525305fd73b625d2dec8
Architecture: amd64
Go Version: go1.17.3
Operating System: linux
GOPATH=
GOROOT=go

Expected behaviour

Close files that aren't in use / have a settable limit

Actual behaviour

Every database file it opens stays open for the duration of the sync

Steps to re

ZumZoom
ZumZoom commented Jun 24, 2022

When doing division and modulo operation with constant or immutable denominator it is possible to only do compile-time denominator check and skip runtime checks.

Consider following contracts:

pragma solidity 0.8.15;

uint256 constant _MODULE = 17;

contract C1 {
    function f(uint256 a) external pure returns(uint256) {
        return a % _MODULE;
    }
}

contract C2 
msmouse
msmouse commented Dec 7, 2021

The backup storage format being defined very simple and dumb, which is expected, there are a few bad cases people need to be careful with.

  1. on the backup side, two backup coordinators can run at the same time and write to the storage at the same time, creating duplicate, or even worse, conflicting (if the two coordinators read different chains) backups.
  2. on the "read" side, backup CLI tool
good first issue
fabric
Alex-duzhichao
Alex-duzhichao commented Nov 3, 2021

When deploying fabric in enterprise's intranet (without the ability to access internet), users maybe upload chaincode builder images and chaincode runtime images to a private docker registry which requires authentication when pulling images.
I think fabric can support this scenario by adding configuration in chaincode section of core.yaml, such as:

chaincode:
    registry:
        
good first issue
lbry-sdk
lyoshenka
lyoshenka commented Apr 20, 2021

Creating a new issue based on lbryio/lbry-sdk#877

  • Update ensure_directory_exists() to check that the directory is writable by the current process.
  • If it's not, return a useful error
  • Add tests to cover the case when
    • download directory does not exist
    • download dir exists but is not writable
    • dir exists an
type: improvement help wanted good first issue area: downloads
Crypt-iQ
Crypt-iQ commented Jun 27, 2022

The fuzz tests we have don't run on my machine anymore with go1.18. dvyukov/go-fuzz is basically deprecated at this point. We should upgrade to language-native testing.F even if it's not that great yet.

Basically the fuzz tests should stay the same, but the build step is changed:

  • remove make-level fuzz references
  • fuzz tests that don't need to import from other packages can live in
help wanted golang/build system good first issue fuzzing
rippled