Move all full-node logic under a build tag

Abierto
#5,181 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 3 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
go

Línea de trabajo

Start by mapping where Bee’s full-node logic and existing build-tag configuration are defined; the issue names no files or tests. Check how browser, EFI, Android, and microcontroller targets are currently built, then identify the checks that depend on full-node behavior. Done means the optional build tag excludes the intended logic without breaking other targets or dependent checks.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Summary

It makes no sense to run a full node in a browser, inside a EFI module, Android or on a cheap microcontroller. In order to simplify the logic, decrease bundle size and improve perf, build tags could be utilized.

Motivation

Simplification of the architecture of Bee for low-end targets. Significant decrease of bundle size.

Implementation

A build tag that is enabled by default which can be turned off, which would exclude all full node logic from the compilation. A name could be -tag full-node

Drawbacks

Need to be careful not to affect other parts of the logic that might depend on full node checks

Lenguaje dominante
Go
Estrellas
1.5k
Forks
390
Merge medio
2 d 22 h
PR fusionados (30 d)
24

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ethersphere/bee

Todos los issues de ethersphere/bee

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.