Giter VIP home page Giter VIP logo

21e8miner's People

Contributors

deanmlittle avatar synfonaut avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

21e8miner's Issues

Got this error while running the miner

<--- Last few GCs --->

[127:0x7fffc25cd140] 10197626 ms: Mark-sweep 1362.1 (1457.0) -> 1362.0 (1457.0) MB, 984.4 / 0.0 ms allocation failure GC in old space requested
[127:0x7fffc25cd140] 10198725 ms: Mark-sweep 1362.0 (1457.0) -> 1362.0 (1426.0) MB, 974.7 / 0.0 ms last resort GC in old space requested
[127:0x7fffc25cd140] 10199788 ms: Mark-sweep 1362.0 (1426.0) -> 1362.0 (1426.0) MB, 1062.5 / 0.0 ms last resort GC in old space requested

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0xaeade398fe1
2: checkState [/mnt/c/Users/Jacob Sitowski/21e8miner/node_modules/bsv/lib/util/preconditions.js:7] [bytecode=0x1d59699c61b9 offset=0](this=0x390961c04051 ,condition=0x3920d7216499 ,message=0x3920d721b9a1 )
3: sign [/mnt/c/Users/Jacob Sitowski/21e8miner/node_modules/bsv/lib/crypto/ecdsa.js:224] [bytecode=0x1d5...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
1: node::Abort() [node]
2: 0x7f911dbba011 [node]
3: v8::Utils::ReportOOMFailure(char const*, bool) [node]
4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]
5: v8::internal::Factory::NewByteArray(int, v8::internal::PretenureFlag) [node]
6: v8::internal::TranslationBuffer::CreateByteArray(v8::internal::Factory*) [node]
7: v8::internal::compiler::CodeGenerator::PopulateDeoptimizationData(v8::internal::Handlev8::internal::Code) [node] 8: v8::internal::compiler::CodeGenerator::FinalizeCode() [node]
9: v8::internal::compiler::PipelineImpl::FinalizeCode() [node]
10: v8::internal::compiler::PipelineCompilationJob::FinalizeJobImpl() [node]
11: v8::internal::CompilationJob::FinalizeJob() [node]
12: v8::internal::Compiler::FinalizeCompilationJob(v8::internal::CompilationJob*) [node]
13: v8::internal::OptimizingCompileDispatcher::InstallOptimizedFunctions() [node]
14: v8::internal::StackGuard::HandleInterrupts() [node]
15: v8::internal::Runtime_StackGuard(int, v8::internal::Object**, v8::internal::Isolate*) [node]
16: 0xec912e040bd
Aborted (core dumped)

Error when pushing mined magic numbers

{"error":"unexpected response code 500: Missing inputs"}

Solution

Change index.js:214 to

    const {data} = await axios.post('https://api.whatsonchain.com/v1/bsv/main/tx/raw', 
		{ 
			data: {
				txhex: newTX.uncheckedSerialize() 
			}
		},
		{
			headers: {
				"Content-Type": "application/json"
			  }
		}
	);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.