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,277 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

axic
axic commented Jun 28, 2022

Whiskers' regex looks for <..> as opposed to tokenizing the input, so it is not able to detect truncated/mistyped input.

For example it can't detect that <!b is not terminated in<?b> X <!b Y </b>.

With some heuristics it could be improved: match for <?, <! and </ and only allow identifiers which are terminated with >, otherwise it is invalid.

_Originally posted by @axic in h

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