Skip to content

Add make install command to enable local builds for validators #2591

@Jotatavo

Description

@Jotatavo

Description

Some validators prefer to build binaries locally from source code rather than downloading pre-compiled binaries. This ensures transparency, allows code auditing, and follows security best practices for critical infrastructure.

Proposal

Add a make install command to the repository that allows validators to:

  1. Clone the repository
  2. Build binaries locally from source code
  3. Install the binaries on their servers

This would enable validators to:

  • Review the code before compiling
  • Build binaries in their own environments
  • Have full control over the build process
  • Meet security and compliance requirements

Benefits

  • Increases validator trust in the software
  • Aligns with open source best practices
  • Facilitates adoption by validators with strict policies about pre-compiled binaries
  • Enables source code auditing before installation

Technical Notes

The command should follow common conventions:

  • make install to build and install
  • Possibly include environment variables to customize install paths (e.g., PREFIX, DESTDIR)
  • Document build prerequisites in DEVELOPMENT.md or README.md

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions