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,861 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 Good for newcomers
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 Good for newcomers
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 Existing (or partially existing) functionality needs to be changed help wanted good first issue area: downloads
Crypt-iQ
Crypt-iQ commented Jul 11, 2022

ioutil.WriteFile doesn't sync the data to disk, so any data written with this function can easily be lost. It's even possible that only partial writes happen. Issuing an Fsync is a better alternative. There aren't many call-sites that do this and I wasn't able to evaluate whether any of these were critical, but better to be safe than sorry.

beginner Issues suitable for new developers safety General label for issues/PRs related to the safety of using the software good first issue Issues suitable for first time contributors to LND
rippled
ximinez
ximinez commented Dec 8, 2021

Issue Description

The instructions provided on failed jobs (example) don't clearly explain where to find the generated patch file. This can be a problem for anyone who is not familiar with how Github Actions pages are organized.

The general idea is:

From the details page, click on "Summary", then scroll down to the "Artifacts" secti

Good First Issue Great issue for a new contributor CI Continuous Integration Functionality Documentation README changes, code comments, etc.